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: 

array boolean

Hi all,
 
sorry that i post such a trivia question but i can't make any sense of it.
 
how do i solve this problem? Please see attached.
 
Thank you
0 Kudos
Message 1 of 3
(3,142 Views)

Your input is an array of string, thus the output is an array of booleans of the same dimension and size, one answer per element.

One possible solution:

right-click on the broken wire and select "insert", browse to the boolean palette and either select "And array elements" or "Or array elements" for the following effect:

  1. "And array elements": you get a
    1. TRUE if all elements are empty and
    2. FALSE if at least one is not empty.
  2. "Or array elements": you get a
    1. TRUE if at least one of the strings is empty
    2. FALSE if all are not empty.

Pick what you need. 🙂

Message Edited by altenbach on 08-27-2007 08:48 PM

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

Hi altenbach,

Thank you for your kind assistance. 🙂

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