NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Display text from a DLL in an operator interface edit box

Within one test step in TestStand, how can I have a function in a dll update text in an edit box on the operator interface front panel?
0 Kudos
Message 1 of 2
(2,832 Views)
A common way to pass data to your operator interface from your code modules is to use a variable in your sequence context. You can pass an ActiveX reference to your code module, in this case your dll. Inside of your dll can place the information that you want to pass in a predefined variable. From your operator interface, you can use functions from the TestStand API to get a reference to proper variable that stores the information.
A second option is to use custom user interface messages. However, this option requires more set up.
Regards,
Diego Reyes
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,832 Views)