LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove or delete line in a string indicator?

Solved!
Go to solution
I have a string indicator that receives data continuously. If the number of lines in the indicator becomes 100 then on receiving a new line after 100th line the very 1st line will be removed and so on..in simple words i need to maintain only the latest/last 100 lines received in the indicator. How would i do this? Kindly help me out.
0 Kudos
Message 1 of 5
(3,930 Views)

hi Arvinth,

  Just a simple,after number of lines >100,then assing local variable of string to empty string and continue...

 

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 5
(3,926 Views)

Hi SriKrishna,

 

I have few questions,

 

how do i find the number of lines in a string indicator? is there any property or do we need to create a design to find out the count of lines with the help of end of line constant?

 

Also when the number of lines becomes 100, on receiving a new line only the 1st line has to be deleted/removed not all the lines. 100+1 - 1st line =100

100+2 - 1st & 2nd line = 100 etc...

 

Latest 100 lines have to be maintained on the display.

 

Thanks for your time,

Regards,

Arvinth

0 Kudos
Message 3 of 5
(3,917 Views)
Solution
Accepted by topic author Mr.7

HI

Please find the snapshot attached.

Hope this helps

 

Regards

Santosh

Message 4 of 5
(3,908 Views)

Thankyou very much Santosh.

 

Regards,

Arvinth

0 Kudos
Message 5 of 5
(3,900 Views)