Compare Complex Value

From Visuino
Jump to navigation Jump to search

File:TArduinoComplexCompare.png

Summary

Compares a complex input signal to a predefined complex constant.

Description

The **Compare Complex Value** component compares the complex number received at its **In** pin with the constant defined in the **Value** property. The comparison is performed according to the **Compare Type** property (equal or not equal). The result of the comparison is output as a boolean at the **Out** pin.

This is useful when you need to check if a complex signal matches or differs from a reference complex value.

Diagram:

Categories

Properties

  • Enabled – Enables or disables the component.
  • Compare Type – Defines the comparison mode:
    • ctEqual** – True if the input equals the constant.
    • ctNotEqual** – True if the input does not equal the constant.
  • Value – The complex constant to compare against (Imaginary (X,Y), Real).

Pins

  • In – Complex input signal.
  • Out – Boolean output of the comparison.