Skip to content

Logic

Logic - All

Check if all booleans in Input are true

IN

Name Type Description
InValues BoolArray The input value
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutResult Bool Logic result: true if all input values are true
Error ErrorState Gets the execution error message

Logic - Any

Check if at least one boolean is true

IN

Name Type Description
InValues BoolArray The input value
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutResult Bool Logic result: true if at least one input is true
Error ErrorState Gets the execution error message

Logic - BitMaskAnd

Performs logic And operation between two bitmasks

IN

Name Type Description
InBitMask1 BoolArray The first bitmask as boolean array
InBitMask2 BoolArray The second bitmask as boolean array
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The calculated bitmask
Error ErrorState Gets the execution error message

Logic - BitMaskLeftShift

Performs Left-Shift operation of a bitmask by given number

IN

Name Type Description
InBitMask BoolArray The input bitmask as boolean array
InCount Int The left shift count
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The shifted bitmask
Error ErrorState Gets the execution error message

Logic - BitMaskNot

Performs logic Not operation of a bitmask

IN

Name Type Description
InBitMask BoolArray The input bitmask as boolean array
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The calculated bitmask
Error ErrorState Gets the execution error message

Logic - BitMaskOr

Performs logic Or operation between two bitmasks

IN

Name Type Description
InBitMask1 BoolArray The first bitmask as boolean array
InBitMask2 BoolArray The second bitmask as boolean array
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The calculated bitmask
Error ErrorState Gets the execution error message

Logic - BitMaskRightShift

Performs Right-Shift operation of a bitmask by given number

IN

Name Type Description
InBitMask BoolArray The input bitmask as boolean array
InCount Int The right shift count
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The shifted bitmask
Error ErrorState Gets the execution error message

Logic - BitMaskToByte

Converts a bitmask to a byte value

IN

Name Type Description
InBitMask BoolArray The input bitmask as boolean array
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutValue Byte The transformed byte value
Error ErrorState Gets the execution error message

Logic - BitMaskToInt

Converts a bitmask to a integer value

IN

Name Type Description
InBitMask BoolArray The input bitmask as boolean array
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutValue Int The transformed integer value
Error ErrorState Gets the execution error message

Logic - BitMaskXor

Performs logic Xor operation between two bitmasks

IN

Name Type Description
InBitMask1 BoolArray The first bitmask as boolean array
InBitMask2 BoolArray The second bitmask as boolean array
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The calculated bitmask
Error ErrorState Gets the execution error message

Logic - ByteToBitMask

Converts a byte value to a bitmask

IN

Name Type Description
InValue Byte The byte value
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The transformed bitmask
Error ErrorState Gets the execution error message

Logic - IntToBitMask

Converts a integer value to a bitmask

IN

Name Type Description
InValue Int The integer value
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutBitMask BoolArray The transformed bitmask
Error ErrorState Gets the execution error message

Logic - LogicalOperation

Performs a logical operation between two boolean values

IN

Name Type Description
InOperation Enum The logic operation type
InValue1 Bool The first input
InValue2 Bool The second input
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutResult Bool The logic result
Error ErrorState Gets the execution error message

Logic - LogicDimensionAnd

Performs a logic And operation of all dimensions tools in the current task.The result is true if in all dimensions IsOk=true

IN

Name Type Description
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutResult Bool The logic result
Error ErrorState Gets the execution error message

Logic - LogicDimensionOr

Performs a logic Or operation of all dimensions tools in the current task.The result is true if at least in one dimension IsOk=true

IN

Name Type Description
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutResult Bool The logic result
Error ErrorState Gets the execution error message

Logic - Not

Performs a logic Not operation on a single boolean value

IN

Name Type Description
InValue Bool The input value
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutResult Bool The negate
Error ErrorState Gets the execution error message

Logic - Only

Checks if inside a boolean array exists only one value equals 'true'

IN

Name Type Description
InValues BoolArray The input collection
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutResult Bool True if only one 'true' value exists
Error ErrorState Gets the execution error message