LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fully custom controls

Hello:

I have struggled with this off and on for several years now. I need to build custom controls for industrial automation applications using LabVIEW and the DSC module. I need the ability to fully customize the appearance of the existing controls while maintinaing color and blink properties. It would also be nice to preserve smooth control apearance when resizing.

I have figured out how to acheive transparency using Photoshop CS and png files. Other information is obviously lost when an image in a custom control is changed.

Since the built-in controls scale smothly, can I assume that they are vector graphics based? Can their images be better edited using a vector-based tool?

Is there a special channel which allows for color properties to be applied to a control's image? Is it possible to manipulate this into custom controls?

In general, I would like to know how to edit graphics for custom controls so that I can maintain the original ability to use property nodes to control the appearance of a custom control.
Message 1 of 5
(3,514 Views)
I think you'll find all the answers you're looking for in this thread.

___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(3,477 Views)
Thank you for the link. It dies answer some of my wuestions, but still leaves me without a solution. Can you provide more information on the "picture in c code" format? I can not find any information on it online. I am a C++ and C# programmer, but I am not familiar with PICC.

Is it possible to access the source code for the controls included with LabVIEW and truly customize them?

Thank you,
plaskey
0 Kudos
Message 3 of 5
(3,444 Views)
I think what you're looking for here is an X-control.  In that you can actually have events that happen when you click on a control.  In that way it will actually execute code behind the scenes when a control is modified at edit time.
0 Kudos
Message 4 of 5
(3,239 Views)
That's true, but Xcontrols were only introduced in LV 8.0, about 4 months after this conversation.

___________________
Try to take over the world!
Message 5 of 5
(3,229 Views)