LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string scroll down problem

I have develop a vi as attach. It basically update the string indicator with the number. But i have a problem. How can i enable my vi to scroll down automatically whenever the value has change so as to let the user see the newest updated value. Thanks
0 Kudos
Message 1 of 3
(2,590 Views)
Hi,
Actually I use LV6i so I couldn't open your VI. But as I understand you wnat to automatically scroll down your string indicator while adding characters. To do it you can use its property "Properties->Text->Scrol Position". This property returns the line of your string where the scroll bar is placed. So all you need to do is to change it to write mode and write there the number as big as you want. The exaple is attached.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 3
(2,590 Views)
Oleg's solution seems OK.

I have found in many cases that it is better to add the new entries to the begining of the string, this way the newest entry is always on top and you never need to scroll to see it. (Especially useful for continuous logging applications.)

I have modified your example to offer both possibilities. You pick!
Message 3 of 3
(2,590 Views)