NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

When Error occurs in PreUUT step, after cleanup, it is not going to Post UUT step to proceed to next unit

Despite having Dialog selected in the "Runtime Error" options in the execution panel in the "Station Options" it is not going to the PostUUT step. Also, I do not have "ignore" selected in the step option. I think I have everything set but don't understand why it is not going to the Post UUT step.
0 Kudos
Message 1 of 3
(3,100 Views)

Hi,

 

That's because once an error has been detected and you had told it to go to Cleanup then on return from PreUUT the next step to be executed will be a step in the Cleanup of that sequence. As PostUUT is in the Main it is not going to be invoked.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,095 Views)

Thanks Ray for your reply, I am a bit confused, if an error occurs, it will not automatically skip Main, then proceed to Post UUT, and then to the next UUT?? If I want it to, how would I do it? I have a camera that gets initialized in PreUUT loop and when this error occurs in PreUUT, and thus terminates, the camera resources are left hanging. I would prefer that for that UUT a error is reported, then it proceeds to the next UUT. Is that possible??

 

I'm a little iffy on the use of the cleanup step. Whether there is an error or not, the cleanup step is run right? and used for exception handling. I don'tquite follow using it for both.

 

Thanks,

 

Michael

0 Kudos
Message 3 of 3
(3,085 Views)