05-07-2008 07:58 PM
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
05-07-2008 08:15 PM
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
05-08-2008 08:34 AM
Start with a picture ring to define your images. Then customize the Picture Ring by replacing the numeric indicator with a knob. Done!
Ben
05-08-2008 10:06 AM