07-25-2017 07:35 AM
Hi, everyone,
I have some cleanup procedures to be done in my sequences but I would not let them go if I'm debugging the relevant sequence. You know, sometimes we can keep the handles or resources open or connected especially with LabVIEW.
Is there a API to know TS' present Run Mode? Please forgive me use this TS term.
Thanks.
Solved! Go to Solution.
07-25-2017 08:36 AM
TestStand is no programming language. As a result, there is no "debug version" or "release version" of a sequence.
The option to break/step/resume for debugging purposes is a feature of the TestStand engine which applies to executions. The execution however does not know if it will break or not.
Breaking is a feature which requires user rights (debugging section).
You can, however, create your own terms for such requirements. Two options come in mind:
- Add a configuration file and appropriate modules to determine a "run mode"
- Use custom UI(s) and query the UI for the "run mode"
07-25-2017 08:39 PM
Norbert, Got it, thank you.