Functions Palette/Programming/Array: Difference between revisions
Appearance
m Change Split 1D Array from Modifying to Accessing (creates subarrays) |
mNo edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming{{!}}Programming palette|type=palette|icon=Functions Palette - Programming Palette - Array.png}} | |||
The '''Array''' palette provides functions for array creation and manipulation. | |||
{{TOCright}} | |||
{{LabVIEW Palette | {{LabVIEW Palette | ||
|image = Array Palette.png | |image = Array Palette.png | ||
|title = Array palette | |title = Array palette | ||
|parent = Functions Palette/Programming | |||
|1 = Array Size function{{!}}Array Size | |1 = Array Size function{{!}}Array Size | ||
|2 = Index Array function{{!}}Index Array | |2 = Index Array function{{!}}Index Array | ||
Line 12: | Line 18: | ||
|14 = Array Max & Min function{{!}}Array Max & Min | |14 = Array Max & Min function{{!}}Array Max & Min | ||
|15 = Reshape Array function{{!}}Reshape Array | |15 = Reshape Array function{{!}}Reshape Array | ||
|21 = Sort 1D Array function{{!}}Sort 1D Array | |21 = Sort 1D Array VI function{{!}}Sort 1D Array VI | ||
|22 = Sort 2D Array function{{!}}Sort 2D Array | |22 = Sort 2D Array function{{!}}Sort 2D Array | ||
|23 = Shuffle 1D Array function{{!}}Shuffle 1D Array | |23 = Shuffle 1D Array function{{!}}Shuffle 1D Array | ||
Line 33: | Line 39: | ||
|55 = Matrix To Array function{{!}}Matrix To Array | |55 = Matrix To Array function{{!}}Matrix To Array | ||
|61 = Remove Duplicates From 1D Array function{{!}}Remove Duplicates From 1D Array | |61 = Remove Duplicates From 1D Array function{{!}}Remove Duplicates From 1D Array | ||
|64 = Functions Palette/Programming/Array/Sorted Array{{!}}Sorted Array | |||
|65 = Functions Palette/Programming/Array/Matrix{{!}}Matrix | |65 = Functions Palette/Programming/Array/Matrix{{!}}Matrix | ||
}} | }} | ||
== Subpalettes == | == Subpalettes == | ||
{| class="wikitable sortable" | |||
{| class="wikitable" | ! Icon | ||
| [[File:Matrix Subpalette.png]] | ! Name | ||
|- | |||
! style="text-align: center;" | [[File:Matrix Subpalette.png|Matrix|link=Functions Palette/Programming/Array/Matrix]] | |||
| [[Functions Palette/Programming/Array/Matrix|Matrix]] | | [[Functions Palette/Programming/Array/Matrix|Matrix]] | ||
|- | |||
! style="text-align: center;" | [[File:Sorted Array Subpalette.png|Sorted Array|link=Functions Palette/Programming/Array/Sorted Array]] | |||
| [[Functions Palette/Programming/Array/Sorted Array|Sorted Array]] | |||
|} | |} | ||
Line 60: | Line 68: | ||
! Category | ! Category | ||
|- | |- | ||
! [[File:Array Size.png|Array Size|link=Array Size function]] | ! style="text-align: center;" | [[File:Array Size.png|Array Size|link=Array Size function]] | ||
| [[Array Size function|Array Size]] | | [[Array Size function|Array Size]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Index Array.png|Index Array|link=Index Array function]] | ! style="text-align: center;" | [[File:Index Array.png|Index Array|link=Index Array function]] | ||
| [[Index Array function|Index Array]] | | [[Index Array function|Index Array]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Replace Array Subset.png|Replace Array Subset|link=Replace Array Subset function]] | ! style="text-align: center;" | [[File:Replace Array Subset.png|Replace Array Subset|link=Replace Array Subset function]] | ||
| [[Replace Array Subset function|Replace Array Subset]] | | [[Replace Array Subset function|Replace Array Subset]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Insert Into Array.png|Insert Into Array|link=Insert Into Array function]] | ! style="text-align: center;" | [[File:Insert Into Array.png|Insert Into Array|link=Insert Into Array function]] | ||
| [[Insert Into Array function|Insert Into Array]] | | [[Insert Into Array function|Insert Into Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Delete From Array.png|Delete From Array|link=Delete From Array function]] | ! style="text-align: center;" | [[File:Delete From Array.png|Delete From Array|link=Delete From Array function]] | ||
| [[Delete From Array function|Delete From Array]] | | [[Delete From Array function|Delete From Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Initialize Array.png|Initialize Array|link=Initialize Array function]] | ! style="text-align: center;" | [[File:Initialize Array.png|Initialize Array|link=Initialize Array function]] | ||
| [[Initialize Array function|Initialize Array]] | | [[Initialize Array function|Initialize Array]] | ||
| Creating | | Creating | ||
|- | |- | ||
! [[File:Build Array.png|Build Array|link=Build Array function]] | ! style="text-align: center;" | [[File:Build Array.png|Build Array|link=Build Array function]] | ||
| [[Build Array function|Build Array]] | | [[Build Array function|Build Array]] | ||
| Creating | | Creating | ||
|- | |- | ||
! [[File:Array Subset.png|Array Subset|link=Array Subset function]] | ! style="text-align: center;" | [[File:Array Subset.png|Array Subset|link=Array Subset function]] | ||
| [[Array Subset function|Array Subset]] | | [[Array Subset function|Array Subset]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Array Max and Min.png|Array Max & Min|link=Array Max & Min function]] | ! style="text-align: center;" | [[File:Array Max and Min.png|Array Max & Min|link=Array Max & Min function]] | ||
| [[Array Max & Min function|Array Max & Min]] | | [[Array Max & Min function|Array Max & Min]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Reshape Array.png|Reshape Array|link=Reshape Array function]] | ! style="text-align: center;" | [[File:Reshape Array.png|Reshape Array|link=Reshape Array function]] | ||
| [[Reshape Array function|Reshape Array]] | | [[Reshape Array function|Reshape Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Sort 1D Array.png|Sort 1D Array|link=Sort 1D Array function]] | ! style="text-align: center;" | [[File:Sort 1D Array VI.png|Sort 1D Array|link=Sort 1D Array VI function]] | ||
| [[Sort 1D Array function|Sort 1D Array]] | | [[Sort 1D Array VI function|Sort 1D Array VI]] (replaced [[Sort 1D Array function]] in [[LabVIEW 2020|LabVIEW 2020 SP1]]) | ||
| Modifying | |||
|- | |||
! style="text-align: center;" | [[File:Sort 1D Array.png|Sort 1D Array|link=Sort 1D Array function]] | |||
| [[Sort 1D Array function|Sort 1D Array]] (replaced by [[Sort 1D Array VI function|Sort 1D Array VI]] in [[LabVIEW 2020|LabVIEW 2020 SP1]]) | |||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Sort 2D Array.png|Sort 2D Array|link=Sort 2D Array function]] | ! style="text-align: center;" | [[File:Sort 2D Array.png|Sort 2D Array|link=Sort 2D Array function]] | ||
| [[Sort 2D Array function|Sort 2D Array]] | | [[Sort 2D Array function|Sort 2D Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Shuffle 1D Array.png|Shuffle 1D Array|link=Shuffle 1D Array function]] | ! style="text-align: center;" | [[File:Shuffle 1D Array.png|Shuffle 1D Array|link=Shuffle 1D Array function]] | ||
| [[Shuffle 1D Array function|Shuffle 1D Array]] | | [[Shuffle 1D Array function|Shuffle 1D Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Shuffle 2D Array.png|Shuffle 2D Array|link=Shuffle 2D Array function]] | ! style="text-align: center;" | [[File:Shuffle 2D Array.png|Shuffle 2D Array|link=Shuffle 2D Array function]] | ||
| [[Shuffle 2D Array function|Shuffle 2D Array]] | | [[Shuffle 2D Array function|Shuffle 2D Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Reverse 1D Array.png|Reverse 1D Array|link=Reverse 1D Array function]] | ! style="text-align: center;" | [[File:Reverse 1D Array.png|Reverse 1D Array|link=Reverse 1D Array function]] | ||
| [[Reverse 1D Array function|Reverse 1D Array]] | | [[Reverse 1D Array function|Reverse 1D Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Search 1D Array.png|Search 1D Array|link=Search 1D Array function]] | ! style="text-align: center;" | [[File:Search 1D Array.png|Search 1D Array|link=Search 1D Array function]] | ||
| [[Search 1D Array function|Search 1D Array]] | | [[Search 1D Array function|Search 1D Array]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Split 1D Array.png|Split 1D Array|link=Split 1D Array function]] | ! style="text-align: center;" | [[File:Split 1D Array.png|Split 1D Array|link=Split 1D Array function]] | ||
| [[Split 1D Array function|Split 1D Array]] | | [[Split 1D Array function|Split 1D Array]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Rotate 1D Array.png|Rotate 1D Array|link=Rotate 1D Array function]] | ! style="text-align: center;" | [[File:Rotate 1D Array.png|Rotate 1D Array|link=Rotate 1D Array function]] | ||
| [[Rotate 1D Array function|Rotate 1D Array]] | | [[Rotate 1D Array function|Rotate 1D Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Increment Array Element.png|Increment Array Element|link=Increment Array Element function]] | ! style="text-align: center;" | [[File:Increment Array Element.png|Increment Array Element|link=Increment Array Element function]] | ||
| [[Increment Array Element function|Increment Array Element Array]] | | [[Increment Array Element function|Increment Array Element Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Decrement Array Element.png|Decrement Array Element|link=Decrement Array Element function]] | ! style="text-align: center;" | [[File:Decrement Array Element.png|Decrement Array Element|link=Decrement Array Element function]] | ||
| [[Decrement Array Element function|Decrement Array Element Array]] | | [[Decrement Array Element function|Decrement Array Element Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Interpolate 1D Array.png|Interpolate 1D Array|link=Interpolate 1D Array function]] | ! style="text-align: center;" | [[File:Interpolate 1D Array.png|Interpolate 1D Array|link=Interpolate 1D Array function]] | ||
| [[Interpolate 1D Array function|Interpolate 1D Array]] | | [[Interpolate 1D Array function|Interpolate 1D Array]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Threshold 1D Array.png|Threshold 1D Array|link=Threshold 1D Array function]] | ! style="text-align: center;" | [[File:Threshold 1D Array.png|Threshold 1D Array|link=Threshold 1D Array function]] | ||
| [[Threshold 1D Array function|Threshold 1D Array ]] | | [[Threshold 1D Array function|Threshold 1D Array ]] | ||
| Accessing | | Accessing | ||
|- | |- | ||
! [[File:Interleave 1D Arrays.png|Interleave 1D Arrays|link=Interleave 1D Arrays function]] | ! style="text-align: center;" | [[File:Interleave 1D Arrays.png|Interleave 1D Arrays|link=Interleave 1D Arrays function]] | ||
| [[Interleave 1D Arrays function|Interleave 1D Arrays]] | | [[Interleave 1D Arrays function|Interleave 1D Arrays]] | ||
| | | Creating | ||
|- | |- | ||
! [[File:Decimate 1D Array.png|Decimate 1D Array|link=Decimate 1D Array function]] | ! style="text-align: center;" | [[File:Decimate 1D Array.png|Decimate 1D Array|link=Decimate 1D Array function]] | ||
| [[Decimate 1D Array function|Decimate 1D Array]] | | [[Decimate 1D Array function|Decimate 1D Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Transpose 2D Array.png|Transpose 2D Array|link=Transpose 2D Array function]] | ! style="text-align: center;" | [[File:Transpose 2D Array.png|Transpose 2D Array|link=Transpose 2D Array function]] | ||
| [[Transpose 2D Array function|Transpose 2D Array]] | | [[Transpose 2D Array function|Transpose 2D Array]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Array Constant.png|Array Constant|link=Array Constant]] | ! style="text-align: center;" | [[File:Array Constant.png|Array Constant|link=Array Constant]] | ||
| [[Array Constant|Array Constant]] | | [[Array Constant|Array Constant]] | ||
| Creating | | Creating | ||
|- | |- | ||
! [[File:Array To Cluster.png|Array To Cluster|link=Array To Cluster function]] | ! style="text-align: center;" | [[File:Array To Cluster.png|Array To Cluster|link=Array To Cluster function]] | ||
| [[Array To Cluster function|Array To Cluster]] | | [[Array To Cluster function|Array To Cluster]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Cluster To Array.png|Cluster To Array|link=Cluster To Array function]] | ! style="text-align: center;" | [[File:Cluster To Array.png|Cluster To Array|link=Cluster To Array function]] | ||
| [[Cluster To Array function|Cluster To Array]] | | [[Cluster To Array function|Cluster To Array]] | ||
| Creating | | Creating | ||
|- | |- | ||
! [[File:Array To Matrix.png|Array To Matrix|link=Array To Matrix function]] | ! style="text-align: center;" | [[File:Array To Matrix.png|Array To Matrix|link=Array To Matrix function]] | ||
| [[Array To Matrix function|Array To Matrix]] | | [[Array To Matrix function|Array To Matrix]] | ||
| Modifying | | Modifying | ||
|- | |- | ||
! [[File:Matrix To Array.png|Matrix To Array|link=Matrix To Array function]] | ! style="text-align: center;" | [[File:Matrix To Array.png|Matrix To Array|link=Matrix To Array function]] | ||
| [[Matrix To Array function|Matrix To Array]] | | [[Matrix To Array function|Matrix To Array]] | ||
| Creating | | Creating | ||
|- | |- | ||
! [[File:Remove Duplicates From 1D Array.png|Remove Duplicates From 1D Array|link=Remove Duplicates From 1D Array function]] | ! style="text-align: center;" | [[File:Remove Duplicates From 1D Array.png|Remove Duplicates From 1D Array|link=Remove Duplicates From 1D Array function]] | ||
| [[Remove Duplicates From 1D Array function|Remove Duplicates From 1D Array]] | | [[Remove Duplicates From 1D Array function|Remove Duplicates From 1D Array]] | ||
| Modifying | | Modifying | ||
Line 186: | Line 198: | ||
== History == | == History == | ||
{{ambox|text=History information is needed. What changes have occurred over previous versions?}} | |||
{| class="wikitable" | |||
! Version | |||
! Change(s) | |||
|- | |||
|[[File:LV2020SP1.png|frameless|border|64x64px|LabVIEW 2020|link=LabVIEW 2020]] | |||
| In [[LabVIEW 2020|LabVIEW 2020 SP1]], the [[Sort 1D Array function]] was replaced on the palette with the [[Sort 1D Array VI function]]. The [[Sort 1D Array function]] continues to exist but is no longer accessible from the palette. | |||
|} | |||
[[Category: | [[Category:Array Palette]] |
Latest revision as of 21:03, 8 March 2021
Object information | |
---|---|
Owning palette(s) | Programming palette |
Type | Palette |
Requires | Basic Development Environment |
Icon | ![]() |
The Array palette provides functions for array creation and manipulation.

Subpalettes
Icon | Name |
---|---|
![]() |
Matrix |
![]() |
Sorted Array |
Functions
Functions on this palette can be categorized into:
- Functions that create new arrays (Creating).
- Functions that modify existing arrays (Modifying).
- Functions that access data from arrays (Accessing).
History
![]() |
History information is needed. What changes have occurred over previous versions? |
Version | Change(s) |
---|---|
![]() |
In LabVIEW 2020 SP1, the Sort 1D Array function was replaced on the palette with the Sort 1D Array VI function. The Sort 1D Array function continues to exist but is no longer accessible from the palette. |