MDF Lib 2.2
Interface against MDF 3/4 files
Loading...
Searching...
No Matches
mdf::CgFlag Namespace Reference

Channel group flags.

Variables

constexpr uint16_t VlsdChannel = 0x0001
 Flag is used to indicate the this block is a variable length CG block.
 
constexpr uint16_t BusEvent = 0x0002
 Bus event flag.
 
constexpr uint16_t PlainBusEvent = 0x0004
 Plain bus event flag.
 
constexpr uint16_t RemoteMaster = 0x0008
 Remote master flag.
 
constexpr uint16_t EventSignal = 0x00010
 Event signal group. The group store events not values.
 

Variable Documentation

◆ VlsdChannel

uint16_t mdf::CgFlag::VlsdChannel = 0x0001
constexpr

If a CG block is marked as a variable length data (VLSD) block. This technique is used when writing byte arrays with variable length. Bus recorders uses this technique instead of using SD blocks.

The problem with SD blocks is that they need to be temporary stored in primary memory. For long time recording this is not acceptable due to the risk of loss of power during th measurement.

The draw-back is that the VLSD CG block requires some extra internal functionality both for reading and writing.