.Modelica_DeviceDrivers.ClockedBlocks.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 array 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
 UnpackUnsignedIntegerUnpack integer value encoded at bit level
 ResetPointerSet current writing/reading position of package to zero

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