NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW user interface for testand sequence. How to pass a flag?

Hi,

 

I need to pass a flag (true/false button on UI) from LV UI to the testand sequence which that UI runs. Could you tell me how to do that?

 

Cheers.

0 Kudos
Message 1 of 6
(5,016 Views)
What "LV UI" are you refering to? 
0 Kudos
Message 2 of 6
(5,006 Views)

There is no general answer to this.

If you need the boolean value in your sequence execution, i suggest you to "store the event that the button was pressed" within a boolean value in the UI. When your sequences execution reaches the point where the information is needed, the sequence should send an UI Message in order to retrieve the current status of the boolean value. This is the recommended way for simple "data transfer".

If the button should do something asynchronously (like Terminate Execution), you should search for appropriate predefined messages in the TestStand Engine. Use a TestStand UI Button control and connect the button with the message (just as all the buttons in NI's UIs).

 

hope this helps,

Norbert 

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

Hi Norbert,

 

Thanks a lot for describing that simple transfer mechanism.

 

Could you send me a simple example of that please? How I can refer to that boolean button from TS?

 

I need to pass TRUE/FALSE status from UI at the beginning of the sequence. That button is a flag button only and it doesn't trigger any events, just control an application flow.

 

Thanks.

0 Kudos
Message 4 of 6
(4,978 Views)

See attached example

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 5 of 6
(4,976 Views)
Thanks everyone!
0 Kudos
Message 6 of 6
(4,802 Views)