NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

goto cleanup

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

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

Alexandre,

 

see attached file for an example.

The trick is to work with the call stack.

 

hope this helps,

Norbert

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

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

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

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

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