LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand Simple User Interface in LabVIEW

Solved!
Go to solution

Hello Community,

 

I am designing a user interface for Teststand by using the simple example vi provided. The name of the file is Top-Level VI.vi

 

I am trying to understand how the vi works inorder to make changes and ran into a few questions that I was hoping someone could answer for me please.

 

To start I add my sequence file and click "Test UUTs". Then a dialog box pops up asking to enter the serial number of the UUT, where and what causes that to happen in the code? After I enter my serial number it runs my sequence code and at the end another message box appears specifing in a green or red whether the UUT passed or failed. Where and what causes the Pass/Fail Boxes to happen in the code?

 

Thank you

Kevin

0 Kudos
Message 1 of 6
(2,908 Views)

The S/N dialog is part of the process model.

 

For the Sequential Model (SequentialModel.seq), the default S/N dialog in found in the 'PreUUT' sub-sequence and implemented as a DLL call.

 

The PreUUT sub-sequence of the SequentialModel is a callback, so you can override it in your own test sequence.

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 2 of 6
(2,889 Views)
Solution
Accepted by MechUnit

If you had posted this on the TestStand forum, you probably would of gotten some better responses.Smiley Very Happy

 

But in the meantime, you need to open up the SequentialModel.seq ( or whatever process model you are using ) and navigate to the Execution Entry Point sequence you are using.  In this case click on the Test UUTs, icon in the sequence list and follow the test flow.

 

In regards, to the banner that displays after running UUT test.  The Banner is implemented as a DLL in the PostUUT callback.  It is based on the status of the MainSequence callback result.  This is the result of the test you started via Test UUTs.

 

The best advice I can give you is to go through the process model sequence file and learn that, it is not an easy task, but worth the effort.

 

Thanks,

PH

 

 

Message 3 of 6
(2,868 Views)

Sorry, guess I forgot to state that I am using LabVIEW Smiley Embarassed. I posted the question under labVIEW, because I am looking at the LabVIEW code of the Interface. Need to know where in the code of the vi are the Banner and UUT S/N Displays.

 

The file should be located in the following directory unless you specified differently.

 

C:\Program Files (x86)\National Instruments\TestStand 2012\UserInterfaces\Simple\LabVIEW\TestExec.llb

Then select Top-Level VI.vi

 

Was looking at the Config Event CBacks subvi, but I am really unsure... where and what causes them to happen in the LabVIEW code?

0 Kudos
Message 4 of 6
(2,848 Views)
Before you write any LabVIEW code, you really need to understand the basics of TestStand. As already stated, everything you asked about is in the TestStand process model and has nothing at all to do with the operator interface no matter what language you write it in.
Message 5 of 6
(2,842 Views)

Thank you, I will do just that. Looks like I still have lots to learn. Smiley Surprised

0 Kudos
Message 6 of 6
(2,834 Views)