RITM-TCP RECV
Receiving data using a connection received from the RITM-TCP Server or RITM-TCP CLIENT blocks.
blockType: CFunction
Path in the library:
|
Description
To work with the block, install/update the support package RITM blocks. |
Block RITM-TCP RECV It is used to receive data using a 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 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 |