LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Text input

I have text box that is continuosly receiving serial data from an instrument.
As soon as data populate the screen they start dissapiering at the botom
of the text box. I have scroll bar so when I stop the VI, I can scrol to see
this data.
 I need to change this, so while the VI is running and data coming I need to see
newest data and have old data dissapiering at the top of the text box.
How to do this, what I need to change or add?
Regards,
Sead
0 Kudos
Message 1 of 4
(3,506 Views)
Did you try to search the forums?  I did a search on "text box scroll position".  http://forums.ni.com/ni/search?board_id=170&submitted=true&q=text+box+scroll+position
 
Here is one link that came up.
 
0 Kudos
Message 2 of 4
(3,499 Views)
Hi Sead,
use the Text.ScrollPos property of your string indicator and connect the string size to it.

Mike
0 Kudos
Message 3 of 4
(3,498 Views)
Thank you for sugestion.
I did it with Text Scroll position and it works. Only when I had value 0
I could not scroll back up when VI stop running so I changed the value to
very large number 10000. That did the trick. Now I have new data continuosly
on the screen and I can scroll back to se the old data when VI is stopped.
0 Kudos
Message 4 of 4
(3,479 Views)