UDP Client Send

Block to send a data packet as a client to a UDP server.

Description

With this block you can send a data packet to a UDP server at the specified IP address on the specified port.

Remarks

Input

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

Parameters
IP address 1
First quad of the destination IP address.

IP address 2
Second quad of the destination IP address.

IP address 3
Third quad of the destination IP address.

IP address 4
Fourth quad of the destination IP address.

Port
Port to send the data packet on. This is the port that the receiving UDP server is listening on.

Input port
Number of input ports for this block.

Input type
Select the data type each input 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).

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.