LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

front panel --pictures switch

Hi

I am a customer of NI. I have a question about the front panel design. I want to design a knob with different pictures. When it comes to different value, it displays different pictures. How can I get it? Would you send me a example? Thank you for your help.

 

Regards

 

Vivian

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

Well, there are many approaches to this.  It all depends on what you actually want to do, how big the pictures are, how fast you want the pictures to appear, etc.

Let's look at the knob.  That's easy.  They are found in the Controls Palette under Numeric.  SImply put a range to supports the number of pictures you want to select.

You could then use the numeric value from the Knob control as an index to an array.  Now depending on your requirements, the array could be an array of paths to the pictures that gets loaded on the Front Panel, or even as an index to an array of pictures. 

And there are many other solutions. However, the appropriate approach may depend on what you actually want to do.

Can you provide more details on what you wish to do?

Thanks.

RayR

0 Kudos
Message 2 of 4
(2,668 Views)

Start with a picture ring to define your images. Then customize the Picture Ring by replacing the numeric indicator with a knob. Done!

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 4
(2,643 Views)
I like the super simple solutions from Ben 😄
0 Kudos
Message 4 of 4
(2,626 Views)