LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: Copy from LabVIEW & Paste to Paint changes the picture

Why the pasted picture is not identical to the source?

 

In LabVIEW the yellow cursor is at YX(0 ; 215u)

I select the control > Press CTRL+C > and in Paint I press CTRL+V

 

But after pasting to Paint the cursor is at YX(3 ; 215u)

Greil_1-1758711759287.png

 

To be exact in LabVIEW the cursor is at XY(11m ; 215u) but that is almost X=zero.

 

LabVIEW Professional Development System - Version 2024 Q1 (64-bit) 24.1f0

0 Kudos
Message 1 of 7
(271 Views)

I have noticed this behavior many times.  I usually avoid it by doing a screen grab (usually alt-printscreen for the active window) and editing it in Paint, or using the built-in Windows snipping tool to select part of the front panel and copying it.

Message 2 of 7
(240 Views)

Yes, windows scaling seems to apply somehow, i've seen it before.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 7
(238 Views)

It seems cursor moved horizontally.  Make Cursor Legend visible.

Is the cursor snap to a plot?

How many data points in the graph?

Does this occur when zoom in?

 

George Zou
0 Kudos
Message 4 of 7
(206 Views)

@jjohn1 wrote:

I have noticed this behavior many times.  I usually avoid it by doing a screen grab (usually alt-printscreen for the active window) and editing it in Paint, or using the built-in Windows snipping tool to select part of the front panel and copying it.


 

on windows try <window key> + s 

 

and you can select the area to capture without having to use paint to crop a print screen: 

 

Jay14159265_0-1759158689343.png

 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 5 of 7
(103 Views)

Here's my wild guess:

When you perform a 'Copy' of objects on the front panel, LabVIEW doesn't make a copy of the image of the front panel.  Instead makes copies of the objects from the front panel and places them into the clipboard.  It also generates an image based on those copies of the object and adds that image to the clipboard.  The image could look different than the front panel if something changed shortly after the user performed the 'Copy', or if the process of making the copies caused a change.

Here's an example:

Item copied from block diagram: paul_a_cardinale_4-1759161237606.png

 

Image pasted from clipboard: paul_a_cardinale_2-1759161174534.png

0 Kudos
Message 6 of 7
(89 Views)

Copy&paste graphs directly from the front panel definitely has multiple issues.

 

For example if an axis is set to auto-scale, but we are zoomed in to a smaller area, the pasted picture will again be auto-scaled to the full range. Using the windows screengrab gives you what you actually see.

 

altenbach_0-1759171982290.png

 

Message 7 of 7
(70 Views)