SavePastSample Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SavePastSample() method inserts a new sample whose values were collected in the past into the Data_Log table, using the passed values.
| Overload | Description |
|---|---|
| SavePastSample(Int32,Int32,Int32,DateTime,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString) | The SavePastSample() method adds a new data log record whose values were collected in the past into the Data_Log table, using the passed values. 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. Note: This method can only add data log values from 1 to 48 to the Data_Log table. If you need to add past-collected data log values from 49 to 64, you can use the DataLog.Add() method. |
| SavePastSample(Int32,String,String,String,DateTime,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString) | The SavePastSample() method adds a new data log record whose values were collected in the past into the Data_Log table, using the passed values. In this overload of the method, the data log group is identified by its group description and the entity is identified by its entity name and site name. Note: This method can only add data log values from 1 to 48 to the Data_Log table. If you need to add past-collected data log values from 49 to 64, you can use the DataLog.Add() method. |