Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

And

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Computes the logical AND of the inputs. Both inputs must be Boolean or numeric values. If both inputs are TRUE, the function returns TRUE. Otherwise, it returns FALSE.

Note  This function performs bit-wise operations on numeric inputs.

The connector pane displays the default data types for this polymorphic function.

Example

x must be a Boolean value or a number. It can be a scalar, array or cluster of numbers or Boolean values, array of clusters of numbers or Boolean values, and so on.
y must be a Boolean value or a number. It can be a scalar, array or cluster of numbers or Boolean values, arrays of clusters of numbers or Boolean values, and so on.
x .and. y? is the logical AND of x and y.

Example

Refer to the And VI in the labview\examples\general\functions\Boolean directory for an example of using the And function.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit