Applies To:
  • CitectSCADA 5.20, 5.21, 5.21 Service Pack A, 5.21 Service Pack B

As a default the TrnExportCSV() cicode function will put the record Field Names as the first record in the file. A new mode 0x0010 has been added so that the field names are not added. This will allow you to access these CSV files from a Citect ASCII device.

CIT has confirmed this to be a problem in Citect for Windows versions 3.XX to 5.21 Service Pack C. This problem has been fixed in version 5.21 Service Pack D.

To avoid the record field's name included in the output CSV file, add the new mode 0x0010 with the other modes when calling TrnExportCSV() function.