Example Code

Programmatically Identify Control Class Instances

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
This VI will search itself for all instances of a desired control class.

 

Description
On the Control Identified indicator we will see which is the control that we are adding on the array of controls. All the controls in the array will blink for three seconds and then it will start again until the VI is stopped manually.

This is helpful for identifying controls that need to be edited or turned into type defs. Typically this is used for inherited code.

 

Requirements
LabVIEW Base Development System (or compatible)

 

Steps to Implement or Execute Code
1. Run the VI.
2. See the controls blinking.
3. When desired, press the Stop control to finish the execution.

Additional Information or References
Capture.PNG
**This document has been updated to meet the current required format for the NI Code Exchange.**

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.