Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6730

Exiting Batch Synchronisation Section in Cleanup

$
0
0

Hi,
I have a test sequence which uses Batch Synchronisation in the following way:
1. Entering Batch Serial Section
2. Enter Batch One Thread Only Section
3. Set Temperature
4. Exit Batch One Thread Only Section
5. Test
6. Exit Batch Serial Section

 

I also use SequenceFilePostStepRuntimeError callback in the way that when error occurs ProcessCleanup callback is executed.

 

Now I want to know how to properly exit batch synchronisation section eg when error occured in step 3 or in step 5. I tried to access those steps ResultStatus properties but without any success Smiley Sad (I mean they were always empty). I used: RunState.SequenceFile.GetSequenceByName("MainSequence").GetStepByUniqueId("ID#:wkly0AIqzUWmRLZ/hRtGVC" /* Enter One Thread Only (Low_Temp_Setup) */).ResultStatus

 

Capture.PNG

 

With status information I could create preconditions when to run which "exit steps".

 

Result recoding is disabled.

 

So what is the recommendation for emergency synchronisation exit strategy?


Viewing all articles
Browse latest Browse all 6730

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>