functionreadP
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.Communication.TCPIPServer | tcpipserver | ||
| Modelica_DeviceDrivers.Packaging.SerialPackager | pkg | ||
| Integer | clientIndex | Index of the TCP/IP client | |
| Integer | recvbuflen | Size of receive buffer |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nRecvBytes | Number of received bytes. If 0 it means that no new data is available. |