RITM-TCP RECV
Receive data using the connection received from RITM-TCP Server or RITM-TCP CLIENT units.
blockType: CFunction
Path in the library:
|
Description
The RITM-TCP RECV block is used to receive data using the connection received from the RITM-TCP Server or RITM-TCP CLIENT blocks.
Ports
Input
#
Connection
—
connection information received from the RITM-TCP Server or RITM-TCP CLIENT unit.
scalar
Details
Data types |
|
Complex numbers support |
No |
Output
#
Size
—
number of bytes received
scalar
Details
Not more than the value of the Maximum message size parameters. If there is more data in the operating system buffer, it will be read in the next calculation step.
Data types |
|
Complex numbers support |
No |
#
Data
—
array of received bytes
vector
Details
Data types |
|
Complex numbers support |
No |
#
Status
—
information about the status of the transfer completion, non-zero status indicates an error
scalar
Details
Data types |
|
Complex numbers support |
No |
Parameters
Параметры
# Максимальный размер сообщения: — maximum possible length of the received message
Details
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
# Шаг расчёта, с: — calculation step in seconds for receiving messages in the real-time application
Details
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |