LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting front panel graph to clipboard

Solved!
Go to solution

Hello,

 

I want to export Graph (not simplified image, but exactly as in front panel) to clipboard. Then, I will paste the clipboard content to MS Word document.

 

How can I export that graph image to clipboard?

 

Thank oyu.

0 Kudos
Message 1 of 11
(6,140 Views)

Hi it can be done using an invoke node. This VI has been saved for LV 8.0

LabVIEW 8.2,8.6,2009...still learning 😛
0 Kudos
Message 2 of 11
(6,129 Views)

Thank's for your response. The ExportImage method doesn't keep the properties of the graph. In other words, exported image is simplified image. What I want is exactly the same as displayed on front panel ( color, cursor, etc).

 

How can I get that result?

0 Kudos
Message 3 of 11
(6,125 Views)

Pick "Data Operations->Copy Data" in control shortcut menu. Then go to WORD and paste it (Ctrl+V).

Copying FP image is available for all controls besides graphs.

0 Kudos
Message 4 of 11
(6,116 Views)

Hi, sorry missed that point. The copy data option advised by hanrock can do that.

LabVIEW 8.2,8.6,2009...still learning 😛
0 Kudos
Message 5 of 11
(6,109 Views)

Ooops, I am very sorry. My question was incomplete. I want to do that programmatically.

 

So?

0 Kudos
Message 6 of 11
(6,105 Views)

O.K. Then my example is to use a 2D Pic control to export the image.

0 Kudos
Message 7 of 11
(6,097 Views)

Hi Hanraock,

 

I'm using LV 8.2. Would you please convert to LV 8.2? Can I run that code in LV 8.2?

 

Many thanks.

0 Kudos
Message 8 of 11
(6,088 Views)

Sorry, yoppy. You need to at least use LV8.5 since the 2D Pic export invoke is introduced in LV8.5.

0 Kudos
Message 9 of 11
(6,086 Views)
Solution
Accepted by topic author yoppy

If you work on Windows, you could also use the library in the attachment of following post.

Rolf Kalbermatter
My Blog
0 Kudos
Message 10 of 11
(6,081 Views)