LabVIEW Datalogging and Supervisory Control Module

Table of Contents

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 ObjectDescription
Alarm & Event ArchivePerforms an archival operation for alarms and events on a Citadel database.
Archive TracesPerforms an archival operation on a Citadel database.
Browse DatabaseRetrieves 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 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 LabVIEW Datalogging and Supervisory Control (DSC) Module and a Citadel database.
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 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 ListLists all Citadel databases under a computer.
Rename Historical DataRenames the computer name, folders, traces, or paths to a process in a Citadel database.

Log in to get a better experience