Example Code

Programmatically Change Captions within a Cluster

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 allows a user to change the labels of items in a cluster during runtime.


Description: This VI allows a user to change the labels of items in a cluster during runtime.


Requirements: LabVIEW 2012 (or compatible). Hardware: none.


Steps to Implement or Execute Code:

1. Run the VI.
2. Type in the "Change Labels" constants above.
3. Click anywhere outside the constants.
4. The labels of the elements in the cluster will be updated.


Additional Information or References:

 

Programmatically Change Captions within a Cluster FP.png

 

Programmatically Change Captions within a Cluster BD.png


 **This document has been updated to meet the current required format for the NI Code Exchange.**



Regards,
Claire Reid
National Instruments

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

Comments
nonecure
Member
Member
on

This will allow you to change a "Caption" within a cluster, not at "Label".  Your title should say "Programmatically Change Captions within a Cluster".