NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I fill the comment and percent complete

Hi Steve,

I've been reading through your post and thought I would offer some input.  A good resource for using the TestStand API would be our User Interface (UI) source code.  If you would like a specific example for .NET, you could look into our C# UI.  If you would like the .NET equivalent of TS_EngineGetUIMessage, it would look something similar to this:

this.axApplicationMgr.GetEngine().GetUIMessage();

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Then if you want to obtain the string value it would look like this:


this.axApplicationMgr.GetEngine().GetUIMessage().toString();

I hope this helps!


Matt S
National Instruments
Applications Engineer
0 Kudos
Message 11 of 12
(1,459 Views)
Hi, Matt
 
Currently i would try this in CVI. And if this works it also run in .Net. My major problem is less time for this thead and on the other hand you have to do this asyncronusly!
I hope i am right the task is to fire from a CVI code modle an UI message to the UI, The UI process this message and fires back an UI-message to the CVI modle. This message
must be done asyncronously (like in WIN SDK the PostMessage and not SendMessage)!. Now you should be able to pool the UI-Message queue (if pooling enabled!) in the code module and find your specific message.
 
If there time on weekend i will try this stuff !
 
Greetings from the lake Constance, Germany
 
Juergen 
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 12 of 12
(1,444 Views)