LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to move visible line of text-box to end?

Solved!
Go to solution

Hello,

i am logging text to a string indicator.

In the example 1000 lines with numbers 0..999.

What can i do that the visible last line of the string-indicator is always the last line i added?

 

Thanks

 

box.jpg

0 Kudos
Message 1 of 6
(2,784 Views)

First off.... switch terminal and property node. Replace "value" read property node with a shift register. You waste tons of performance by the current implementation.

 

As updates are too fast for display, you should "autoscroll to end" after the loop. You can use the property "Scroll Position" in the Text-properties.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 6
(2,781 Views)

This was only an example to demonstrate my question.

How do i know the number of lines to use as input for property Text.ScollPosition?

Thanks

0 Kudos
Message 3 of 6
(2,766 Views)
Solution
Accepted by OnlyOne

Use a big number and you're done. "+Inf" might be fine…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 6
(2,763 Views)

You will want to give this thread a read through.

Darren's Weekly Nugget 06/28/2010


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 6
(2,751 Views)

An I32 "-1" works well tooSmiley Wink


"Should be" isn't "Is" -Jay
Message 6 of 6
(2,732 Views)