From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,239 Views)

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

0 Kudos
Message 2 of 5
(1,235 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,226 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,224 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,201 Views)