To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example VI demonstrates how (by cluster reference) to determine the element type of an array within our cluster.
Description
In working with clusters by reference, some information of the objects within clusters is unavailable. One such example is the array element type. It is important to understand the the properties and methods a cluster has must be available and shared among ALL objects within.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
What about defining the Array element types if the type is a cluster?
How to get a reference of the array elements to get the inside cluster architecture?
Olivier L. | Certified LabVIEW Developer
Hi Olivier_L,
From the array reference, you should be able to use the property node to get the ArrElem reference. From there, you can move to the more specific cluster class and get the objects within the cluster.
Something like this should work for you. Hope this helps!