Applies To:
  • CitectSCADA 2.00 2.01 3.00

The DevWrite command is used to add records to an SQL device. DevWrite is called once for each field in the table, and the last time it is called causes a new record to be created in the table. But if the device header does not contain the exact field list, including sizes, for the table the record will not be added correctly. If there are more fields in the actual device than in the header, there will be no record appended. 

CIT has confirmed this to be a problem in Citect for Windows versions 3.21, 4.01. This problem has been fixed in versions 3.22 and 4.10.

You may work around this problem my specifying the format of the SQL table correctly.