LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

creating custom controls

Dear NI,

On your website under the LabVIEW section it said you could create custom control using the Controls Editor that sounded exactly like what I need. However, I am using LabWindows. I would like to modify an existing control. Is there anyway to do this?

Thanks.

Kerry

The notes for LabVIEW said the following:
This application note explains how to create and use custom controls, indicators, and type definitions using the Control Editor in LabVIEW.

Use custom controls and indicators to extend the available set of front panel objects. You can create custom user-interface components suited for your application that vary cosmetically from standard LabVIEW controls and indicators.

For example, you can create a Boolean switch that s
hows a closed valve when the switch is off and an open valve when the switch is on, or a slide control with its scale on the right side instead of the left.

You can save a custom control or indicator you created in a directory or VI library, just as you do with VIs, and use the custom object on other front panels. You also can create an icon for your custom object and add it to the Controls palette.

Use type definitions and strict type definitions to link all the instances of a custom object to a master definition so you can make changes to all instances by editing just the master. This is valuable if you require the same custom control or indicator in several VIs.

Table of Contents:
Creating Custom Controls and Indicators
Editing Custom Controls and Indicators
Using Custom Controls and Indicators
Making Icons
Adding Custom Controls and Indicators to Palettes
Differences Between Independent and Linked Custom Controls
Customize Mode Option
Cosmetic Parts
Impor
ting Graphics
Type Definitions
0 Kudos
Message 1 of 2
(4,488 Views)
Hello

CVI does provide some custom controls under the cvi\toolslib\custctrl directory. There are examples provided for these controls as well. You can look at how custom controls are made by checking out the source that is included for these controls as well. The source is also in the same folder location.

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(4,488 Views)