LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strings & text boxes

I want to be able to append to a permanently visible text field in a LabVIEW app, but I dont want to use the Labview string control or indicator since they reaload the entire string every time it is updated (which is very time consuming for large strings. Instead I want something that behaves more like NOTEPAD, where the last input text is simply stuck on the end. Does anyone know how to do this or know of say an activeX control which would facilitate it.
0 Kudos
Message 1 of 7
(3,762 Views)
Not a problem. Just right click in it and set it to "Update while Typing". I wired a string control to an indicator, added a 250ms delay, set them both to "Update while Typing" and it behaved exactly as you say you wanted it to behave.

Have fun
Message 2 of 7
(3,762 Views)
Unforunately that will not work since I am updating the text programatically.
0 Kudos
Message 3 of 7
(3,762 Views)
Well, what I tried was updating the text programmatically also. Give it a shot anyway.
0 Kudos
Message 4 of 7
(3,762 Views)
Hello - I am trying to APPEND comments in a text box. I cannot seem to be able to do it. I came across your suggestions when I did a search and thought that you might be able to help.

I am acquiring 5 channels of 0 to 5volt DC data on a waveform chart and saving it to a spreadsheet file using a modified HIGH SPEED DATA LOGGER found in the LV search examples. I have added a text box on my front panel and am able to save comments and retrieve them - however, although I can APPEND my data on the 5 channels on the waveform chart, I can not seem to be able to add comments to my earlier comments.

I tried the suggestion above, however, it did't work.

Also, do you know how to clear a text box after each VI execution or before the next execu
tion?

Many Thanks,
Wayne.
0 Kudos
Message 5 of 7
(3,762 Views)
Very good. Thanks!!!
0 Kudos
Message 7 of 7
(3,762 Views)
hi,
I am not quite sure if you are looking for a solution like this one >> see attachment.

Hope this vi helps.

Cheers
ian.f
_sg/my
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 6 of 7
(3,762 Views)