Example Code

Using property nodes with an array of clusters Using LabVIEW

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 example VI modifies an element of an array of clusters using explicit property nodes. 


Description

 When I try to use the 'value' of a property node containing an array of clusters the entire array is returned, or if I use the array element, it is returned as a variant, how can I get a specific element from the array?

You can use this code to this to return the modified element of an array containing a cluster.

 
Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run the code.
  2. Change some of the values in the array.

 

Additional Information or References

VI Block Diagram

 1.png

 

 

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

 

 

National Instruments
Staff Certification Engineer

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