The data that was added with AddValue(...) is saved to the SQL database with the SaveCycle call.
Syntax
C++
METHOD PUBLIC SaveCycle : BOOL
VAR_INPUT
END_VAR
Parameters
|
Parameter |
Description |
|---|---|
|
Return value |
TRUE: success
|
Example
C++
data : MnDataCollector := (m_sDatabase := '\mnplc\boot\testdata.db', m_DatabaseLimit := DATACOLLECTOR_DATALIMIT_ENTRIES, m_dwDatabaseSize := 5);
...
data.SaveCycle();
Requirements
Remarks