Compress Record (compress)

The data compression record is used to collect and compress data from arrays. When the INP field references a data array field, it immediately compresses the entire array into an element of an array using one of several algorithms, overwriting the previous element. If the INP field obtains its value from a scalar-value field, the compression record will collect a new sample each time the record is processed and add it to the compressed data array as a circular buffer.

The INP link can also specify a constant; however, if this is the case, the compression algorithms are ignored, and the record support routines merely return after checking the FLNK field.

Record-specific Menus

The ALG field which uses this menu controls the compression algorithm used by the record.

IndexIdentifierChoice String
0 compressALG_N_to_1_Low_Value N to 1 Low Value
1 compressALG_N_to_1_High_Value N to 1 High Value
2 compressALG_N_to_1_Average N to 1 Average
3 compressALG_Average Average
4 compressALG_Circular_Buffer Circular Buffer
5 compressALG_N_to_1_Median N to 1 Median

The BALG field which uses this menu controls whether new values are inserted at the beginning or the end of the VAL array.

IndexIdentifierChoice String
0 bufferingALG_FIFO FIFO Buffer
1 bufferingALG_LIFO LIFO Buffer

Parameter Fields

The record-specific fields are described below.

FieldSummaryTypeDCT DefaultReadWriteCA PP
VALValueDOUBLE[]No YesYesYes

...