LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need help with booleans

I have been able to change an array of boolean switches to an array of numbers

using the "Boolean To (0,1)" function. I would like to do the opposite of
this now
but don't know how. There doesn't seem to be any functions for this. Does

anyone know how to do this?
i.e. number array to boolean array

Thanks,
0 Kudos
Message 1 of 3
(2,761 Views)
use the 'Not Equal to 0?' function from the comparison menu

-Franz

Greg schrieb:

> I have been able to change an array of boolean switches to an array of numbers
>
> using the "Boolean To (0,1)" function. I would like to do the opposite of
> this now
> but don't know how. There doesn't seem to be any functions for this. Does
>
> anyone know how to do this?
> i.e. number array to boolean array
>
> Thanks,
0 Kudos
Message 2 of 3
(2,761 Views)
Thanks Franz! Your solution was way to simple. You wouldn't believe how
many different
things I tried to get it to work. I would have never thought of using the
"Not Equal to zero" function. And It works great!! Thanks again for your
help


Franz Josef Ahlers wrote:
>use the 'Not Equal to 0?' function from the comparison menu>>-Franz>>Greg
schrieb:>>> I have been able to change an array of boolean switches to an
array of numbers>>>> using the "Boolean To (0,1)" function. I would like
to do the opposite of>> this now>> but don't know how. There doesn't seem
to be any functions for this. Does>>>> anyone know how to do this?>> i.e.
number array to boolean array>>>> Thanks,>
0 Kudos
Message 3 of 3
(2,761 Views)