Detach Database VI
- Updated2024-11-20
- 2 minute(s) read
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).

Inputs/Outputs
timeout (30 s)
—
timeout specifies the maximum time, in seconds, that this VI waits for reading data from the Citadel database. The default is 30. A timeout value of less than or equal to 0 indicates no timeout, which means this VI waits indefinitely until this VI receives data from the Citadel database. This VI ignores this value if you set show status bar to TRUE.
database name
—
database name is the name of the Citadel database which you want to detach. Note This VI does not operate on a remote database.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
show status bar (T)
—
show status bar enables a progress bar during the operation if show status bar is TRUE.
error out
—
error out contains error information. This output provides standard error out functionality. |
Detach Database Details
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.
Refer to the Measurement & Automation Explorer Help for Historical Data Viewer, available by selecting Help»Help Topics»Historical Data Viewer in MAX, for more information about creating, attaching, and detaching Citadel databases.
timeout (30 s)
—
database name
—
error in (no error)
—
show status bar (T)
—
error out
—