LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Picture control

If I place a picture control (Controls->Graph->Ctls->Picture.ctl) on my
front panel. It shows up on diagram. If I paste a bitmap into the
picture control on the front panel, the picture control disappears on
the diagram and I'm no longer able to right-click on it on the front
panel and get the pop-up menu. What happened???

-Stephen
(Labview 6.0i, Win98)
0 Kudos
Message 1 of 3
(3,301 Views)
If you are pasting a bitmap from clipboard into LabVIEW's front panel, the bitmap does not become the picture control. You'll need to do more than just copy and paste...

On why your picture control disappears, it sounds to me like you are pasting an image on top of the control and that is what cause the control to disappear. I can only be sure what happened if you describe the problem in more details.

What you can do is click on the bitmap, and press "Ctrl + Shift + J" to move the bitmap to the back and you should be able to see your control.

Or you can go into your program's diagram and right click on the picture control terminal and select "Find Terminal". Your control should now appear.

One last reason why the picture control disappeared when you pasted
the bitmap is that you had the picture control selected when you pasted the bitmap.

FYI, there is a much better way to load a bitmap from file. (if that is what you want to do) Use the "Picture Functions" under "Graphics and Sound", if you haven't already done so. (I may be wrong but I think you might need the LabVIEW Professional version in order to use this tool...)

I hope that helps.

Shan Pin Koh
Systems Engineer
Oakriver Technology
0 Kudos
Message 2 of 3
(3,301 Views)
> If I place a picture control (Controls->Graph->Ctls->Picture.ctl) on my
> front panel. It shows up on diagram. If I paste a bitmap into the
> picture control on the front panel, the picture control disappears on
> the diagram and I'm no longer able to right-click on it on the front
> panel and get the pop-up menu. What happened???
>

You replaced the selected item, the picture control, with the item being
pasted, the image.

The picture control has functions that will display an image in the picture
control, but it supports very little interactive editing.
If you just want to cycle between some images, you might want to look at
using a picture ring instead. They are located on the Ring and Enum
palette. Once an image is on the clipboard, right click and impor
t the
image.

If you really do want to use the picture control, then look at the Graphics
and Sound palette on the diagram. There are functions there for
importing an
image file and displaying in the picture control.

Greg McKaskle
0 Kudos
Message 3 of 3
(3,301 Views)