NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the lastest ProgressText

Hi,

 

I am often forced with a simple task. I like it to use the Progress Text bar so show some information.

It is easy fire a UI Message to update the text. But i have no idea how to save the old text before

fireing the new one. This is neccessary if you are using sequence librays which fires some messages

but at the end the parent one should be "re"fired.

 

Regards

 

Juergen

 

 

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

Hi Juergen,

 

Now I have no idea if this is possible, but maybe you could use the StatusBarPane.Caption to return back what's currently showing. You would have to use the StatusBarPanes to get a reference to the correct StatusBarPane.

 

 

Regards
Ray Farmer
Message 2 of 5
(3,534 Views)

Hi Ray,

 

Thanks for your answer,

Good to know that there is hole control to manage this. I think it could run if i am using latest Editor and OI.

But my "good old" operator interface is from TS 2.0 times. And there is no ApplicationManager object

which i could access to get a handle on the  StatusBarPanes.

 

Seems i have to make a new suggestion on TS Idea Exchange

 

Regards

 

Juergen

 

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

Juergen,

 

Ok rethink....

 

If you have a custom OI, maybe you could create a custom message which will store the text and then perform the post message from your custom message, or custom message could then return back what was previously sent.

 

 

Regards
Ray Farmer
0 Kudos
Message 4 of 5
(3,522 Views)

Hi Ray,

 

creating a custom message is not an option for me because i would like to have the feature in the Editor, too.

At the moment i am thinking of creating a sequencefile library where i fire all Progress-Text messages.

With in the sequencefile i am able to store all previous text and get them back on demand.

 

Regards

 

Juergen

 

 

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