Get float from package (float is casted to double)
encapsulated function getRealFromFloat import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Packaging.SerialPackager; import Modelica_DeviceDrivers.Utilities.Types.ByteOrder; input SerialPackager pkg; input Integer n; input ByteOrder byteOrder; output Real y[n]; end getRealFromFloat;