Engee documentation

UDP RX

Page in progress.

Receive UDP messages over Ethernet.

blockType: EngeeFunction

Path in the library:

/Interfaces/UDP/UDP RX

Description

The UDP RX unit is used to receive 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

Параметры

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

Details

0.0.0.0.0 is the IP address to receive messages from any sender.

Default value

"0.0.0.0"

Program usage name

m_ip

Tunable

No

Evaluatable

Yes

# Порт: — the port to be listened to by the receiver

Details
Default value

5151

Program usage name

m_port

Tunable

No

Evaluatable

Yes

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

Details
Default value

128

Program usage name

m_buf_size

Tunable

No

Evaluatable

Yes

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

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes