Owning Palette: DSC Module VIs and Functions
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 To Spreadsheet File | Exports data from a historical alarm and event database to a delimited text or .html file. |
| Alarm & Event Query | Extracts data from a historical alarm and event database. If you also supply a valid control reference to a table or multicolumn listbox, the query results are sent to the control. |
| Call HDV | Launches the Historical Data Viewer (HDV) from a VI programmatically. To launch the Historical Data Viewer in Measurement & Automation Explorer (MAX) in its default state, leave the inputs unwired. To override the defaults, wire one or more inputs. |
| 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 in trace specified. |
| Read Traces | Reads the historical data for a group of shared variables using the specified time interval, up to the max points per trace specified. |
| Write Traces to Spreadsheet File | Stores the data from a set of historical trends into a spreadsheet file. |
| Write Traces to Spreadsheet | Converts a set of historical traces into a string format that spreadsheet programs can read. |
| 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. 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 VIs | Use the DataSets VIs to retrieve information or values for sets of logged data. |