From OpenSCADAWiki
Data:
The data acquisition mode/source (enumeration — TVArchive::SrcMode):
- SRC_SaveCur (-1) — save current mode in the commands;
- SRC_Passive (0) — passive mode of the data acquisition, the source puts the data into the archive itself;
- SRC_DAQAttr (1) — the data acquisition from the DAQ attribute when the DAQ attribute puts the data into the archive itself;
- SRC_DAQAttrAct (2) — active mode of the data acquisition from the DAQ attribute when the DAQ attribute is periodically polled by the subsystem "Archives";
The data combination mode (enumeration — TVArchive::CombMode):
- CMB_MovAver (0) — moving average;
- CMB_LastVal (1) — last-previous value;
- CMB_MinVal (2) — minimum value;
- CMB_MaxVal (3) — maximum value;
- CMB_FromArchiver (4) — specified by an archiver.
Data modes of the service request "Requesting for values of the specified value archive" (enumeration — TVArchive::ServReqDtMode):
- DM_Simple (0) — simple record, one item per line;
- DM_Pack (1) — packed record, one adjacent equal (rounded) value per line;
- DM_Bin (2) — array of unpacked binary values encoded by Base64.