LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Image is getting right shifted

In my Front panel window i pasted one image through Edit --> Import picture to clip board .

 

When ever i run  this vi this image is getting right shifted by 1 pixel every time . 

 

how to avoid this problem .

0 Kudos
Message 1 of 5
(2,565 Views)

Try this:

 

Select your picture and from the reorder menu reorder.PNG select "lock". This will lock the picture to the front panel.

Ben64

0 Kudos
Message 2 of 5
(2,554 Views)

 

Thank you ben.....

 

When i locked the image Its ok but while running the width of the pixel is decreasing by 6 to 8 pixels .? 

 

When i stopped the code its comming to normal size again . 

 

This shifting problem also is still continuing sir ?

0 Kudos
Message 3 of 5
(2,547 Views)

Without many details we can only guess what the issue might be. Can you show some screenshots of the front panel running and not running?

 

Ben64 

0 Kudos
Message 4 of 5
(2,541 Views)
I assume the shift is happening when you change to run mode (ctrl-M) and not just when running. You could try turning the scrollbars off while in edit mode (right-click on them or use VI properties). Beyond this we'll probably need to see the code.
0 Kudos
Message 5 of 5
(2,533 Views)