IDatabaseFileAlarmStorage9.CheckRecordLimitReachedUDINT (METH)ΒΆ
METHOD CheckRecordLimitReachedUDINT : STO.Error
This method checks, whether a FileLimit of type <c>FileLimit.Records</c> has been configured. and if the number of records has reached this size. Uses UDINT for number of rows.
- InOut:
Scope
Name
Type
Comment
Return
CheckRecordLimitReachedUDINTSTO.ErrorInput
itfTableSTO.ITableThe table, whose number of rows has to be checked
iCountRetriesINTThe number of retries of a database action, that might fail due to a busy database.
udiCountRowsToInsertUDINTThe number of rows, that will be inserted after the rows have been deleted from the alarm storage
xForceBOOLForce to use the record limit
Output
xLimitBOOLudiMaxRecordCountUDINT