Breadcrumbs

SaveCycle

The data that was added with AddValue(...) is saved to the SQL database with the SaveCycle call.

Syntax

  Func_FbSaveCycle_MnDataCollector.bmp

C++
METHOD PUBLIC SaveCycle : BOOL
VAR_INPUT
END_VAR


Parameters

Parameter

Description 

Return value 

TRUE: success
FALSE: failed 



Example

C++
data : MnDataCollector := (m_sDatabase := '\mnplc\boot\testdata.db', m_DatabaseLimit := DATACOLLECTOR_DATALIMIT_ENTRIES, m_dwDatabaseSize := 5); 

... 

data.SaveCycle();


Requirements



Remarks