ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Autoscroll Displaybox Indicator

Solved!
Go to solution


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. 

Rshah31_0-1760434322056.png

Thank you. 

0 Kudos
Message 1 of 7
(177 Views)

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(171 Views)

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




0 Kudos
Message 3 of 7
(163 Views)
Solution
Accepted by topic author Rshah31

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!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(159 Views)

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. 

0 Kudos
Message 5 of 7
(150 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(128 Views)

Hi,

 

If you wire a negative numeric value (-1) to the property (Text->Anzeigeposition), the scroll box scrolls to the last line of text.

Message 7 of 7
(61 Views)