Module: programming

Traditional programming constructs.

These nodes implement control flow and data structure handling as it is known from traditional programming.

ArrayLookup

Look up a value from an array (by index).

This node can be used to implement look-up tables. Basically, this node accepts an input value that is an integer, and the output of the node is the value of an array at that index (0-based). The array is predefined as one of the configuration parameters of the node.

Version 1.0.0

Ports/Properties

  • 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)
  • outdata
    Value to emit.

    • verbose name: Outdata
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • index
    Index into array for lookup.

    • verbose name: Index
    • default value: 0
    • port type: IntPort
    • value type: int (can be None)
  • array
    Array from which to look up an element by index.

    • verbose name: Array
    • default value: None
    • port type: ListPort
    • value type: list (can be None)
  • bounds_check
    How out of bounds access should be handled. Error will raise an error, and emit-none will cause None to be emitted.

    • verbose name: Bounds Check
    • default value: error
    • port type: EnumPort
    • value type: object (can be None)

BreakStructure

Break up a structure into its items based on their name.

The outputs are matched based on user-settable keys, i.e., if the third name argument is 'blah' and there is a valuein the dictionary that is associated with the name 'blah', then that value will be output over the third output port of this node.

Version 1.0.0

Ports/Properties

  • 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)
  • indict
    Input dict.

    • verbose name: Indict
    • default value: None
    • port type: DataPort
    • value type: dict (can be None)
    • data direction: IN
  • defaults_type
    Type of the default values. If set to object, the default values are (safely) evaluated.

    • verbose name: Defaults Type
    • default value: str
    • port type: EnumPort
    • value type: object (can be None)
  • name0
    Name 0.

    • verbose name: Name0
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default0
    Default value for output 0.

    • verbose name: Default0
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out0
    Output 0.

    • verbose name: Out0
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name1
    Name 1.

    • verbose name: Name1
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default1
    Default value for output 1.

    • verbose name: Default1
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out1
    Output 1.

    • verbose name: Out1
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name2
    Name 2.

    • verbose name: Name2
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default2
    Default value for output 2.

    • verbose name: Default2
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out2
    Output 2.

    • verbose name: Out2
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name3
    Name 3.

    • verbose name: Name3
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default3
    Default value for output 3.

    • verbose name: Default3
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out3
    Output 3.

    • verbose name: Out3
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name4
    Name 4.

    • verbose name: Name4
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default4
    Default value for output 4.

    • verbose name: Default4
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out4
    Output 4.

    • verbose name: Out4
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name5
    Name 5.

    • verbose name: Name5
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default5
    Default value for output 5.

    • verbose name: Default5
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out5
    Output 5.

    • verbose name: Out5
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name6
    Name 6.

    • verbose name: Name6
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default6
    Default value for output 6.

    • verbose name: Default6
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out6
    Output 6.

    • verbose name: Out6
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name7
    Name 7.

    • verbose name: Name7
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default7
    Default value for output 7.

    • verbose name: Default7
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out7
    Output 7.

    • verbose name: Out7
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name8
    Name 8.

    • verbose name: Name8
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default8
    Default value for output 8.

    • verbose name: Default8
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out8
    Output 8.

    • verbose name: Out8
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name9
    Name 9.

    • verbose name: Name9
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default9
    Default value for output 9.

    • verbose name: Default9
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out9
    Output 9.

    • verbose name: Out9
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name10
    Name 10.

    • verbose name: Name10
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default10
    Default value for output 10.

    • verbose name: Default10
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out10
    Output 10.

    • verbose name: Out10
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name11
    Name 11.

    • verbose name: Name11
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default11
    Default value for output 11.

    • verbose name: Default11
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out11
    Output 11.

    • verbose name: Out11
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name12
    Name 12.

    • verbose name: Name12
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default12
    Default value for output 12.

    • verbose name: Default12
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out12
    Output 12.

    • verbose name: Out12
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name13
    Name 13.

    • verbose name: Name13
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default13
    Default value for output 13.

    • verbose name: Default13
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out13
    Output 13.

    • verbose name: Out13
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name14
    Name 14.

    • verbose name: Name14
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • default14
    Default value for output 14.

    • verbose name: Default14
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out14
    Output 14.

    • verbose name: Out14
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT

CastPacketToFloat

Cast the given input packet to a float (floating-point number).

Version 1.0.0

Ports/Properties

  • 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)
  • indata
    Input packet.

    • verbose name: Indata
    • default value: None
    • port type: DataPort
    • value type: Packet (can be None)
    • data direction: IN
  • outdata
    Output floating-point value.

    • verbose name: Outdata
    • default value: None
    • port type: DataPort
    • value type: float (can be None)
    • data direction: OUT

CastPacketToInt

Cast the given input packet to an int (integer number).

Version 1.0.0

Ports/Properties

  • 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)
  • indata
    Input packet.

    • verbose name: Indata
    • default value: None
    • port type: DataPort
    • value type: Packet (can be None)
    • data direction: IN
  • outdata
    Output int value.

    • verbose name: Outdata
    • default value: None
    • port type: DataPort
    • value type: int (can be None)
    • data direction: OUT

CastPacketToList

Cast the given input packet to a list of floats.

The dimensions of the contained block will all be flattened into a 1d array.

Version 1.0.0

Ports/Properties

  • 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)
  • indata
    Input packet.

    • verbose name: Indata
    • default value: None
    • port type: DataPort
    • value type: Packet (can be None)
    • data direction: IN
  • outdata
    Output list value.

    • verbose name: Outdata
    • default value: None
    • port type: DataPort
    • value type: list (can be None)
    • data direction: OUT

CastPacketToString

Cast the given input marker stream packet to a string.

Version 1.0.0

Ports/Properties

  • 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)
  • indata
    Input packet.

    • verbose name: Indata
    • default value: None
    • port type: DataPort
    • value type: Packet (can be None)
    • data direction: IN
  • outdata
    Output string value.

    • verbose name: Outdata
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: OUT

ConditionSwitch

Basic conditional switch node.

The node has one data input, which can be of any type, and several data outputs, which can take on 1 or 0 (i.e., boolean). The node has a set of pre-defined values labeled value1 to valueN that are the different cases to be tested. If the input matches any of the pre-defined values, the corresponding output is set to 1, and otherwise to 0. Multiple outputs can be set to 1 if their values match the condition. The various outputs can be wired into the "update" port of subsequent nodes to control whether these nodes will be executed or not.

Version 1.0.0

Ports/Properties

  • 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)
  • input
    Input condition.

    • verbose name: Input
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • value1
    Value to compare to. Usually a scalar.

    • verbose name: Value1
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out1
    Executed if input matches the value.

    • verbose name: Out1
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • value2
    Value to compare to. Usually a scalar.

    • verbose name: Value2
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out2
    Executed if input matches the value.

    • verbose name: Out2
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • value3
    Value to compare to. Usually a scalar.

    • verbose name: Value3
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out3
    Executed if input matches the value.

    • verbose name: Out3
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • value4
    Value to compare to. Usually a scalar.

    • verbose name: Value4
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out4
    Executed if input matches the value.

    • verbose name: Out4
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • value5
    Value to compare to. Usually a scalar.

    • verbose name: Value5
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • out5
    Executed if input matches the value.

    • verbose name: Out5
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • out_default
    Executed if input matches none of the values.

    • verbose name: Out Default
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT

ConditionTest

Basic condition test node.

The node has one input of arbitrary type and two outputs that can take on values 0 or 1, named true and false. Further, the node has a predefined value to compare to, and optionally the type of comparison can be specified. If the comparison between the value and the input yields True, then the output named "true" outputs 1, and otherwise the output named "false" yields 1. These outputs can be wired to the "update" port of subsequent nodes to control whether these nodes shall execute (i.e., be updated) or not.

Version 1.0.0

Ports/Properties

  • 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)
  • input
    Input condition.

    • verbose name: Input
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • true
    True branch. Executed if condition is true.

    • verbose name: True
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • false
    False branch. Executed if condition is false.

    • verbose name: False
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • value
    The value to compare to. Usually a scalar.

    • verbose name: Comparison Value
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • operator
    Comparison operator to use. Tests whether the input is greater/less/etc than the given value.

    • verbose name: Comparison Operator
    • default value: equal
    • port type: EnumPort
    • value type: object (can be None)
  • collapse_op
    Collapse operation. This is optional and only used if the input is an array.

    • verbose name: Collapse Operation
    • default value: all
    • port type: EnumPort
    • value type: object (can be None)

ConstantBool

Declare a boolean constant.

Version 1.0.0

Ports/Properties

  • 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)
  • data
    Value to emit.

    • verbose name: Data
    • default value: None
    • port type: DataPort
    • value type: bool (can be None)
    • data direction: OUT
  • value
    Constant value.

    • verbose name: Value
    • default value: None
    • port type: BoolPort
    • value type: bool (can be None)

ConstantFloat

Declare a floating-point constant.

Version 1.0.0

Ports/Properties

  • 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)
  • data
    Value to emit.

    • verbose name: Data
    • default value: None
    • port type: DataPort
    • value type: float (can be None)
    • data direction: OUT
  • value
    Constant value.

    • verbose name: Value
    • default value: None
    • port type: FloatPort
    • value type: float (can be None)

ConstantInt

Declare an integer constant.

Version 1.0.0

Ports/Properties

  • 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)
  • data
    Value to emit.

    • verbose name: Data
    • default value: None
    • port type: DataPort
    • value type: int (can be None)
    • data direction: OUT
  • value
    Constant value.

    • verbose name: Value
    • default value: None
    • port type: IntPort
    • value type: int (can be None)

ConstantList

Declare a list constant.

THis node can also be used to convert scalar values (e.g., floats, ints) into a single-element list.

Version 1.0.0

Ports/Properties

  • 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)
  • data
    Value to emit.

    • verbose name: Data
    • default value: None
    • port type: DataPort
    • value type: list (can be None)
    • data direction: OUT
  • value
    Constant value.

    • verbose name: Value
    • default value: []
    • port type: Port
    • value type: object (can be None)
  • parse_string
    Attempt to parse string values.

    • verbose name: Parse String
    • default value: True
    • port type: BoolPort
    • value type: bool (can be None)

ConstantString

Declare a string constant.

Version 1.0.0

Ports/Properties

  • 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)
  • data
    Value to emit.

    • verbose name: Data
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: OUT
  • value
    Constant value.

    • verbose name: Value
    • default value: None
    • port type: StringPort
    • value type: str (can be None)

CreateList

Create a list from the given input values.

Version 1.0.0

Ports/Properties

  • 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)
  • outlist
    Output list.

    • verbose name: Outlist
    • default value: None
    • port type: DataPort
    • value type: list (can be None)
    • data direction: OUT
  • in0
    Input 0.

    • verbose name: In0
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in1
    Input 1.

    • verbose name: In1
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in2
    Input 2.

    • verbose name: In2
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in3
    Input 3.

    • verbose name: In3
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in4
    Input 4.

    • verbose name: In4
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in5
    Input 5.

    • verbose name: In5
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in6
    Input 6.

    • verbose name: In6
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in7
    Input 7.

    • verbose name: In7
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in8
    Input 8.

    • verbose name: In8
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • in9
    Input 9.

    • verbose name: In9
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • none_if_empty
    Output None if all inputs are empty.

    • verbose name: Output None If All Empty
    • default value: False
    • port type: BoolPort
    • value type: bool (can be None)
  • verbose
    Enable verbose output.

    • verbose name: Verbose
    • default value: False
    • port type: BoolPort
    • value type: bool (can be None)

CreateStructure

Create a structure (dictionary) from a list of names and values.

More correctly, the output is a Python dict of packets, indexed by name.

Version 1.0.0

Ports/Properties

  • 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)
  • outdict
    Output dict.

    • verbose name: Outdict
    • default value: None
    • port type: DataPort
    • value type: dict (can be None)
    • data direction: OUT
  • name0
    Name 0.

    • verbose name: Name0
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in0
    Input 0.

    • verbose name: In0
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name1
    Name 1.

    • verbose name: Name1
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in1
    Input 1.

    • verbose name: In1
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name2
    Name 2.

    • verbose name: Name2
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in2
    Input 2.

    • verbose name: In2
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name3
    Name 3.

    • verbose name: Name3
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in3
    Input 3.

    • verbose name: In3
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name4
    Name 4.

    • verbose name: Name4
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in4
    Input 4.

    • verbose name: In4
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name5
    Name 5.

    • verbose name: Name5
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in5
    Input 5.

    • verbose name: In5
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name6
    Name 6.

    • verbose name: Name6
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in6
    Input 6.

    • verbose name: In6
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name7
    Name 7.

    • verbose name: Name7
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in7
    Input 7.

    • verbose name: In7
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name8
    Name 8.

    • verbose name: Name8
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in8
    Input 8.

    • verbose name: In8
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • name9
    Name 9.

    • verbose name: Name9
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • in9
    Input 9.

    • verbose name: In9
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • none_if_empty
    Output None if all inputs are empty.

    • verbose name: Output None If All Empty
    • default value: True
    • port type: BoolPort
    • value type: bool (can be None)
  • verbose
    Enable verbose output.

    • verbose name: Verbose
    • default value: False
    • port type: BoolPort
    • value type: bool (can be None)

ListIterator

Iterate over a list of objects.

This node accepts a list of items. On each successive update this node will then output one of these values at a time, until the list is exhausted.

Version 1.0.0

Ports/Properties

  • 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)
  • curitem
    Current item.

    • verbose name: Curitem
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • items
    Items to iterate over. This node will output one item on each update, until the list is exhausted.

    • verbose name: Items To Iterate Over
    • default value: []
    • port type: ListPort
    • value type: list (can be None)

NWayPassthrough

Pass the input data through to the output.

Can be used to enforce sequential dependencies.

Version 1.0.0

Ports/Properties

  • 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)
  • 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

Passthrough

Pass the input data through to the output if the update flag is set.

Version 1.0.0

Ports/Properties

  • 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)
  • indata
    Input packet.

    • verbose name: Indata
    • default value: None
    • port type: DataPort
    • value type: Packet (can be None)
    • data direction: IN
  • outdata
    Output value.

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

SelectActiveInput

Pick the value from the active input port.

This node accepts multiple inputs of any type and one output. The node assumes that at most one of the inputs is not None, and it will then output that value, or None if all inputs are None. This node is typically used to rejoin multiple conditionally forking paths, for instance different processing chains that are selectively enabled by a ConditionSwitch node.

Version 1.0.0

Ports/Properties

  • 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)
  • input1
    Input alternative 1.

    • verbose name: Input1
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • input2
    Input alternative 2.

    • verbose name: Input2
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • input3
    Input alternative 3.

    • verbose name: Input3
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • input4
    Input alternative 4.

    • verbose name: Input4
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • input5
    Input alternative 5.

    • verbose name: Input5
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: IN
  • output
    The value of the one input that is active.

    • verbose name: Output
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT

SplitList

Split a list into multiple strings or integers.

Supports up to 10 items. This node is primarily used to make it easy to assign a series of values, such as channel names, file names, etc. to multiple nodes (one value per node).

Version 1.0.0

Ports/Properties

  • 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)
  • list
    List to split

    • verbose name: List
    • default value: None
    • port type: DataPort
    • value type: list (can be None)
    • data direction: IN
  • out1
    list item 1

    • verbose name: Out1
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out2
    list item 2

    • verbose name: Out2
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out3
    list item 3

    • verbose name: Out3
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out4
    list item 4

    • verbose name: Out4
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out5
    list item 5

    • verbose name: Out5
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out6
    list item 6

    • verbose name: Out6
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out7
    list item 7

    • verbose name: Out7
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out8
    list item 8

    • verbose name: Out8
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out9
    list item 9

    • verbose name: Out9
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • out10
    list item 10

    • verbose name: Out10
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT

StringConcat

Concatenate the given strings into one output string.

Version 1.0.0

Ports/Properties

  • 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)
  • data1
    Input string 1.

    • verbose name: Data1
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: IN
  • data2
    Input string 2.

    • verbose name: Data2
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: IN
  • data3
    Input string 3.

    • verbose name: Data3
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: IN
  • data4
    Input string 4.

    • verbose name: Data4
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: IN
  • data5
    Input string 5.

    • verbose name: Data5
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: IN
  • outstring
    Concatenated output string.

    • verbose name: Outstring
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: OUT

StringFormat

Format a string with placeholders.

This node accepts a string, as well as multiple optional values. The string may contain placeholder symbols, that will be substituted by the respective values. This is similar to the printf() functionality in C and similar programming languages, and the same syntax can be used.

More Info...

Version 1.0.0

Ports/Properties

  • 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)
  • result
    Formatted result string.

    • verbose name: Result
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: OUT
  • string
    Format string with placeholders. The placeholders can be of the form %s, %i, %f and so on.

    • verbose name: String
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • placeholder_style
    Type of syntax to accept for placeholders. printf is the %s style syntax known from the C programming language, and format is Python's new {0} style placeholder syntax.

    • verbose name: Placeholder Style
    • default value: printf
    • port type: EnumPort
    • value type: object (can be None)
  • value1
    Value 1. This value, if any, will be substituted into the 1st placeholder slot.

    • verbose name: Value1
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value2
    Value 2. This value, if any, will be substituted into the 2nd placeholder slot.

    • verbose name: Value2
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value3
    Value 3. This value, if any, will be substituted into the 3rd placeholder slot.

    • verbose name: Value3
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value4
    Value 4. This value, if any, will be substituted into the 4th placeholder slot.

    • verbose name: Value4
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value5
    Value 5. This value, if any, will be substituted into the 5th placeholder slot.

    • verbose name: Value5
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value6
    Value 6. This value, if any, will be substituted into the 6th placeholder slot.

    • verbose name: Value6
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value7
    Value 7. This value, if any, will be substituted into the 7th placeholder slot.

    • verbose name: Value7
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value8
    Value 8. This value, if any, will be substituted into the 8th placeholder slot.

    • verbose name: Value8
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value9
    Value 9. This value, if any, will be substituted into the 9th placeholder slot.

    • verbose name: Value9
    • default value: None
    • port type: Port
    • value type: object (can be None)
  • value10
    Value 10. This value, if any, will be substituted into the 10th placeholder slot.

    • verbose name: Value10
    • default value: None
    • port type: Port
    • value type: object (can be None)

StringParse

Parse a string using a pattern with placeholders in it.

This node is essentially the reverse of StringFormat and supports different placeholder styles. This can be used to parse for example subject or session names out of file paths. Note that, if you also happen to be iterating over multiple files, the PathIterator is probably the better tool to do this parsing.

Version 0.1.0

Ports/Properties

  • 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)
  • string
    Input string to parse.

    • verbose name: String
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: IN
  • pattern
    String pattern for parsing. Different syntaxes are supported.

    • verbose name: Pattern
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • pattern_type
    Pattern type. The python type is modeled after Python's contemporary format string with {xxx} placeholders, the datestr type is %H%M%S style date/time format strings, and the regex type are regular expressions.

    • verbose name: Pattern Type
    • default value: python
    • port type: EnumPort
    • value type: object (can be None)
  • name1
    Placeholder name 1.

    • verbose name: Name1
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out1
    Output 1.

    • verbose name: Out1
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name2
    Placeholder name 2.

    • verbose name: Name2
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out2
    Output 2.

    • verbose name: Out2
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name3
    Placeholder name 3.

    • verbose name: Name3
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out3
    Output 3.

    • verbose name: Out3
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name4
    Placeholder name 4.

    • verbose name: Name4
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out4
    Output 4.

    • verbose name: Out4
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name5
    Placeholder name 5.

    • verbose name: Name5
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out5
    Output 5.

    • verbose name: Out5
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name6
    Placeholder name 6.

    • verbose name: Name6
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out6
    Output 6.

    • verbose name: Out6
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name7
    Placeholder name 7.

    • verbose name: Name7
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out7
    Output 7.

    • verbose name: Out7
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name8
    Placeholder name 8.

    • verbose name: Name8
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out8
    Output 8.

    • verbose name: Out8
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name9
    Placeholder name 9.

    • verbose name: Name9
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out9
    Output 9.

    • verbose name: Out9
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT
  • name10
    Placeholder name 10.

    • verbose name: Name10
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • out10
    Output 10.

    • verbose name: Out10
    • default value: None
    • port type: DataPort
    • value type: object (can be None)
    • data direction: OUT

StringReplace

Replace a pattern in a string by a subtitution string.

The pattern can either be a literal string or a regular expression.

Version 1.0.0

Ports/Properties

  • 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)
  • string
    String to process.

    • verbose name: String
    • default value: None
    • port type: DataPort
    • value type: str (can be None)
    • data direction: INOUT
  • pattern
    Pattern to replace in string.

    • verbose name: Pattern
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • substitution
    String to insert in place of the pattern.

    • verbose name: Substitution
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • pattern_type
    Type of pattern search for. Literal means that each literal occurrence of the pattern will be substituted by the substitution string. Regex means that the pattern is interpreted as a regular expression.

    • verbose name: Pattern Type
    • default value: literal
    • port type: EnumPort
    • value type: object (can be None)