hexagon logo

Assign variable, PCdmis or Inspect running?

Hello!

Fast question! Is it possible to assign a variable that will let us know if it is run by pcdmis directly or through inspect (be 0 if run by inspect for example and 1 if run through pcdmis)? Thanks in advance!
Parents
  • Do you exit PCDmis when switching between inspect and operator mode? So you have two shortcuts that runs each software? If so, just modify the shortcuts into a script that writes to a text file a 0 when running the inspect shortcut or 1 when running operator mode and have your programs read it and behave accordingly.
Reply
  • Do you exit PCDmis when switching between inspect and operator mode? So you have two shortcuts that runs each software? If so, just modify the shortcuts into a script that writes to a text file a 0 when running the inspect shortcut or 1 when running operator mode and have your programs read it and behave accordingly.
Children
No Data