ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D array of boolean to boolean

hello, i need help. this error occurred and i don't know what to do.

0 Kudos
Message 1 of 3
(3,315 Views)

You have a 2D array of booleans and you indexed out column 0.  That leaves you with a 1-D array of booleans.  Which of those elements do you want?

 

You should wire up a value to the row index of the Index Array as well in order to get a single value out of the 2-D array of booleans.

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

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

Do you know about "wire styles"?  Do you know what the colors mean?  Do you know what a "thin" wire, a "thick" wire, and a "thicker wire with a white center" (so it looks like a doubled thin wire) represents?  You should have learned this in a very early "Introduction to LabVIEW" lesson.

 

Have you done any computer programming?  Or math?  Do you know the difference between a number (a.k.a. a "scalar") and a 1-D array (a.k.a. a "vector")?  If not, pay attention to these concepts when you review the material that RavensFan recommended.

 

Bob Schor

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