functionconstructor
Creates an LCM instance.
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | provider | "udpm://" - UDP multicast, "file://" - logfile, "memq://" - memory queue | |
| String | address | IP address or logfile name | |
| Integer | port | Port (only relevant for UDP multicast provider) | |
| Integer | receiver | 1 | 0 - sender, 1 - receiver |
| String | channel | Receive channel | |
| Integer | bufferSize | 16*1024 | Size of receive buffer |
| Integer | queueSize | 30 | Size of message queue |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| LCM | lcm |