Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

UDP Produce

Produce UDP packet by adding a UDP header to the input data

Library

Simulink® Real-Time™ Library for PTP UDP

Description

The UDP Produce block receives a network buffer and adds a header to that buffer. It then outputs that updated buffer.

Block Parameters

IP Group

Enter a number in the range 0 to 7. This value identifies the IP Init block inside the Real-Time UDP Configuration subsystem that is associated with this block.

IP address to send to (255.255.255.255 for broadcast)

Specify IP address of the target computer to which to send the UDP packets. To broadcast the packets to all listening computers or devices, enter 255.255.255.255. With Remote IP port to send to, this parameter defines the destination address.

Remote IP port to send to

Specify the target computer port to which to send the UDP packets. With IP address to send to (255.255.255.255 for broadcast), this parameter defines the destination address.

Use the following local IP port (-1 for automatic assignment)

Specify the target computer port from which to send the UDP packets.

Enter -1 to automatically assign a port for the target computer.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

See Also

External Websites

Introduced in R2011a

Was this topic helpful?