LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to copy a text string from a front panel indicator to a text

I am trying to copy a text string from a front panel indicator to a text editor application while the LabVIEW VI is running. I can do this is the VI is
not running. I need to be able to do this in an ad hoc manner since there are several front panel string indicators, and I don't know which string indicator
the user is interesting in. Is there an LabVIEW internal copy buffer that I can access when a control C is entered?
0 Kudos
Message 1 of 6
(4,121 Views)
Your post seems pretty clear but I can't seem to reproduce what is happening to you.

I will include a quick example I wrote here but basically it is just a While Loop with a string control and a string indicator in it. The string front panel items both have text in them and when running the example I can copy and paste the contents to Notepad using ctrl-c and ctrl-v. Could it be a different version of LabVIEW thing? I am on 6.1 and am using Windows XP.
-scraggs99
Message 2 of 6
(4,121 Views)
I ran your VI also on a Windows 2000 and was successfully able to copy the strings from the VI it into Microsoft Word while the VI was running. I am also using LabVIEW 6.1, so maybe it is a version issue. What version do you have, Boeing?
J.R. Allen
0 Kudos
Message 3 of 6
(4,121 Views)
For Ctrl-C to work at Run-Time, you must enable the menu bar and have the "Copy Ctrl-C" item included in the menu.


LabVIEW, C'est LabVIEW

Message 4 of 6
(4,121 Views)
This solution works. Thanks
0 Kudos
Message 5 of 6
(4,121 Views)
You might also create a LOCAL VARIABLE on the string indicator, and then wire the variable to the input of your text file node. NOt very efficient for processor time, but it works
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 6 of 6
(4,121 Views)