UDP Write block

Block Category: Real-Time

The UDP Write block writes data to the UDP port on the Ethernet. The top “Tx” pin must have a value of 1 for the block to send data. The subsequent pins are data pins. The values presented on the data pins are sent to the UDP port.

Data Element Type: Controls the data type of each output pin and the offset into packet.

Data Pins: Specifies the number of input pins (128 max).

Host Name or IP Address: Specifies the IP address or host name of target.

Packet Byte Size: Specifies the size of the packet to be written (512 bytes max).

Pack Offsets: Iterates over all pins and assigns consecutive ascending offsets to each pin.

Set All Pin Types = 1: Sets the data type of all pins to be same as pin 1, and then performs a Pack Offset.

UDP Port: Specifies the port to exchange data. It is recommended to use ports greater than 49151.