Example Code

Save DSC Historical Trends to a File

Code and Documents

Attachment

I need to create reports on the data stored in the Historical Trends Citadel Database from my LabVIEW Datalogging and Supervisory Control application.

I need this data in a comma separated value format for legacy reporting purposes.

This VI can be used in any DSC application that uses historical trends to save the trend data to a delimeted file of you choice, or even to an external SQL database if the save to spreadsheet file is replaced with databse acess code.

Store Trends to CSV BD.png

Block Diagram code in LabVIEW 2010 format

N.B The attached code was saved in LabVIEW 8.6.1 and the VI Snippet was created in LabVIEW 2010

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors