NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Object Reference(class ref) to Operator Interface

I can generate the Object  reference to a H/W only once.

 

I use it in the Seq file.

 

I have to pass it to my operator Interface  for reading the Controls (Start Stop Halt )Buttons .

 

and after reading (Polling- Timeout Loop )  return it back to the Sequence file.

 

any suggestions.

 

 

0 Kudos
Message 1 of 2
(3,849 Views)

Communication between the OI and  your sequence file should be done using UIMessages. 

 

Here is a document on them: http://www.ni.com/white-paper/4532/en/  There is more out there in the google machine if you are hungry for it.

 

You can send the H/W reference as a variant or you can send the sequence context and then use get and set properties to manipulate data.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(3,839 Views)