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

Database Management VIs (DSC Module)

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 ObjectDescription
Alarm & Event ArchivePerforms an archival operation for alarms and events on a Citadel database.
Archive TracesPerforms an archival operation on a Citadel database.
Compact DatabaseCompacts a Citadel database. Compacting a database frees extra room in the database that was created by deleted, archived, or lifespan–expired trace data.
Create DatabaseProgrammatically 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 DatabaseProgrammatically 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 TracesDeletes a set of traces from a given Citadel database. Data deleted with this VI cannot be recovered.
Detach DatabaseProgrammatically 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 DataRenames the computer name, folders, traces, or paths to a process in a Citadel database.


Resources


 

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