functionsendToUDP
Extends from Modelica.Icons.Function (Icon for functions).
Information
The function was copied from the Modelica_DeviceDrivers library and changed to the degree that the variable "port" is no longer of the type Integer but Real instead.- November 2016: Adapted from Modelica_DeviceDrivers by Felix Bünning
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.Communication.UDPSocket | socket | ||
| String | ipAddress | IP address where data has to be sent | |
| Real | port | Port number where data has to be sent | |
| Modelica_DeviceDrivers.Packaging.SerialPackager | pkg | ||
| Integer | dataSize | Size of data | |
| Real | dummy |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dummy2 |