.Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager

Information

The concept of the SerialPackager is to allow adding/retrieving data to/from a package in a device independent manner. See Getting started.

Contents

NameDescription
 Internal
 PackagerCreate a package which allows to add signals of various types
 AddBooleanAdd a Boolean vector to package
 AddIntegerAdd an Integer vector to package
 AddRealAdd a Real vector to package
 AddFloatCast all elements of Real vector to float and add to package (loss of precision!)
 AddStringAdd string to package
 GetBooleanGet Boolean vector from package
 GetIntegerGet Integer vector from package
 GetRealGet Real vector from package
 GetFloatGet float vector from package (all values casted to double before assigning it to Modelica Real array)
 GetStringGet String from package
 PackUnsignedIntegerEncode (non-negative) integer value at bit level
 UnpackUnsignedIntegerdecode integer value encoded at bit level
 ResetPointerSet current writing/reading position of package to zero

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos