Add Modelica Real encoded as float (double is casted to float!)
encapsulated function addRealAsFloat import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Packaging.SerialPackager; import Modelica_DeviceDrivers.Utilities.Types.ByteOrder; input SerialPackager pkg; input Real u[:]; input ByteOrder byteOrder; end addRealAsFloat;