HistorizationMode coding group

Call types to be used in History and Continuous Mode.

Lua access code

To access the code of the codings below, append the coding group name and coding name to syslib.model.codes, see an example below.

return syslib.model.codes.HistorizationMode.ALWAYS


Name Code Description
ALWAYS 3 The entire data historization (History and Continuous fetches) will exclusively use setvalue to historize the data. Use this option with care as it imposes performance loss
CONTINUOUS 2 All continuous data readings will use setvalue, historical data will be historized using sethistory
RECENTVALUE 1 The default call to historize data is sethistory (bypassing the faceplate and real-time interfaces), setvalue is only used for the most up-to-date value. This is the most optimal option in respect to perfomance