Database Management VIs
- Updated2023-02-21
- 2 minute(s) read
Owning Palette: Historical VIs
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 Database Management VIs to create, delete, and rename Citadel databases.
Refer to the Measurement & Automation Explorer Help for Historical Data Viewer, available by selecting Help»Help Topics»Historical Data Viewer in Measurement & Automation Explorer, for more information about the Citadel databases.
The VIs on this palette can return general LabVIEW error codes or specific LabVIEW Datalogging and Supervisory Control (DSC) Module error codes.
Palette Object | Description |
---|---|
Alarm & Event Archive | Performs an archival operation for alarms and events on a Citadel database. |
Archive Traces | Performs an archival operation on a Citadel database. |
Browse Database | Retrieves the URL of a Citadel database. After you run this VI, select a Citadel database from the Browse Database dialog box and click the OK button. This VI then returns the URL of the Citadel database. |
Compact Database | Compacts a Citadel database. Compacting a database frees extra room in the database that was created by deleted, archived, or lifespan–expired trace data. |
Create Database | Programmatically creates a Citadel database with the name specified by database name in the directory specified by database path on the computer specified by computer name. |
Delete Database | Programmatically removes the logical connection between the LabVIEW Datalogging and Supervisory Control (DSC) Module and a Citadel database. |
Delete Traces | Deletes a set of traces from a given Citadel database. Data deleted with this VI cannot be recovered. |
Detach Database | Programmatically removes the logical connection between the LabVIEW Datalogging and Supervisory Control (DSC) Module and a Citadel database and removes the database from the tree view of the Historical Data Viewer in Measurement & Automation Explorer (MAX). |
Get Database List | Lists all Citadel databases under a computer. |
Rename Historical Data | Renames the computer name, folders, traces, or paths to a process in a Citadel database. |