private ¶ prvGetActionName (Method) prvGetErrorDescription (Method) prvGetFunctionName (Method)
TrendFbTrendStorageWriterReader (FB) ¶ FUNCTION_BLOCK TrendFbTrendStorageWriterReader IMPLEMENTS ITrendStorageWriterBufferClient This functionblock can be used to read data directly from a ITrendStorageWriter Methods: GetAndResetIsCleared GetMinMaxTimestampsFromBuffer Initialize Read ReleaseDB ShrinkMemory BuildBuffer CleanBuffer InitializeBufferReader Structure: GetAndResetIsCleared (Method) GetMinMaxTimestampsFromBuffer (Method) ITrendStorageWriterBufferClient BuildBuffer (Method) CleanBuffer (Method) InitializeBufferReader (Method) Initialize (Method) Read (Method) ReleaseDB (Method) ShrinkMemory (Method)
TrendFbTrendStorageWriterReader.GetAndResetIsCleared (METH) ¶ METHOD GetAndResetIsCleared : BOOL InOut: Scope Name Type Return GetAndResetIsCleared BOOL
TrendFbTrendStorageWriterReader.GetMinMaxTimestampsFromBuffer (METH) ¶ METHOD GetMinMaxTimestampsFromBuffer : UDINT This method returns the min/max timestamps of the data in the local buffer InOut: Scope Name Type Comment Return GetMinMaxTimestampsFromBuffer UDINT An error code indicating, whether the processing was successful or not Output liMinTimestamp LINT Returns minimum timestamp liMaxTimestamp LINT Returns maximum timestamp
ITrendStorageWriterBufferClient ¶ BuildBuffer (Method) CleanBuffer (Method) InitializeBufferReader (Method)
ITrendStorageSizeMonitor.GetDatabaseFileSize (METH) ¶ METHOD GetDatabaseFileSize : LINT This function returns the size in byte of the trend DB InOut: Scope Name Type Return GetDatabaseFileSize LINT
ITrendStorageSizeMonitor.LastReorderingTime (PROP) ¶ PROPERTY LastReorderingTime : TIME This property gets/sets the last DB reorganization time
ITrendStorageSizeMonitor.PercDBLimit (PROP) ¶ PROPERTY PercDBLimit : INT This property gets/sets the percentage used to check the DB size: the DB size is reduced by this percentage if the set limit is exceeded.
ITrendStorageSizeMonitor.RecordSizeFactor (PROP) ¶ PROPERTY RecordSizeFactor : REAL This property gets/sets the factor for changing the record size used to control the size of the DB: the number of records to be deleted at each reorganisation is calculated on the basis of an empirically calculated size, this size can be changed by this factor.
ITrendStorageSizeMonitor.ReorderingCount (PROP) ¶ PROPERTY ReorderingCount : INT This property gest/sets the counter of DB reordering already done.