Skip to content

← programming package

NWayPassthrough

Pass the input data through to the output.

Can be used to enforce sequential dependencies. Specifically, all inputs that come in before the node are evaluated before anything that comes after the node, and furthermore, inputs are evaluated in the order in which they are wired into this node. Optionally, specify the number of inputs which must contain data in order for all streams to be passed through (on each tick). This can be used to cause a branch of a pipeline to wait until multiple inputs are being received (i.e., signal data and marker stream) before passing the data through. Version 1.1.0

Ports/Properties

data1

Data 1.

  • verbose name: Data1
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data2

Data 2.

  • verbose name: Data2
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data3

Data 3.

  • verbose name: Data3
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data4

Data 4.

  • verbose name: Data4
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data5

Data 5.

  • verbose name: Data5
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data6

Data 6.

  • verbose name: Data6
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data7

Data 7.

  • verbose name: Data7
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data8

Data 8.

  • verbose name: Data8
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

data9

Data 9.

  • verbose name: Data9
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

required_inputs

Required number of inputs. If data is not received in at least this many inputs, None will be output for this tick.

  • verbose name: Required Inputs
  • default value: 0
  • port type: IntPort
  • value type: int (can be None)

allow_empty_packets

When determining whether the number of required inputs is satisfied, count incoming packets that have no data as valid streams. Set this to True if you want to allow Marker streams through as they are likely to intermittently have empty data packets.

  • verbose name: Allow Empty Packets
  • default value: True
  • port type: BoolPort
  • value type: bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)