NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to 'see' any UIMessage posted from any TestStand?

I have a CVI TestStand UI and a sequence with PostMessageUI for updating some indicators.

 

If it is up and running (but no sequence executing), but instead the sequence is run from the TestStand sequence editor I'd like to have the indicators updated - even though the sequence is executing on another TestStand process.

 

To summarize, what needs to be done to make my TestStand CVI UI capable of handling posted messages when they are posted from a different TestStand process?

 

Thanks!

 

Ronnie

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 1 of 5
(3,880 Views)

It's been since version 3.1 or 3.5 since I checked this out, but UIMessages only go to one OI, and that is the one that created the TestStand process, in your case the SeqEditor.

 

You might try an alternative messaging mechanism, for example ques can be shared between TestStand instances, or between TestStand and LabVIEW (or CVI I assume) processes. Check out the activeX library NI TestStand Synchronization, SyncManager. You'd have to enque in the SeqEditor process, and have a loop in the CVI OI to deque messages, or a loop in the TestStand (CVI) process that copied messages from the que and then created UIMsgs for the CVI OI. Just an idea.

 

cc

0 Kudos
Message 2 of 5
(3,871 Views)

Hi,

 

An other idea is using of Spy++, if you just want to "see" the messages that are fired from TS

http://msdn.microsoft.com/en-us/library/aa265988(VS.60).aspx

 

maybe this helps

 

Juergen

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 3 of 5
(3,860 Views)

Thanks for your comments guys. - to clarify - I want a general TestStand Operator Interface which can see and process custom UIMessages wherever they are sent from - i.e. any TestStand sequence execution on any TestStand application. I know in Windows, you can do a PostMessage from an app which can be general allowing any other app to pick it up if they want to.

I'll continue to think about it.

Thanks,

Ronnie

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 4 of 5
(3,845 Views)

omygawd - I gave looking for something to monitor these messages several years ago. This could come in handy for troubleshooting hard stuff, thanks!

cc

0 Kudos
Message 5 of 5
(3,844 Views)