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: 

compare

I'm working in labview and I need to compare to a value with zero, if this value is zero the output should be zero, does somebody know any tool for this?

0 Kudos
Message 1 of 4
(2,585 Views)

What do you want the result to be if it is not zero?

 

Sounds like a boolean to me.

 

What are yo trying to do?

 

Example.png

Tim
GHSP
0 Kudos
Message 2 of 4
(2,584 Views)

Of course, we must be careful with comparison with floats. Otherwise, you will owe me another nickel in my retirement fund..

0 Kudos
Message 3 of 4
(2,575 Views)

A wire will do that.  If a zero comes into the wire, a zero will come out.  😛

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 4
(2,557 Views)