Applies To:
  • CitectSCADA 1.00, 1.01, 1.10, 1.11, 1.20, 2.00, 2.01

Summary:
If a database file is accessed by multiple users, you may get a "dBASE record locked by another user" error message (code 316) in Citect. Some networks do not unlock the files as quickly as expected, causing this error message to appear frequently. There are two new INI variables to work around this problem (which is due to slow performance of some networks).

[GENERAL]
LockRetry=1

allowable values 0 - 20
default value 0

If an operation fails because the file is locked, this parameter will cause Citect to retry the operation the number of times set in this parameter. Note that setting this parameter to a high value may considerably slow down Citect.

[GENERAL]
LockDelay=50

allowable values 0 - 100
default value 0

This parameter is the time delay in millisecond between trials. It is ignored if LockRetry is set to 0.

Under normal operation, no retries are necessary, however if you get errors due to "file locking" then set LockRetry between 2 to 10, and set the LockDelay to 50. You should not set a longer delay, because it can seriously affect Citect's performance.  


Solution:
These modifications have been introduced after version 2.01 and will be released with version 3.0. If you require this modification before version 3.0 contact Citect support. 

Keywords:
 

Attachments