LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string append scroll up

Solved!
Go to solution

This is an example of a good old fashioned scrolling text box, the creation of which seems to give LabVIEW folks fits. It is pretty darn simple (yet completely obscure) as it turns out.

 

First I see people doing all sorts of things to append to a string indicator. Try the Invoke Node Append String. No shift registers, no concatenations, etc.

 

Now the second part of this is to make it look like a conventional scrolling windows text box (appending to bottom and scrolling up as you go). For this the use Property Node Text.ScrollPosition. Now there are a lot of ways you can use this property but if you are like me and want to set and forget wire a -1 (4294967295, FFFFFFFF, aka maxed out value) to it so by default it always scrolls to the last line. Be careful here if you ‘create’ a constant from the input node of the property it is a U32 so -1 is a bit difficult to enter (I32 type or enter a really Integer 4294967295, FFFFFFFF). Interesting enough the property help says to effectively wire a -1 to it.

 

Hope someone finds this useful

Message 11 of 11
(505 Views)