03-20-2012 04:43 PM
In my sequence file I launch a new execution. This new execution performs loops to check threshold and if reached then it closes the instruments. Meantime the sequence file is runing and performing measurement from the instrument.
The issue is that if the new execution closes the instrument and right after that sequence file tries to do a measurement then the instrument not initialized error shows up.
1. Thought of adding a precondition that measurement happens only when a flag (say InstrumentNotValid != True) . Is there a way to apply this flag to all steps without going into step setting of each step?
2. Are there any other suggestion on how to perform a clean close?
03-21-2012 06:25 PM
What instrument are you communicating with and when your new execution closes the instrument, do you want the original execution to stop or do something else?