LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What does #0 mean?

Playing around with for loops today and discovered that while a for will not execute if you feed 0 to the N terminal, the output array will propagate through to a sum operation.  

 

The sum is zero (because the sum of nothing is nothing?) but what does the "#0" error(?) code mean?  Is it shorthand for empty array or NULL?  Where should I look in the Labview help for documentation on this?

 

nmoorewsu_0-1611883317704.png

 

  

0 Kudos
Message 1 of 5
(1,201 Views)

Change your 0 constant to a 1 or 2 and see what you get then...

0 Kudos
Message 2 of 5
(1,197 Views)

It is saying that you have an empty array (0 elements).


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
0 Kudos
Message 3 of 5
(1,188 Views)

Ok, so array size. Thanks.  Again, where in the documentation should I look for this?  

 

nmoorewsu_0-1611884274079.png

 

 

0 Kudos
Message 4 of 5
(1,186 Views)

It's the kind of thing you learn by taking the tutorials.

 

I don't think anyone who has used LabVIEW would know where to find such a specific thing in documentation.

0 Kudos
Message 5 of 5
(1,163 Views)