09-12-2012 04:54 AM
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
09-12-2012 08:11 AM - edited 09-12-2012 08:12 AM
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
09-12-2012 08:17 AM - edited 09-12-2012 08:24 AM
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).
09-12-2012 10:19 AM
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