LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String array and graph to clipboard under release 5.11

Hello,

I want to copy the contents of a
1) string array and an
2) XY-Graph
to the Windows clipboard. Could someone please give me some info on how to
do this in both cases?

TIA

Klaus
0 Kudos
Message 1 of 3
(2,894 Views)
> I want to copy the contents of a
> 1) string array and an
> 2) XY-Graph
> to the Windows clipboard. Could someone please give me some info on how to
> do this in both cases?
>

If you mean interactively, then you have a couple options for the string
and actually two ways of doing it for the graph.

The string allows selection and you can triple click the string to
select all the text, then hit ctl-C or choose Edit>>Copy. If the VI
isn't running then you can select either the string or graph and hit
ctl-C or Edit>>Copy to copy a picture of them to the clipboard.
Finally, even of the VI is running, you can right-click and choose the
Copy Data menu item. This will make a copy of the data, and a picture
of the control is also placed on the clipboard.

Gr
eg McKaskle
0 Kudos
Message 2 of 3
(2,894 Views)
Hi Greg!

> If you mean interactively, then you have a couple options for the string
> and actually two ways of doing it for the graph.

Sorry for not describing it more in detail before. No, I don't need this
function during set-up of my application, but with the compiled application.
I know that there is the possibility to do this "copying to clipboard" thing
by clicking the right mouse key and selecting one of the options. But I
cancelled this "easy" way because it would lead to much confusion of the
final user of the app (mainly *because* there are so many options to select
from).

So, I think, I cannot refer to given LV functions but have to call an api or
so. And this was the point of question, i.e. I could do it by trial/error
but perhaps the
re is a beaten and obvious and proven path I should go to
facilitate my life....

And sorry again for wasting your time, due to my lack of detailed info.

Klaus
0 Kudos
Message 3 of 3
(2,894 Views)