02-11-2014 03:31 AM
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.
02-11-2014 08:04 AM
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,