UDP Server Receive

Block to read data from the UDP server's internal receive buffer.

Description

With this block you can access the data of the data packet that was most recently received by the UDP server.

Remarks

Output

Data (port 1-32)
The output type depends on the configuration.
The amount of outputs depends on the configuration.

Parameters
Output ports
Number of output ports for this block.

Output datatype
Select the data type each output port will use.

Byte ordering
Set the appropriate byte ordering for your CAN message:
Checkbox checked = Most Significant Bit (MSB) is send first (Motorola format).
Checkbox unchecked = Least Significant Bit (LSB) is send first (Intel format).

Start index
The UDP server's receive buffer can be seen as an array of bytes. This parameter enables you to select the index of the byte where the read operation will start at.

Sample time
Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.