LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array Size doesn't work correctly after "Auto-indexed Tunnel"

Array Size returns value even if Empty Array is detected after "Auto-indexed Tunnel" tha generates 2D array.

 

See example + VI with correct output as I expected.

 

OR

 

There is problem with generating 2D array --- It's empty. 1D array is generated in right way. 100 x 0 but not Emptu Array.

 

 

Download All
0 Kudos
Message 1 of 3
(3,342 Views)

Not a bug. This is correct behavior that is consistent with other parts of LabVIEW.

Untitled.png

The decision to handle multi-dimensional arrays like this was made long ago and is an enshrined part of the LabVIEW language spec. It will not be changed.

0 Kudos
Message 2 of 3
(3,335 Views)

I am not against the Initialize Array behavior, what I am against is this:

 

ReshapeArraySize.png

 

 

0 Kudos
Message 3 of 3
(3,296 Views)