07-13-2010 02:25 AM
Hi,
I'm using a callback "sequencefilepoststep" in order to check the status of a set of bits.
In this callback i check if the status of the bits are TRUE or FALSE. If one or several of them is FALSE i'd like to the run the cleanup of my client sequencefile, and not the cleanup of my callback. How can i do this?
I could illustrate my need by the following algorithm:
sequencefilepoststep
if (Status ==FALSE)
{goto client sequencefile's cleanup}
else
{goto next client sequencefile's step}
Best regards,
Alexandre
07-13-2010 03:42 AM
Alexandre,
see attached file for an example.
The trick is to work with the call stack.
hope this helps,
Norbert
07-13-2010 04:24 AM
Thank you very much for your quick reply who solved my problem.
I have an other question.
Using ActiveX control i made a LabVIEW UI who allows me to search and select Teststand sequencefiles and then execute them.
From this UI i'd like to get sequences' status (passed or failed) in order to display it on my UI, but i don't know which ActiveX "invoke method" or "property node" i have to use.
Do know how i could perform that?
I have joined my VI.
Thank again for your answer.
Alexandre
07-13-2010 06:40 AM
Alexandre,
you should alter one of the UI examples installed with TestStand rather to inventing the wheel a second time.
Additionally, you should learn about UIMessages in order to know how to transfer data between UI and the Sequence Execution.
hope this helps,
Norbert