Read previously defined CAN object from CAN interface.
encapsulated function readObject import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Communication.SocketCAN; import Modelica_DeviceDrivers.Packaging.SerialPackager; input SocketCAN socketCAN; input Integer can_id "CAN frame identifier"; input Integer can_dlc(min = 0, max = 8) "length of data in bytes (min=0, max=8)"; input SerialPackager pkg; end readObject;