UDP Receive Block

UDP Receive Block

The UDP Receive block reads data from the specified port. It will continue to output the last received value until new data is read.

Inputs

  • Sim Input: Optional bytes data that will be passed through in simulation mode

Outputs

  • bytes: bytes received from the socket.
  • Is Valid: A boolean representing whether the data is valid as determined by the Stale Age (ms) param

Parameters

  • Address (default = "127.0.0.1:34254"): The IP and port to bind to for receiving data.
  • Stale Age (ms) (default = 1000): Age from last valid data received when the block will output Is Valid as False