encapsulated function defineObject import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Communication.SoftingCAN; import Modelica_DeviceDrivers.Utilities.Types; import Modelica_DeviceDrivers; input SoftingCAN softingCAN "Handle for device"; input Integer ident "Identifier of CAN message (CAN Id)"; input Modelica_DeviceDrivers.Utilities.Types.TransmissionType transType "transmission type (receiving or sending)"; output Integer objectNumber "Object number of message. Needed for further queries regarding receiving/transmitting the message"; end defineObject;