Engee documentation

RITM-TCP RECV

Receive data using the connection received from RITM-TCP Server or RITM-TCP CLIENT units.

blockType: CFunction

Path in the library:

/RITM/RITM TCP/RITM-TCP RECV

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

Float64.

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

UInt32.

Complex numbers support

No

# Data — array of received bytes
vector

Details
Data types

Float64.

Complex numbers support

No

# Status — information about the status of the transfer completion, non-zero status indicates an error
scalar

Details
Data types

Float64.

Complex numbers support

No

Parameters

Параметры

# Максимальный размер сообщения: — maximum possible length of the received message

Details
Default value

1

Program usage name

m_numOfTransmitBytes

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds for receiving messages in the real-time application

Details
Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes