From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Equal? (G Dataflow)

Last Modified: January 12, 2018

Compares two values and returns True only if the values are equal to each other.

This node can also compare an array or cluster of a data type to a scalar of the same data type and produce an array or cluster of Boolean values.

connector_pane_image
datatype_icon

x

First value to compare. x must be either the same type as y or composed of the same type as y.

This input supports all data types.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

datatype_icon

y

Second value to compare. y must be either the same type as x or composed of the same type as x.

This input supports all data types.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

datatype_icon

x = y?

Boolean result of the operation.

When you compare two arrays, x = y? is a scalar in Compare Aggregates mode and a Boolean array in Compare Elements mode (default).

Behavior for NaN Inputs

If at least one input is NaN (not a number), this node returns FALSE. To compare inputs with a value of NaN, use Not a Number/Path/Refnum?.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an optimized FPGA VI)

Web Server: Supported in VIs that run in a web application


Recently Viewed Topics