ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[LabVIEW Bug Report] Graph Copy Data doesn't copy annotations properly

Not being very lucky with the Copy Data method of graphs lately.

Take the following graph (from the attached VI):

 

Screen Shot 2017-04-02 at 15.28.55.png

 

and try to copy its image data to paste it into some other software (Word, Powerpoint, Paint, Preview, whatever) by invoking Data Operation >> Copy Data.

I get this:

Copy Data Bug.png

 

An annotation with an arrow goes haywire and one without simply disappears (no anchoring point displayed).

 

Tested in LabVIEW 2016 64 bits, Windows 7.

0 Kudos
Message 1 of 5
(3,803 Views)
As a matter of fact, if you replace the annotation by a cursor with no line style and just a point, that one won't be displayed either. Something's very rotten with the Copy Data method...
0 Kudos
Message 2 of 5
(3,799 Views)

CAR 640243 was filed for that bug, which has some other variants.

For instance an annotation in a XY graph needs to be associated with a plot, or it won't be displayed in the image generated by "Copy Data".

If associated with a plot (which is not possible in my case, but could be a workaround in some cases), it cannot be positioned using the XY coordinates, but only the plot element index...

0 Kudos
Message 3 of 5
(3,705 Views)

According to the CAR there's a workaround of using a Waveform graph which will copy the annotations correctly or using a "get image" invoke node (Picture on attached vi) to display an image of the graph that copies properly.

 

Would that work for your application? 

0 Kudos
Message 4 of 5
(3,682 Views)

Sure, the functionality can be emulated. However, the purpose of the post was not to look for a workaround but bring the attention of NI on the bug. Mission accomplished, over and out. Anyone willing to discuss workaround is most welcome.

0 Kudos
Message 5 of 5
(3,672 Views)