LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using pictures

im trying to use a case structure to delagate which picture should be displayed on the front panel, my first time trying to use picture functions and its features, appreciate any help.

 

neit student 

0 Kudos
Message 1 of 4
(2,953 Views)

Put a picture indicator on the front panel.  Put a picture constant in each frame of your case structure and tunnel it out through the case structure to the indicator.

 

I found that when dealing with pictures, you might have to do some simple programming to get the picture in.  Such as using a blank VI and the image functions to read in a BMP file that sends its image to a picture indicator.  Once you have run this VI once, you can right click on the indicator and select Create Constant.  Copy/Paste that constant to your real VI.  Now you have a picture constant with the image you want in it.

0 Kudos
Message 2 of 4
(2,951 Views)
If your pictures are small and the options are static, you may want to consider a pict ring control.  I have used these for a variety of purposes, including animation.
0 Kudos
Message 3 of 4
(2,929 Views)

NEITstudent2009 wrote:

im trying to use a case structure to delagate which picture should be displayed on the front panel, my first time trying to use picture functions and its features, appreciate any help.

 

neit student 


THen you really want to check out the links we have collected in the Picture Control Thread.

 

I believe* we have at least one example of everything that has been posted in public that can be done with the picture control.

 

Ben

 

* If you know of an example that proves that statement wrong then why haven't you linked it in yet? Smiley Wink

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,921 Views)