Modelica_DeviceDrivers.Blocks.Communication

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
Modelica_DeviceDrivers.Blocks.Communication.SharedMemoryRead SharedMemoryRead A block for reading data out of shared memory buffers
Modelica_DeviceDrivers.Blocks.Communication.SharedMemoryWrite SharedMemoryWrite A block for writing data in a shared memory
Modelica_DeviceDrivers.Blocks.Communication.UDPReceive UDPReceive A block for receiving UDP datagrams
Modelica_DeviceDrivers.Blocks.Communication.UDPSend UDPSend A block for sending UDP datagrams
Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN SoftingCAN Support for Softing's CAN interfaces utilizing their CANL2 API library
Modelica_DeviceDrivers.Blocks.Communication.SocketCAN SocketCAN ALPHA feature. Support for the Linux Controller Area Network Protocol Family (aka Socket CAN)

Modelica_DeviceDrivers.Blocks.Communication.SharedMemoryRead Modelica_DeviceDrivers.Blocks.Communication.SharedMemoryRead

A block for reading data out of shared memory buffers

Information


Supports reading from a named shared memory partition. The name of the shared memory partition is provided by the parameter memoryID. If the shared memory partition does not yet exist during initialization, it is created.

Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices), Modelica_DeviceDrivers.Utilities.Icons.SharedMemoryIcon (Base icon for shared memory blocks).

Parameters

NameDescription
sampleTimeSample time for input update
Shared memory partition
autoBufferSizetrue, buffer size is deduced automatically, otherwise set it manually
userBufferSizeBuffer size of shared memory partition in bytes (if not deduced automatically)
memoryIDID of the shared memory buffer

Connectors

NameDescription
pkgOut 

Modelica_DeviceDrivers.Blocks.Communication.SharedMemoryWrite Modelica_DeviceDrivers.Blocks.Communication.SharedMemoryWrite

A block for writing data in a shared memory

Information


Supports writing to a named shared memory partition. The name of the shared memory partition is provided by the parameter memoryID. If the shared memory partition does not yet exist during initialization, it is created.

Extends from Modelica_DeviceDrivers.Utilities.Icons.BaseIcon (Base icon for blocks providing access to external devices), Modelica_DeviceDrivers.Utilities.Icons.SharedMemoryIcon (Base icon for shared memory blocks).

Parameters

NameDescription
sampleTimeSample time for update
Shared memory partition
autoBufferSizetrue, buffer size is deduced automatically, otherwise set it manually
userBufferSizeBuffer size of shared memory partition in bytes (if not deduced automatically)
memoryIDID of the shared memory buffer

Connectors

NameDescription
pkgIn 

Modelica_DeviceDrivers.Blocks.Communication.UDPReceive Modelica_DeviceDrivers.Blocks.Communication.UDPReceive

A block for receiving UDP datagrams

Information


Supports receiving of User Datagram Protocol (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).

Parameters

NameDescription
sampleTimeSample time for input update
Incoming data
autoBufferSizetrue, buffer size is deduced automatically, otherwise set it manually
userBufferSizeBuffer size of message data in bytes (if not deduced automatically)
port_recvListening port number of the server. Must be unique on the system

Connectors

NameDescription
pkgOut 

Modelica_DeviceDrivers.Blocks.Communication.UDPSend Modelica_DeviceDrivers.Blocks.Communication.UDPSend

A block for sending UDP datagrams

Information


Supports sending of User Datagram Protocol (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).

Parameters

NameDescription
sampleTimeSample time for update
Outgoing data
autoBufferSizetrue, buffer size is deduced automatically, otherwise set it manually.
userBufferSizeBuffer size of message data in bytes (if not deduced automatically).
IPAddressIP address of remote UDP server
port_sendTarget port of the receiving UDP server

Connectors

NameDescription
pkgIn 

Automatically generated Tue Oct 1 14:26:57 2013.