07-10-2012 04:43 PM
Hi all,
I'm having trouble customizing a simple boolean button control. It should be (and probably is) simple to do, but I'm stumped. I'd like to create a button very similar to the oval boolean button, with on/off boolean text, AND an on/off LED indicator laid on top. However, the button I'm trying to create would be rectangular in shape. Please see the attached image. Thanks in advance for any help.
07-10-2012 06:02 PM - edited 07-10-2012 06:04 PM
You need to start with the oval button, because it has an LED. Now import the desired graphics into the various elements using the control editor.
07-10-2012 06:13 PM - edited 07-10-2012 06:17 PM
You can also simply import an OFF and ON led graphics into the two states of the button. It does not need to be a real LED.
07-10-2012 06:34 PM
1. drop a boolean on your front panel right click and select advanced -> customize
2. click the wrench under the view menu (you should now see the tweezers)
3. right click the boolean and there are 4 selections in the picture items submenu
4. select the first one
5. right click the boolean and click import from file
6. repeat for the three other states of the button
7. click the tweezers
8. right click the boolean and select multiple text strings
9 now you can change the text in the true state and the false state
10. you can also float some free text under the images to further describe the button states
07-11-2012 02:14 AM
For more information, visit following link
https://decibel.ni.com/content/groups/ui?view=documents#/?per_page=50
https://decibel.ni.com/content/groups/ui?view=documents#/?per_page=50
http://lavag.org/files/category/1-user-interface/
https://decibel.ni.com/content/docs/DOC-17002
Also you will get ready to use buttons on the same
Prabhakant
07-11-2012 10:21 AM
Thanks all. I think I've finally got it. All of your answers were helpful, but in the end, I like the way the LED on the oval resizes with the control, so I started with it, then just imported the rectangular button images over the various oval states.