LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create custom controls?

I created some 3D automation symbols using AutoCad 2000, saved them in BMP, then open in Photoshop and imported into Labview using Ring but i didn't get what i wanted. I can't change colors and can't eliminate frame around the picture (ring). I read help but i didn't find so much help.
Does anyone wont to explain in step by step how to do that.Which picture format is the best for that. I found at the discusion forum poor explanation with just one example. I know how to create control (simply import couple images into same Ring, but i need to do cosmetics.
Any help i appreciate.
Attached is .VI (labview 6.1)with valve i vanted to make as control, so please show me on that example how to do that.
0 Kudos
Message 1 of 2
(3,124 Views)
Just some tips here:
1)First of all, if you want to create a custom control, it's better to work with LabView control files ("ctl" extension) rather than VI's. (Select a control you want to customize on the front panel, and choose "Customize control" from the "Edit" menu - you will be presented with a new special window where you have much more possibilities to change the appearance of your control. Two modes are available there - "edit" to set the data type of your control and "customize" (or personalise) - to change its appearance).
2)I think that the problem you mention about - can't change colors and can't eliminate frame around the picture (ring)- is that near by all LV controls use two colors - foreground and background (toggled by F and B keys on the
color selection panel) and by default you change only one of them for 3D borders. To elimate the frame you must make then both transparent.

And here is your control - ctl file - a bit changed by me.
Message 2 of 2
(3,124 Views)