.Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager

Blocks for constructing packages

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

Name Description
 Internal
 Packager Create a package which allows to add signals of various types
 AddBoolean Add a Boolean vector to package
 AddInteger Add an Integer array to package
 AddReal Add a Real vector to package
 AddFloat Cast all elements of Real vector to float and add to package (loss of precision!)
 AddString Add String to package
 GetBoolean Get Boolean vector from package
 GetInteger Get Integer vector from package
 GetReal Get Real vector from package
 GetFloat Get float vector from package (all values casted to double before assigning it to Modelica Real array)
 GetString Get String from package
 PackUnsignedInteger Encode (non-negative) integer value at bit level
 UnpackUnsignedInteger Unpack integer value encoded at bit level
 ResetPointer Set current writing/reading position of package to zero

Generated at 2026-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos