Compare Integer 64 bit Range

From Visuino
Jump to navigation Jump to search

File:TArduinoInteger64CompareRange.png

Summary

Checks whether a 64-bit integer input is within or outside a specified range.

Description

The **Compare Integer Range (Int64)** component monitors the incoming 64-bit integer on **In** and determines whether it falls inside or outside the configured **Range Min** and **Range Max** values. You can configure whether the range check includes the limits and whether the output should be active when the value is outside the range. This makes it useful for detecting when a signal is in a safe zone or exceeds critical thresholds.

Diagram:

Categories

Properties

  • Enabled – Enables or disables the component.
  • Include Limits – Boolean – when True, numbers exactly equal to **Range Min** (e.g., -1000) or **Range Max** (e.g., 1000) are counted as inside the range; when False, exact Min or Max values are treated as outside.
  • Is Outside Range – Boolean – when True, the output is active when the value is outside the range; when False, the output is active when the value is inside the range.
  • Range Max – 64-bit integer – the maximum bound of the range (default: 1000).
  • Range Min – 64-bit integer – the minimum bound of the range (default: -1000).

Pins

  • In – 64-bit integer input to be tested against the configured range.
  • Out – Boolean output that indicates whether the input meets the range condition.