Skip to content

← network package

TCPInput

Receive data stream from inbound TCP connection.

This node receives numeric data as a multi-channel stream in an easy-to-parse text format, with customizable value and sample separators. This node acts as a TCP server and will listen for connections from a remote TCP client. More Info... Version 1.0.0

Ports/Properties

data

Data received.

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

listen_port

TCP port number on which this receiver is listening for connections.

  • verbose name: Listen Port
  • default value: 57318
  • port type: IntPort
  • value type: int (can be None)

channel_separator

Separating character or string that delimits individual channel values. The output will be a character stream where channel values are separated by this character.

  • verbose name: Channel Separator
  • default value: ,
  • port type: StringPort
  • value type: str (can be None)

sample_separator

Separating character or string that delimits multi-channel samples. The output will be a character stream where channel values are separated by this character.

  • verbose name: Sample Separator
  • default value:

  • port type: StringPort

  • value type: str (can be None)

sampling_rate

Nominal sampling rate of the data stream.

  • verbose name: Sampling Rate
  • default value: 125
  • port type: IntPort
  • value type: int (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)