Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Oct 3, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

LabVIEW Custom Controls, Indicators, and Type Definitions

51 ratings | 3.63 out of 5
Print

Overview

Use custom controls and indicators to extend the available set of front panel objects. You can create custom user interface components for an application that vary cosmetically from built-in LabVIEW controls and indicators. You can save a custom control or indicator you created in a directory or LLB and use the custom control or indicator on other front panels. You also can create an icon for the custom control or indicator and add it to the Controls palette.

Use type definitions and strict type definitions to link all the instances of a custom control or indicator to a saved custom control or indicator file. You can make changes to all instances of the custom control or indicator by editing only the saved custom control or indicator file, which is useful if you use the same custom control or indicator in several VIs.

Refer to the LabVIEW Help for the most up-to-date information about custom controls, indicators, and type definitions.

 

 

51 ratings | 3.63 out of 5
Print

Reader Comments | Submit a comment »

all
i think that all of your manuals are good but those needs more application examples,i think that are so theorical and no practicing manuals, for example: how to design block diagrams.... teach about a front panel customize.... etc...
- favianzamorano@gmail.com - Sep 20, 2005

last sentence is wrong
the last sentence is wrong; try with a text ring.
- Jassem Shahrani, National Instruments. jassem.shahrani@ni.com - Jun 21, 2005

Strict Typedef controls & constants require different treatment!
I found this article following Roy Faltesek's comments in the infoLabVIEW digest 30/3/05. Previously, editing a strict typedef'd cluster of clusters of elements was breaking (pointing to the required element of the zeroth cluster of a cluster instead of the required cluster of a cluster) at Bundle By Name. I could manually update constants of this typedef and ensure that the auto update was off, but the manual update wasn't available for FP controls so some instances of the type would still break. After reading this article, I can deal with the FP objects via the .ctl File Apply Changes, and manually update the constant. So it's solved a problem!
- Philip Semmel, AWTA Ltd. philip.semmel@awta.com.au - May 31, 2005

Clustering is key
As a beginner, it was difficult to construct a worthwhile custom control until I realized that any cluster can become a single control.
- Alan.Centa@Yours.com - Feb 27, 2004

On numeric indicators set for Hex or Binay format how I get the indicator to display leading zeros. 0s are suppressed. This would be a very helpful developement tool. Thanks Ralph
- Ralph Loh, Design Enterprises, Inc.. raldei@att.net - Jun 2, 2001

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).