modelUDPSend
A block for sending UDP datagrams
Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices), Modelica_DeviceDrivers.Utilities.Icons.UDPconnection (Base icon for models of network connections), Modelica_DeviceDrivers.Utilities.Icons.PartialClockedDeviceDriverIcon.
Information
Supports sending of User Datagram Protocol (UDP) datagrams.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Outgoing data | |||
| Boolean | autoBufferSize | true | true, buffer size is deduced automatically, otherwise set it manually. |
| Integer | userBufferSize | 16*1024 | Buffer size of message data in bytes (if not deduced automatically). |
| String | IPAddress | "127.0.0.1" | IP address of remote UDP server |
| Integer | port_send | 10002 | Target port of the receiving UDP server |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.PackageIn | pkgIn |