Read data from object (CAN message)
encapsulated function readRcvData import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Communication.SoftingCAN; import Modelica_DeviceDrivers.Packaging.SerialPackager; input SoftingCAN softingCAN "Handle for device"; input Integer objectNumber "Object number of message (from defineObject(..))"; input SerialPackager pkg "Serial packager object with data buffer which is capable to take at least 8 elements"; end readRcvData;