NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

UIMessage from Labview to Teststand

Solved!
Go to solution

Hello Community,

 

I made a post in the Labview section that happens to be for Teststand too.

I am confused about how to setup the ActiveX/COM Module.

 

Would you please visit that post and help if you can.

http://forums.ni.com/t5/LabVIEW/UIMessage-from-Labview-to-Teststand/m-p/3285436#M960082

 

Thank you

0 Kudos
Message 1 of 2
(3,384 Views)
Solution
Accepted by topic author MechUnit

I think the best way would be to set a variable in your code that handles the UI Message.  In the picture below, I set a random number to StationGlobals.DemoNumber.  You could do this with a string.  

 

Picture1.png

Just as a note, I try to avoid having the UI sending information to TestStand.  It is much more reliable to have TestStand handle this so that you don't have to account for different code executing if you're in the UI or in the TestStand environment.

 

Pulido Technologies LLC

Message 2 of 2
(3,375 Views)