Real-time UDP (Universal Datagram Protocol) is a transport protocol for transferring data to and from a UDP-compatible device with an Ethernet board. Real-time UDP runs on top of the Ethernet protocol. For more information about the UDP standard, see UDP Transport Protocol.
Simulink® Real-Time™ provides two implementations of the UDP protocol, a dedicated Ethernet board and a shared Ethernet board.
The dedicated Ethernet board implementation uses a separate Ethernet board that is compatible with PCI standard bus architectures, such as PCI, PCI Express®, and PXI®. Configure the UDP Configure block with the PCI bus and slot number of the dedicated Ethernet board. You can run this implementation of the protocol from a real-time application that is running on the target computer and transfer data to and from a UDP-compatible device.
The shared Ethernet board implementation uses the same Ethernet port as the target computer uses to communicate with the development computer. Configure the UDP Send and UDP Receive blocks to use the host-target connection setting. In this mode, you do not need a UDP Configure block. You can run this implementation of the protocol from a real-time application that is running on the target computer. You can also run it from a Simulink model that is running on the development computer.
|UDP Configure||Initialize Ethernet network interface to use for UDP communication in real-time applications|
|UDP Receive||Receive data over UDP network from a remote device|
|UDP Send||Send data over UDP network to a remote device|
Learn about communication between the target computer and other devices with UDP packets.
Learn about UDP communication via a connection that is shared between the development and target computers.
Use the UDP library blocks for communication with a shared and with a dedicated connection.
Adapt variable-size signals for processing by UDP blocks.