LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make an octagon shape stop button

I want to make an octagon shape control to mimic a stop sign.
 
Any suggesstions?
 
Thanks
Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 1 of 10
(6,646 Views)
Use a regular button and then customize it to import your desired graphics.
Message 2 of 10
(6,636 Views)

See attached 😉 

don't rate the lack of artistic ... euh ..  😮 ability..

😉

 

Download All
Message 3 of 10
(6,625 Views)

Wanted to post this for other users.

 

the steps i used (err that eventually used to get it right)

 

1.  Got the stop image

2.  Used adobe photoshop to add a background layer

3.  Deleted all the white from around the image

4.  Saved it a sPNG file

5.  Placed a bool control on the front panel and set the size to what I wanted

6.  open the control in the advance - customized utility

7.  set edit / tweezer mode

8.  Selected picture item

9.  Inserted picture from file

10.  Saved it as test

11.  Put another bool control on the front panel and opened it in the editor in wrench mode stil...

12.  Opened the original control and went to tweezer mode and copied the image

13 closed the original file

14  went to new control and right clicked it and selected import picture from clipboard as DECAL so the decal would not block the button funtion.

15.  Saved the control as the final and allowed it to replace the front panel control

 

hope this helps some folks out

Tim C.

 

1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
Message 4 of 10
(6,623 Views)

Similar steps..  Yours looks nicer Tim.

Plus it gives you that push button feeling.  Nicely done!

🙂

Message 5 of 10
(6,620 Views)
I would probably use a round flat button from the classic boolean controls, which gives you an active area very similar to the octagon. Paint the original button transparent in the control editor so only your own image shows. Add your own bevels, etc in your graphics editor.
 
You should also make two images, one for the TRUE case and one for the FALSE case to provide visual feedback (e.g. embossed vs engraved or red STOP vs green GO). 🙂
Message 6 of 10
(6,614 Views)

Customizing using vector based images.


___________________
Try to take over the world!
Message 7 of 10
(6,576 Views)
What I believe are some good results, posted here for others to use.
 
If you want good results with different size controls use adobe the open the *.psd files and change the image size then get rid of the yellow background and save it as a PNG file.
 
Used adobe layer style inner shadow and Bevel / Emboss / Pillow emboss to get the effect
 
Best Regards
Tim C.
 
 
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
Download All
Message 8 of 10
(6,568 Views)
See here for a pretty good video tutorial on customizing buttons.
Message 9 of 10
(6,565 Views)

There is another version posted, 

Also was thinking the first version would look nicer if the depressed picture was moved down and to the right 1 pixel to mimic being pressed.

 

Best Regards

Tim C.

1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 10 of 10
(6,503 Views)