Next Topic

Previous Topic

Book Contents

StoreStatisticalData

bool StoreStatisticalData(int iRecordSet,float fData,float fThreshold,string Unit)

Return values

True if data was successfully stored to statistical database, false if there was an parameter error.

Parameters

Remarks

This function gives the script the ability to store statistical data. Currently there is 8 channels that can be used for the purpose. The record set index parameter can be one of the following constants.

LUA_RECORDSET_1
LUA_RECORDSET_2
LUA_RECORDSET_3
LUA_RECORDSET_4
LUA_RECORDSET_5
LUA_RECORDSET_6
LUA_RECORDSET_7
LUA_RECORDSET_8