NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How could I pass data from OI (CVI) to TestStand Engine

I am modifying the teststand OI (CVI) that the User Interface include the serial number entry. I use UIMessage to notify OI to get user input, however I could not find a way to pass the serial number (pass as string) to TestStand Engine. please help.

thanks.
0 Kudos
Message 1 of 2
(3,071 Views)
Hello,

For your specific purposes, the best approach would be to modify the PreUUT callback sequence inside of the model, that has the code to display the serial number dialog. You could add your custom code inside of this callback to display your custom dialog, and then write the value back to Parameters.UUT.SerialNumber. Once you have populated this variable, you can then call PostUIMessageEx to post the value of the serial number dialog to the OI. Now you have the value inside of the model, as well as inside of the OI. Let me know if this helps.

Ryan R.
NI
0 Kudos
Message 2 of 2
(3,071 Views)