TCPIPClient
This block creates a TCP/IP client and connects to a server.
Library
Communicate
Description
This block sends the input vector of type uint8 as a TCP/IP 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 | |
nout | With feedback | If set, an output is added for establishing a feedback connection. | Number | 0 |
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 |
---|---|---|---|---|
Port 1 | explicit | output | nout | |
Port 2 | explicit | input | 1 | |
Port 3 | activation | input | externalActivation |