NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Sequence files variables

I am altering a simple Button Operator interface and am trying to acces to sequence file variables. How can i do this?
The Operator interface is in LabView and it is one that I downloaded of the NI website.
0 Kudos
Message 1 of 2
(2,957 Views)
Hi Andrew,

I have attached a modified simple button operator interface and an example sequencefile.
In the Open SequenceFile case statement I have disconnected the Directory Path control and connected the output of the File Dialog function VI. When the OI is running. Press the Select SequenceFile Button. Now the File Dialog will appear. Use this to select the directory you have placed the supplied example sequencefile in. When the Sequence File list dialog appears, select the sequence file.

In the TestStand - Simple UI Message Handler_ NoMenu.vi, I have added some code to obtain the UserMessageBase Event. Then I obtain the NumericData associated with the that Event and I send a Message on the Main Event Queue depending on the value of the NumericData.
This Event is generated from the SequenceFile by the step 'Send True to OI' and 'Send False to OI' by using the Call Thread.PostUIMessage.
In the Top level VI in the Main Event Loop I have added two case statements 'Set Boolean On' and Set Boolean Off'. These will execute when the two new Messages from the TestStand - Simple UI Message Handler_ NoMenu.vi are received by the Main Event Loop.

In the No Event, Default case statement. I have added some code that will set a boolean in the FileGlobals to True when the Boolean on the front panel is set.
I have added two steps to test for before and after.

I hope this helps.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,957 Views)