Array To Cluster function: Difference between revisions
Appearance
Added second owning palette. |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
[[File:Array To Cluster - Terminals.png|thumb|Array To Cluster function]] | [[File:Array To Cluster - Terminals.png|thumb|Array To Cluster function]] | ||
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|palette2=Functions Palette/Programming/Cluster, Class, and Variant{{!}}Cluster, Class, and Variant palette|type=function}} | {{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|palette2=Functions Palette/Programming/Cluster, Class, and Variant{{!}}Cluster, Class, and Variant palette|type=function|icon=Array To Cluster.png}} | ||
The '''Array To Cluster''' function converts a 1D array to a cluster of elements of the same type as the array elements. Right-click the function and select Cluster Size from the shortcut menu to set the number of elements in the cluster. | The '''Array To Cluster''' function converts a 1D array to a cluster of elements of the same type as the array elements. Right-click the function and select Cluster Size from the shortcut menu to set the number of elements in the cluster. | ||
| Line 9: | Line 9: | ||
Use this function when you want to display elements of the same type in a front panel cluster indicator but want to manipulate the elements on the block diagram by their index values. | Use this function when you want to display elements of the same type in a front panel cluster indicator but want to manipulate the elements on the block diagram by their index values. | ||
{{TOCright}} | |||
== Usage == | == Usage == | ||
Latest revision as of 15:04, 29 June 2020
| |
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |

| Object information | |
|---|---|
| Owning palette(s) | Array palette | Cluster, Class, and Variant palette |
| Type | Function |
| Requires | Basic Development Environment |
| Icon | |
The Array To Cluster function converts a 1D array to a cluster of elements of the same type as the array elements. Right-click the function and select Cluster Size from the shortcut menu to set the number of elements in the cluster.
The default is nine. The maximum cluster size for this function is 256.
Use this function when you want to display elements of the same type in a front panel cluster indicator but want to manipulate the elements on the block diagram by their index values.
Usage
| |
Specific use cases for this function. |
Best practice
| |
Add other best practices for this function. |
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |
See Also
| |
Add links to internal wiki pages that would also help. |
External Links
| |
Add links to external resources that would also help. |