ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Control - Need to create an EMO Switch

Hello!
A new LabVIEW user here.  I've been assigned my first project, and I'm already stumped.  My front panel needs to have two switches -- one which "Stops" the program, but allows the current processing and error-handling to complete before stopping.  The second is an "Abort" switch which immediately halts the program.  I want to design my "Abort" switch to resemble an EMO Switch -- a red mushroom with a yellow background.  Here's a hardware example photo of what I want to draw:
 
 
I've tried modifying an existing Boolean pushbutton switch to add decorations and text, and then I tried creating a new custom control using decorations and an existing boolean switch.  But I can't seem to select the Boolean with selecting the decoration, or the decoration wants to cover-up the Boolean and I can't set the Z-order.
 
Any tips or advice?  Can I group decorations with existing Booleans?  Can I modify decorations to become Booleans?  Can i create curved text?  How do I color the background yellow and the Button red?
 
If anyone has already created an EMO switch and could share it, I'd appreciate it!!

Message Edited by MJRIII on 07-17-2007 10:43 AM

0 Kudos
Message 1 of 7
(3,678 Views)

Please see tst's Nugget here.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 7
(3,664 Views)
Ben,
Thanks for the link.  To re-ask tbob's questions, Does the button go in when you click on it?  Does it light up?
 
Can I use this "nugget" with the basic, core program?  Or do I need an add-on package?
 
Thanks again!
0 Kudos
Message 3 of 7
(3,659 Views)

At the time Tbob asked the answer was no but since then I have made progress.

As shown it can do "both country AND western" *.

Ben

* Bonus stars - Name the movie

Message Edited by Ben on 07-17-2007 11:05 AM

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 7
(3,648 Views)


@Ben wrote:

As shown it can do "both country AND western" *.

* Bonus stars - Name the movie


Oh, not this again... Smiley Surprised

It's the Blues Brothers.


___________________
Try to take over the world!
Message 5 of 7
(3,639 Views)
OK, I think I got what I wanted.  It's not perfect but it works.  I modified a round pushbutton to have a round decoration behind it.  I found out how to assign the "Z-Order" (simple, actually).  I also figured-out how to "fill in" the decoration with bright yellow, and turned the pushbutton red.  It kinda' resembles an EMO switch now.
 
Thanks for the help, I have a LOT to learn!!!  Smiley Surprised
Message 6 of 7
(3,613 Views)
Well, you don't actually need to do all the customizing. You can just create the two images you need and use them to replace the current images of the boolean. See for example this quick customization - I simply copied an image of the web and moved the button a bit for the false images.

___________________
Try to take over the world!
Message 7 of 7
(3,601 Views)