NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing messages to the Operator Interface

Hi,
 
I would like to write messages to the Operator Interface, full type (written in CVI).
For example, there is a big area on the interface called SEQUENCE_DESCRIPTION (from the UIR).
 
1) How can I write to this are (and to other places on the interface) from TestStand step?
2) Any examples deal with this issue?
 
REF:  TestStand 3.5 + CVI 8.01
 
Thanks
Rafi
0 Kudos
Message 1 of 4
(3,387 Views)

Hey Rafi,

It's all about UIMessages.  If you understand those then you are set for life.  🙂  

http://forums.ni.com/ni/board/message?board.id=330&message.id=16691#M16691

http://forums.ni.com/ni/board/message?board.id=330&message.id=16731#M16731

Hope this helps some,

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

thanks Jigg,

I'm still unable to do it. 

1. Is there a simple example of using UIMessage?

2. How do you suggest to get started on it? 

 

thanks

Rafi

0 Kudos
Message 3 of 4
(3,298 Views)
 
2. Study the links and example and understand how UIMessages work.  Once you understand how they work then it is pretty easy to code.  Basically a UIMessage is data that gets sent to one of the TestStand controls via the engine.  So in your sequence you say PostUIMessageEx and the engine takes that and spits it out to one of the TestStand ActiveX controls.  You can create an event in your code (User Interface) for the TS ActiveX controls that gets triggered every time you see a UIMessage Posted.  Then in that event you take the information that comes with the UIMessage and update your UI with it.  Hopefully the example will help get you started.  There is a doc file in there that explains exactly what it's doing.
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(3,283 Views)