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.
The VIs on this palette can return general LabVIEW error codes or specific DSC Module error codes.
| Palette Object | Description |
|---|---|
| Alarm & Event Query | Extracts data from a historical alarm and event database. |
| Alarm & Event Query to Spreadsheet File | Exports data from a historical alarm and event database to a delimited text or .html file. |
| Call HDV | Launches the Historical Data Viewer (HDV) from a VI programmatically. |
| Decimate Trace | Decimates, or resamples, historical trace data from the start timestamp to the stop timestamp. |
| Decimate Traces | Decimates, or resamples, historical trace data over the time interval specified from start timestamp to stop timestamp. |
| Get Trace Info | Obtains 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 List | Retrieves a list of trace names from a Citadel database based on a particular pattern. |
| Get Trace Statistics | Computes statistical data for a historical trace. |
| Read Trace | Reads the historical data for a given variable using the specified time interval, up to the max points per trace specified. |
| Read Traces | Reads 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 | Converts a set of historical traces into a string format that spreadsheet programs can read. |
| Write Traces to Spreadsheet File | Stores the data from a set of historical trends into a spreadsheet file. |
| Subpalette | Description |
|---|---|
| Database Management VIs | Use the Database Management VIs to create, delete, and rename Citadel databases. |
| Database Writing VIs | Use 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 VIs | Use the DataSets VIs to retrieve information or values for sets of logged data. |