02-02-2006 08:27 PM
02-02-2006 08:40 PM
I'm not sure from your post if you're talking about the array's actual data or its appearance on the front panel. If you're talking about the data, you can use the "Initialize Array" function in the Array subpalette. If you're talking about the front panel, you can change the number of visible objects in an array by enlarging it via its border, but that doesn't affect the actual size of the data in terms of the number of elements.
If this answer doesn't help you, please explain your problem in more detail...it's especially helpful if you attach a VI illustrating the problem you're having.
Good luck,
-D
02-02-2006 09:41 PM
02-02-2006 10:14 PM
02-02-2006 10:26 PM
Hi samah,
To add slightly to what CC said, let's say you want an array of 100 random numbers. To do this in LabVIEW, you would drop the Random Number function inside a For Loop, and wire that function to the For Loop's border. Then you would create an indicator off the output tunnel of the For Loop that you just created. Voila...an array of 100 random numbers. Notice this didn't involve sizing anything on the front panel.
Check out the on-line help in LabVIEW on arrays for more information, and there are also some examples involving the manipulation of arrays in your [LabVIEW]\examples\general folder...in particular, arrays.llb has some good examples.
Hope this helps,
-D
02-02-2006 11:01 PM