pockey Posted January 12, 2007 Report Share Posted January 12, 2007 Hi, I use a shift register to show all the information in the String Indicator on front pane, however, I do not know how to make the string indicator scroll automatically when new information arrives. It's troublesome to press the vertical scrollbar to see the latest information. How to make the String Indicator act like a terminal? Someone says to set the cursor position, however, I do not know how to implement this. Anyone can help me? Quote Link to comment
LAVA 1.0 Content Posted January 12, 2007 Report Share Posted January 12, 2007 How to make the String Indicator act like a terminal? Someone says to set the cursor position, however, I do not know how to implement this. I didn't find either how to make it "terminal like", but if you simply add each new line at start and not at end is that ok for you ? This way you always see the latest line and you can scroll down to see old lines. Hopefully someone will come up with a better solution, which I would be interested to know Hope this helps (see VI attached in LV 8.20) Quote Link to comment
pockey Posted January 12, 2007 Author Report Share Posted January 12, 2007 Thanks for your idea! I've found the answer in NI forum: Make a property node for the string indicator, set to write, and set the property to "Scroll Position". Then just wire a very large number to it or get the length of your string (string length under string pallete), and wire that in. http://forums.ni.com/ni/board/message?boar...uireLogin=False More detailed information could be found from the above link! Here is my steps: Right click the String Indicator, choose "Create" -> Property->Text->Scroll Position, and then create a numerial constant with a very large number and connect to the property node created just now. That's OK! 1 Quote Link to comment
LAVA 1.0 Content Posted January 12, 2007 Report Share Posted January 12, 2007 How to make the String Indicator act like a terminal? Someone says to set the cursor position You create a property node for your string indicator on the block diagram, then set the Text.ScrollPos to a U32 Max (4294967295 - see picture) Quote Link to comment
Russell Wagner Posted December 29, 2023 Report Share Posted December 29, 2023 Or wire -1 to this property, which has the same effect. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.