03-15-2007 09:51 AM
03-15-2007 09:59 AM
Several possibilities.
You can keep a buffer of the last X lines, see e.g. http://forums.ni.com/ni/board/message?board.id=170&message.id=233288#M233288
If data appears line-by-line, append the new lines on top instead of the bottom so newest is top. 😉
Set scroll position via property node.
...
To clear a text indicator, write an empty string to a local variable of it.
03-15-2007 10:09 AM
Hi - thanks for the quick response! I think using a property node would be the best option for me. Can you tell me if I'm doing this correctly? I added in a "property node" from programming -> application control. I then right clicked on the string indicator and clicked on "create reference". I then connected that to the property node. Problem is - when I click on "property" in the property node, I can't find a scroll position property. What am I doing wrong? If it matters, I am using LabVIEW 8.2.
Thanks!
-Mike
03-15-2007 10:15 AM
03-15-2007 10:16 AM
hi Mike,
A string indicator normally scrolls automatically, meaning to emphasize that it updates the most recent data from top to bottom.
See my att VI & pic to get a clearer idea of what I imply.
U've keep one thing in mind.
Only when U resize it so that it has >2 lines in visibility, then only the Rt Click -->> Visible Items -->> Scrollbar gets enabled, else the Scrollbar option is grayed out...
Hope U re cleared of Ur doubt !
03-15-2007 10:22 AM
@parthabe wrote:
A string indicator normally scrolls automatically, meaning to emphasize that it updates the most recent data from top to bottom.
03-15-2007 10:53 AM
hi Altenbach,
Thank you for making me clear.
I was thinking in terms of scroll-bar only, NOT text scroll position...
It was a blunder from my side.
But, to my disbelief, the scrollbar-visibility short-cut menu gets enabled only when I resize the text indicator to accepting >2 lines. Else, it is grayed out totally.
I'm using LV 7.1. Is it normal behaviour ?! Is it so in the later versions too... ?!
Pl, clarify me...
03-15-2007 12:12 PM
A-ha! That seems to work! Now one question though - it wants me to put in the line number that I want it to scroll to. How do I figure out how many lines my string is? (so that I know which line to have it scroll to)
Thanks!
-Mike
03-15-2007 04:16 PM
08-09-2014 12:45 AM
you can try this one,,,,,,,,,,,,,,,,