Using CitectSCADA > Logging and Trending Data > Exporting Trend Data

Exporting Trend Data

You can export trend data to reports and databases with the following functions:

Function

Purpose

TrnGetTable

Retrieves trend information and stores it in a Cicode array

TrnExportClip

Copies trend data to the clipboard

TrnExportCSV

Copies trend data to a CSV file

TrnExportDBF

Copies trend data to a DBF file

The standard trend templates have buttons that call these functions to export data.

Note: You can also select part of your trend graph (click and drag) and copy the underlying values to the Windows clipboard. You can then paste them into an Excel spreadsheet. (If you are pasting millisecond values, you will need to create a custom format for the TIME column to display these values correctly. To do this, select the column and select Format | Cells. In the Number tab, select Custom for Category, and type h:mm:ss.000 AM/PM.)

See Also