LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pasting text into string control while vi is running

Hello,
Is there any way to enable pasting of text into a string control while a vi is running?  This would be very handy for debugging in a particular routine I am working with.

Thanks
0 Kudos
Message 1 of 12
(3,482 Views)
Hi david_jen…,
what do you mean? Can you explain a little bit more in detail?
 
Do you mean "write text into a string control" from your program? If yes, you can use property nodes or local variables. Or if you only need the value to work with it, you can use shift registers on a loop.
 
 
Mike
0 Kudos
Message 2 of 12
(3,465 Views)
Hi Mike,
I mean as in copying text from another program such as notepad, and then pasting into a labview control of a running program.  I only see an item in the runtime context menu "copy", but no "paste", when right clicking.  I went into the runtime menu editor of the control, and I didn't find a way to add a "paste" item, if this is even the way to do it.
0 Kudos
Message 3 of 12
(3,449 Views)
Which version of LabVIEW are you using.  I made a simple VI with a string control in 8.5 and was able to copy and paste into the control.
David_B
Applications Engineer
National Instruments
0 Kudos
Message 4 of 12
(3,447 Views)
I am using 8.5.  Did you modify the control preperties in any way? 


0 Kudos
Message 5 of 12
(3,438 Views)

I just tried it in LV8.5 and it works.

See image:



Message Edited by JoeLabView on 06-11-2008 01:39 PM
Message 6 of 12
(3,435 Views)
Here's the VI that I tried it with:
 
0 Kudos
Message 7 of 12
(3,431 Views)
interesting
I can create a new vi and have this work also.
Maybe it is because the vi I am working with was written with lv 7.0.  I'll so some experimenting.

thanks
0 Kudos
Message 8 of 12
(3,410 Views)
You have an indicator, not a control.
Message 9 of 12
(3,405 Views)

As smercurio mentionned..  You are probably trying to paste to an indicator..  not a control.  If so, you can't paste..  😉

RayR

0 Kudos
Message 10 of 12
(3,396 Views)