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
CheckRecordLimitReachedUDINT
STO.Error
Input
itfTable
STO.ITable
The table, whose number of rows has to be checked
iCountRetries
INT
The number of retries of a database action, that might fail due to a busy database.
udiCountRowsToInsert
UDINT
The number of rows, that will be inserted after the rows have been deleted from the alarm storage
xForce
BOOL
Force to use the record limit
Output
xLimit
BOOL
udiMaxRecordCount
UDINT