Historical VIs

LabVIEW 2017 Datalogging and Supervisory Control Module Help

Edition Date: March 2017

Part Number: 371618K-01

»View Product Info
Download Help (Windows Only)

Owning Palette: DSC Module VIs and Functions

Requires: DSC Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Historical VIs to obtain or read historical data about a shared variable, resample trace data, compute statistical data for a historical trace, query logged alarm and event data, or convert historical trace data to a spreadsheet format.

Note  The VIs on this palette interact with data in the Citadel database only.

The VIs on this palette can return general LabVIEW error codes or specific DSC Module error codes.

Palette ObjectDescription
Alarm & Event QueryExtracts data from a historical alarm and event database.
Alarm & Event Query to Spreadsheet FileExports data from a historical alarm and event database to a delimited text or .html file.
Call HDVLaunches the Historical Data Viewer (HDV) from a VI programmatically.
Decimate TraceDecimates, or resamples, historical trace data from the start timestamp to the stop timestamp.
Decimate TracesDecimates, or resamples, historical trace data over the time interval specified from start timestamp to stop timestamp.
Get Trace InfoObtains the first and last timestamp available in the Citadel historical database for a given shared variable and the type of the shared variable: analog, bit array, discrete, string, or variant.
Get Trace ListRetrieves a list of trace names from a Citadel database based on a particular pattern.
Get Trace StatisticsComputes statistical data for a historical trace.
Read TraceReads the historical data for a given variable using the specified time interval, up to the max points per trace specified.

You must manually select the polymorphic instance to use.
Read TracesReads the historical data for a group of traces using the specified time interval, up to the max points per trace specified.

You must manually select the polymorphic instance to use.
Write Traces to SpreadsheetConverts a set of historical traces into a string format that spreadsheet programs can read.
Write Traces to Spreadsheet FileStores the data from a set of historical trends into a spreadsheet file.


SubpaletteDescription
Database Management VIsUse the Database Management VIs to create, delete, and rename Citadel databases.
Database Writing VIsUse the Database Writing VIs to write data directly to the Citadel historical database without needing to configure and run a shared variable using the Shared Variable Engine (SVE). You can log data not automatically logged by the SVE or import data from an external data source to the Citadel database.
DataSets VIsUse the DataSets VIs to retrieve information or values for sets of logged data.

Note  The VIs on this palette interact with data in the Citadel database only.

WAS THIS ARTICLE HELPFUL?

Not Helpful