LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The size of the array in the data indicator

Hi,all

Good evening. Do you know how to determine that how many rows of the array in the data2 indicator? Thanks a lot.

 

Best,

lh666

 VI.png

0 Kudos
Message 1 of 7
(4,868 Views)

Create a property node for the array indicator.  Set the property to read to "Number of Rows".

Message 2 of 7
(4,837 Views)

@lh6666 wrote:

Good evening. Do you know how to determine that how many rows of the array in the data2 indicator?


If you are asking for the number of visible rows on the indicator, then you use the property node as RavensFan already told you.  If you want to know the number of rows in the data held in the indicator, then your Array Size will tell you that.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 7
(4,831 Views)

Since you are autoindexing at the output tunnel, you get one row per iteration. When the loop stops, the number of rows will be the final value of the iteration terminal+1.

Message 4 of 7
(4,814 Views)

Hi

I am preparing fro the CLAD and using simulated DAQ 9178. The same VI producing me 19000 row but the answer book says should be 2 rows 5 column. Please give some advice.

0 Kudos
Message 5 of 7
(4,576 Views)

This is an old thread.  Are you sure you are using the same VI that was shown above?

 

I suggest starting a new thread and attach the VI you created.

0 Kudos
Message 6 of 7
(4,568 Views)
0 Kudos
Message 7 of 7
(4,553 Views)