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

MES Stateless API

AddSample Method

AddSample() 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.

Note: This method has been superseded by the SaveSample() method. That method provides two overloads for adding data log records, one using ID numbers to identify the data log group and entity and the other using the group description and entity and site names.

In This Topic
TitleResults for “How to create a CRG?”Also Available in