Engee documentation

UDP RX

Receiving UDP messages over Ethernet.

blockType: EngeeFunction

Path in the library:

/Interfaces/UDP/UDP RX

Description

To work with the block, install/update the support package. equipment.

Block UDP RX It is used for receiving UDP messages over Ethernet.

Ports

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

Parameters

Main group

# IP адрес: — The IPv4 address of the message sender

Details

0.0.0.0 — this is the IP address for receiving messages from any sender.

Default value

"0.0.0.0"

Program usage name

m_ip

Tunable

No

Evaluatable

Yes

# Port: — the port that will be listened to by the receiver

Details
Default value

5151

Program usage name

m_port

Tunable

No

Evaluatable

Yes

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

Details
Default value

128

Program usage name

m_buf_size

Tunable

No

Evaluatable

Yes

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

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes