NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Indicator in operator interface stays green through whole test

Hi folks,

 

I run into a problem during execution of a sequence using the shipped Full-Featured UI. I want the execution indicator to change its color upon any failure during testing, i.e.. if one step fails the color of the execution indicator should change its color so that the operator can see that something went wrong and react immediately without having to wait till the test finishes (duration > 60 days). At the moment the indicator stays green through out the whole test and only after report generation the indicator's color matches the test result.

 

Is this possible without making any adjustments to the shipped UI? Actually I assumed this to be the default behavior.

 

Thanks.

 

signpainter

0 Kudos
Message 1 of 4
(3,484 Views)

Do you want to abort the testing on failure? If so, you should change the station option to "Immediately goto cleanup on sequence failure" (checkbox at the bottom of the first tab in the dialog).

 

-Doug

0 Kudos
Message 2 of 4
(3,474 Views)

No, I want the testing to go on just like when nothing bad happened. But I want to notify the operator that possibly something went wrong earlier and let him decide if he aborts/pauses the test or waits until the test is finished.

 

"Ignoring" the error/failure I have implemented using the ProcessModelPostStepRuntimeError and SequenceFilePostStepRuntimeError callbacks and it works fine. Only thing is I want to notify the operator using the existing UIs (or with only slightly changes).

0 Kudos
Message 3 of 4
(3,471 Views)

I have seen no option to modify the color of this LED on purpose. It seems to be encapsulated in this element to simply check for execution state and as long this is "running", the color is green. Once the state goes to "stopped", the color changes depending to the overall result of the execution.

 

You can include an LED indicator in your custom UI to display UUT status information. In the callback for the UI message "UImsg_StartExecution", you can light the LED (e.g. green), but once you get a failed step (e.g. using SequenceFilePostStepFailure callback), send a new UI message (custom) to change the color of the LED.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(3,460 Views)