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.


    Can be a solution yes, although the less scripting the better due to validation and CSV procedures of my company. What neil.challinor proposed is what I was looking for, really ingenious and indirect method to approach this problem Slight smile
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.


    Can be a solution yes, although the less scripting the better due to validation and CSV procedures of my company. What neil.challinor proposed is what I was looking for, really ingenious and indirect method to approach this problem Slight smile
Children
No Data