NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass serial number to TestStand from operator interface to trigger test

In TestStand,we know(sequential model) PreUUT dialog is the start of the test.However,I have a operator interface in labview that I want to scan serial number on the OI and OI will pass the serial number to TestStand and then trigger the test.Of course,PreUUT will be rewrite to disable the dialog in the sequence file.

 

I have a idea that in PreUUT I have a step in looping quering a variable which will be set by Labview.But you know,before a teststand sequence run,I don't have the handle of SequenceContext from which I can set TestStand variable.

 

Any suggestions?Thanks.

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

You need to use a UI message.  It is the proper way to accomplish this.  You are on to something by doing it in the PreUUT.  Pass the sequence context to the UI through a UI Message and then in the event callback you can set a variable (Parameters.UUT.SerialNumber) to the value in the LV FP control.  Here are some documents-

 

About UI Messages:

http://www.ni.com/tutorial/4532/en/

 

Best Practices:

http://www.ni.com/white-paper/7560/en/

 

Look at the example- Sending Data from the TestStand User Interface to an Executing Sequence (LabVIEW)

 

http://www.ni.com/example/14284/en/#SendingDatafromtheTestStandUserInterfacetoanExecutingSequenceLab...

Hope this helps,

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(4,217 Views)

Any more Deom details ?

0 Kudos
Message 3 of 3
(3,468 Views)