NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a shown Labview VI alongside Teststand

Solved!
Go to solution
Hello Community,
 
Using Teststand 2014 32bit & Labview 2015 32bit.
I am trying to run a VI along side Teststand that I can update throughout the test procedure.
 
For example, I have a VI with a single 2D image control and a string indicator. The string indicator is for a barcode. The 2D image determines Pass or Fail. I have a sequence file that will call this VI in a new thread to be shown throughout the test procedure. When the user runs the sequence file, the person will be prompted with a popup to enter a barcode. Once the barcode is entered, I want my 2D image to appear on the VI signifying that a DUT is present. After the sequence test completes, I want to change the 2D image to green (pass) or red (fail).
 
I have a Main Labview GUI that calls my Teststand sequence files. Now I want to add this new VI thread called from that sequence file and receive updates? I am using UIMessages to update the Main Labview GUI, but what can I use to update the new VI being called in the sequence? I am trying this out as a simple example test, but it will later be used for a batch sequence to test 10 DUTs. Is this possible or should I merge this new VI thread into my Main Labview GUI?
 
Sorry if this all sounds confusing. Please let me know if you have any questions.
Download All
0 Kudos
Message 1 of 3
(3,334 Views)

I am trying the Get/Set Properties, but they do not seem to be working.

I want the VI indicator in the new thread that is running along side Teststand to update once a barcode is scanned.

Then at the end of the sequence, change the boolean to True to end the GUI.

Any help will be greatly appreciated. 

0 Kudos
Message 2 of 3
(3,307 Views)
Solution
Accepted by MechUnit

This sounds like it could be a good use case for Synchronization Objects. I'm attaching a basic example that uses a notifier to do something similar to what you've described. I wouldn't recommend handling serial numbers like this, but it gets the point across. You can also find a better example on notifiers here.

 

Hope this helps!

Trent

 

Edit: Attached code

https://www.linkedin.com/in/trentweaver
Message 3 of 3
(3,289 Views)