LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to update front panel drawings

I have a series of mechanical drawings that can be displayed as jpeg, TIFF, ect, that I would like to add and incorporate into my front panel.   The drawing would be wiring and plumbing schematics that would show the user what part of the instrument they are running diagnostic's on.  Reading through past postings, I can find two methods for this, one is picture control which seems more complicated than what I think I need. The other is read JPEG file VI.  I'm interested in having the JPEG pic displayed on ~half the screen while leaving the front panel controls on the right.  Then I would like to update the pic as the user moves down the list of controls.  From reading it seems like the read JPEG file VI will work but i'm haven't found a simple example to get me started.  Is the read JPEG file VI the easiest way to add and update a front panel picture or should I be looking at another method to do this?

 

Thank you for the help.

Danny
0 Kudos
Message 1 of 4
(2,915 Views)

It's actually quite easy to update a picture control from a file. Draw Flattened Pixmap is your friend. You can also resize the picture based on the dimensions of the image file.

 

Download All
0 Kudos
Message 2 of 4
(2,901 Views)

I kinda like using a picture ring control for this type of stuff.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 3 of 4
(2,882 Views)

smercurio thanks so much for the example.  And Thank you too Joe.  Both suggestions gives me something new to work on and learn.

 

Thanks again.

 


Danny
0 Kudos
Message 4 of 4
(2,853 Views)