Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateless API

SaveSample(Int32,Int32,Int32,DBInt,DBInt,DBString,DBString) Method

SaveSample(Int32,Int32,Int32,DBInt,DBInt,DBString,DBString) Method

The SaveSample() method adds a data log record to the Data_Log table, using the current values stored in the Data_Log_Value table as the sample values. This facilitates using the PLC to collect values from external servers and save them independently, and then trigger a new sample to be logged to the relevant Data_Log table.

In this overload of the method, the data log group is identified by its group ID and the entity is identified by its entity ID.

In This Topic