Comparison operation

This task allows a jump to another sequence when a certain condition is met.

The two input variables and the operation parameter are evaluated. If the result of this comparison is ‘true’, the task jumps to the sequence of the sequence change True, if specified. If the result of the comparison is “false”, the task jumps to the sequence of the sequence change ‘False’, if specified.

If one of the conditions occurs and the corresponding optional sequence change is not set, the program execution continues with the next task of the active sequence. This means that there is no jump to another sequence.

Hint

The variable types of the two input variables x and y must match.

Variables

Input/Output

Name

Type

Description

Input

Input 1

Bool, Integer, Double, String, Pose, JointPosition, Product, Box, ROI, Obstruction, PickSearchParamSet

Operand 1

Input

Operation

Parameter

Selection of the comparison operation. The available operations depend on the variable type. For all variables:

  • ==

  • !=

Only for integer and double variables:

  • <

  • >

  • <=

  • >=

Only for bool variables:

  • AND

  • OR

  • NAND

  • NOR

Input

Input 2

Bool, Integer, Double, String, Pose, JointPosition, Product, Box, ROI, Obstruction, PickSearchParamSet

Operand 2

Sequence change

Name

Condition

Remark

True

The expression is true

Sequence change is optional

False

The expression is false

Sequence change is optional