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

How to unlock in case of runtime error

$
0
0

Hi,

 

I have a block of steps locked using two Lock synchronization steps in Lock and Early Unlock modes. If a step within the section errors out, and the operator selects go to cleanup, the the lock remains locked becasue the unlock step is skipped. What's a good way to handle this? If I put an unlock in Cleanup it will generate an error when the section has executed with no error and lock is already unlocked. There seems to be no way to check the lock/unlocked state of a lock.

 

The only thing I can think of is to only put unlock steps in Cleanup. 

 

cc


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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