LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Idea for status window

Hello,

I'm am finishing up a rather extensive test suite that executes over 10 minutes. I'm getting worried at the lack of status from the vi's, and that it might make the techs who use it nervous if they dont see something change.

My thought was to create a global string variable, and within all the sub-vi's append information text messages as certain times. The top level vi would have a loop with just a read of the global variable that would display it to the user.

Is this the most effective way to achieve the status updates, or does anyone have a alternative suggestions?

Regards
-Ted
0 Kudos
Message 1 of 2
(2,490 Views)
I had a similar type of problem and I used a control reference to a string indicator so the sub-VIs could send information directly to the indicator. It works well as long as your program is not processor-intensive. It saves on having a loop constantly checking a global variable.

I have included a VI that uses a reference to the front panel to append text to a multi-line string indicator. Give the VI a reference to the front panel and the string that you want to append.

    Rob
0 Kudos
Message 2 of 2
(2,488 Views)