LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrap in to string Indicator

Solved!
Go to solution
Solution
Accepted by topic author Alwin_Capsys

Very much thank you for the reply. And this is what I wanted. Thanks a lot.

Alwin_Capsys_0-1666776258563.png

 

0 Kudos
Message 11 of 22
(1,694 Views)

Hi, sorry for the inconvenience caused. I thought that single image itself will be enough to explain my requirement. But anyhow, your answer is also working fine. Thank you all for the wonderful support.

Alwin_Capsys_0-1666776726458.png

 

0 Kudos
Message 12 of 22
(1,687 Views)

In addition to that, Is there any possibility to control the autoscroll property of a String indicator programmatically (using a Boolean control Autoscroll ON/OFF).

0 Kudos
Message 13 of 22
(1,629 Views)

Hi Alwin,

 

there is a property to set the horizontal vertical scroll position: Text.ScrollPosition…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 22
(1,608 Views)

Sorry to add. I need vertical Scroll bar property!!! Any option.

0 Kudos
Message 15 of 22
(1,596 Views)

Hi Alwin,

 


@Alwin_Capsys wrote:

Sorry to add. I need vertical Scroll bar property!!! Any option.


You can set the vertical scroll position using the property I mentioned in the last message…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 22
(1,583 Views)

Alwin_Capsys_0-1667221361693.png

Neglect Block diagram in this above mentioned example.

My requirement is , my string Indicator will be keep on updating. So vertical scroll bar is required and when string indicator keeps on updating, scroll bar also automatically moving. 

In order to avoid this, I have placed a Boolean switch to turn off/On this autoscrolling. Is it possible to control this automovement of string scrollbar by clicking on that Boolean control?

When Boolean ON, scroll bar should move automatically.

When Boolean OFF, scroll bar should not move automatically.

0 Kudos
Message 17 of 22
(1,577 Views)

Hi Alwin,

 


@Alwin_Capsys wrote:

In order to avoid this, I have placed a Boolean switch to turn off/On this autoscrolling. Is it possible to control this automovement of string scrollbar by clicking on that Boolean control?


Not directly.

But: When button is TRUE then you can set a fixed value to ScrollPos…

 

Btw. set value first, then ScrollPos.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 18 of 22
(1,562 Views)

But if I set some value also, when data comes continuously, the scroll bar keep on moving right?  User won't be able to stop this movement and analyze a particular data properly?

0 Kudos
Message 19 of 22
(1,536 Views)

@Alwin_Capsys wrote:

 

When Boolean ON, scroll bar should move automatically.

When Boolean OFF, scroll bar should not move automatically.


Seems like this is what you want. Put this inside your while loop.

Frozen_0-1667226647313.png

(False case is empty)

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 20 of 22
(1,535 Views)