Applies To:
  • CitectSCADA 3.xx, 4.xx, 5.xx

Summary:
When using the "Copy to File" button on an Event Trend page at runtime, it seems only the field headings are saved to the file. Why is this? 

Solution:
It is caused by a coding error in the ExportFileButton() cicode function within the Zoom.ci include file.  For versions of Citect prior to 5.30, the fix can be made manually by changing the line:

nSamples = _TrendZoomGetSamples(hAn, nEnd, nStart, fPeriod);

to

nSamples = _TrendZoomGetSamples(hAn, nEnd, nStart, fPeriod, -1, 1);

in the cicode function ExportFileButton() in the file zoom.ci, within the default Citect include project.

CIT has confirmed this to be a problem in Citect for Windows versions 3.xx, 4.xx and 5.xx.  This problem has been fixed in Citect version 5.30.

 

Keywords:
 

Attachments