Direction

class Direction(value)[source][source]

Bases: Enum

Data-flow direction for OPNIC packet streams, expressed from the QUA program’s perspective and aligned 1:1 with Quarc’s Direction.

  • INCOMING — into the QUA program (classical/OPNIC -> OPX); the rcv / push_to_opx direction.

  • OUTGOING — out of the QUA program (OPX -> classical/OPNIC); the stream_back / fetch_from_opx direction.

  • BOTH — bidirectional.