LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

import picture black box

All,

 

I have created a custom X-Control for my application.  As a part of the control, I need to use a *.png image for the background.  I created the image to line-up with the XControl indicators.  However, when I import the picture (using "Edit" >> "Import Picture to Clipboard..." followed by "Edit" >> "Paste"), Labview puts these incredibly annoying black bars on the left and bottom edges of the imported image.  This gives the imported image a 3-D effect, which is undesireable in my application.

 

See attached screenshot for example.  Is there any way to import the image without the ridiculous black bars?  Any help would be appreciated.  Thanks!

 

Mark

0 Kudos
Message 1 of 3
(2,643 Views)

All,

 

Problem solved.  The issue lies with the ridiculously tired programmer, and not Labview.  My X-Control contains a Multipage control.  The picture was importing on top of the control, and not directly into the specific page being viewed.  By moving the imported picture out of the Multipage control, and then back in, I was able to "stick" the picture to my desired page, and the black bars have disappeared.

 

Sorry for the relatively simple question; hopefully others won't make the same mistake!

 

Mark

0 Kudos
Message 2 of 3
(2,635 Views)

Yes, good catch, such a 'bar' means that you have a floating element, it should be gone when you change your VI/XControl to run mode.

By moving the picture 'into' the page you embedded it and there was not a floating element.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 3 of 3
(2,615 Views)