Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Historical VIs

Owning Palette: DSC Module VIs and Functions

Installed With: 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.

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

Palette ObjectDescription
Alarm & Event Query to Spreadsheet FileExports data from a historical alarm and event database to a delimited text or .html file.
Alarm & Event QueryExtracts data from a historical alarm and event database.
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 in trace specified.
Read TracesReads the historical data for a group of traces using the specified time interval, up to the max points per trace specified.
Write Traces to Spreadsheet FileStores the data from a set of historical trends into a spreadsheet file.
Write Traces to SpreadsheetConverts a set of historical traces into a string format that spreadsheet programs can read.


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. You can log data not automatically logged by the Shared Variable Engine 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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit