NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving choise from enum to TestStand

Solved!
Go to solution

Hi!

 

I use Labview and TestStand and I have a question regarding this. I am trying to write a program where an operator can choose from 4 different tests to run from an enum. Depending on what test the operator chooses, TestStand should run a number of sequences. Primarily, I would like the layout to be like a message box that pops up on the screen with the enum.

 

Thanks!

 

/Nina

0 Kudos
Message 1 of 3
(3,369 Views)
Solution
Accepted by topic author sunds

What exactly do you need help with? The VI would not have much more than an event structure and you would have to pass the enum to an indicator wired to the connector pane. In the VI Properties>Window Appearance, set it to Dialog. Use the Start Modal and Stop Modal functions in the vI to make sure the dialog is on top.The sequence would have a LabVIEW action step that calls the VI and set to show front panel when called. Pass the enum back to a TestStand numeric variable. How to call a VI and get data back from a VI is explained in the "Using LabVIEW with TestStand" manual.

 

Message 2 of 3
(3,365 Views)
Perfect! Had trouble at first since the VI just flickered but after having looked up the ModalDialog example there was no problem. Thanks for your help!
0 Kudos
Message 3 of 3
(3,344 Views)