UDPClient
This block creates a UDP client and connects to a server.
Library
Communicate
Description
This block sends the input vector of type uint8 as a UDP packet to the specified IP address and port number.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
host | Server IP | Defines the server's IP address | String | |
port | Port number | Defines the port number to use | Scalar | |
externalActivation | External Activation | This parameter defines if the block receives an external activation or inherits. When External Activation is used, a additional activation port is added to the block. default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
data | explicit | input | 1 | |
Port 2 | activation | input | externalActivation |