ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
10-14-2025 04:38 AM
Hello Experts,
I am using Display in Labview. All the commands are displayed in the Display line by line. I want to do vertical autoscroll so that I can check the newest line in the Display.
How can I do it? if you have any idea please let me know.
Thank you.
Solved! Go to Solution.
10-14-2025 04:45 AM
Hi Rshah,
@Rshah31 wrote:
I am using Display in Labview. All the commands are displayed in the Display line by line. I want to do vertical autoscroll so that I can check the newest line in the Display.
How can I do it? if you have any idea please let me know.
Which kind of "Display" do you use?
Generic advice: you can set the scrollposition in string indicators. Using a "very large number" (like I32_Max = 2^31-1) enforces scrolling to the end...
Other option: Display the "newest" entry in the first position...
10-14-2025 04:58 AM - edited 10-14-2025 05:02 AM
Please find attached VI
I would like to see last data. in my case, I would like to see the last data "Line 13, Line 14, Line 15"
Autoscroll up to max.200 lines. If it is greater than that, Clear old upper data and add new data.
I am new to LabVIEW, So, I it might be possible that I can not explain in the right way. Sorry for that
10-14-2025 05:03 AM - edited 10-14-2025 05:04 AM
Hi Rshah,
@Rshah31 wrote:
Please find below attached VI
Did you notice the signature line in each of my messages?
(I prefer LV2019.)
@Rshah31 wrote:
I would like to see last data. in my case, I would like to see the last data "Line 13, Line 14, Line 15"
As I wrote before: you can set the scrollposition using a property node!
10-14-2025 05:13 AM
Thank you for the reply. It Works.
One more question. How can I clear the display?
If I press to the clear button. all the display data should be removed.
10-14-2025 05:36 AM
Hi Rshah,
@Rshah31 wrote:
One more question. How can I clear the display?
THINK DATAFLOW: An indicator always shows the data wired to it.
So to clear an (string) indicator you need to wire an empty string to the indicator.
@Rshah31 wrote:
If I press to the clear button. all the display data should be removed.
Which button are you talking about.
There is no button in your image nor in mine!
See the sentence about THINK DATAFLOW in the previous paragraph…
10-16-2025 04:48 AM - edited 10-16-2025 04:49 AM
Hi,
If you wire a negative numeric value (-1) to the property (Text->Anzeigeposition), the scroll box scrolls to the last line of text.