Owning Palette: Historical VIs
Use the Database Management VIs to create, delete, and rename Citadel databases.
Refer to the Measurement & Automation Explorer Help for Historical Data Viewer, available in the Help»Help Topics menu in MAX, for more information about the Citadel databases.
The VIs on this palette can return general LabVIEW error codes or specific 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. |
| 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 DSC Module and a Citadel database, removes all Citadel-related files from their specified storage location, and removes the database directory unless non-Citadel files exist there. You cannot delete a remote database or a database that another application is using. |
| 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 DSC Module and a Citadel database and removes the database from the tree view of the Historical Data Viewer in Measurement & Automation Explorer (MAX). When you detach a Citadel database, National Instruments software no longer recognizes the database. Detach a database if you want to manually move the database files. |
| Rename Historical Data | Renames the computer name, folders, traces, or paths to a process in a Citadel database. |