LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array

I am simply looking for where I would find the icon to display or store an array. The example of building an array shows a dbl for the array output but I cant find that dbl on any palette.
0 Kudos
Message 1 of 5
(3,366 Views)

You have to drop an array "shell" from the Array, Matrix, and Cluster palette. Then drop a Numeric control from the Numeric palette within that array shell.  Voila!  A DBL array.

You should read the LabVIEW Help for more information about arrays.

-D

0 Kudos
Message 2 of 5
(3,356 Views)
If you have e.g. an output terminal with a DBL array on your diagram (e.g. from a subVI or calculation), simply right-click on it and select "create indicator". 😉
 
(You can equally well create a control or diagram constant of the corret type the same way). 😄
0 Kudos
Message 3 of 5
(3,337 Views)

Guys.. I m creating a array with DBL. But i dun get u all. How can i find a DBL constant???

Moreover what the use of array constant??? How to create a set of fixed value of array??

0 Kudos
Message 4 of 5
(3,055 Views)

You wont/cant find a Dbl constant in the functions palette; but, you can use the I32 constant in the Numeric palette & change its representation to Dbl by rt-clicking it --> Representation --> Dbl. Smiley Happy

The use of an array constant is that you can have/initialize an array variable with a fixed/constant value in your program. Also, you can initialize a shift register [SR] with an array constant.

After dropping an empty array container constant on the BD, just drop the I32 constant into it & change its representation to Dbl using the procedure I explained above. Then just using your labeling/text tool, type the value you want into each of those Dbl element inside the array constant to initialize it upto the desired no. of elements, thats it. Smiley Happy

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 5
(3,051 Views)