Alarm & Event Archive VI
- Updated2024-11-20
- 8 minute(s) read
Performs an archival operation for alarms and events on a Citadel database.

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.
source database URL
—
source database URL is the computer name and database name of the database to perform the data operation on.
destination database URL
—
destination database URL is the computer name and database name of the Citadel historical or alarm and event database to receive the archival data.
filter
—
filter executes a more selective query of the historical alarms and events database. This VI returns only alarms and events that fit the filter criteria. To use the filter criteria, set filter on to TRUE for the corresponding subparameter. If you do not wire a value to the filter parameter, this VI archives all the alarm and event data to the destination database. If you do not wire values to the start timestamp and stop timestamp subparameters, this VI archives all the alarms that fit the remaining filter criteria.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
delete data from
source database (F)
—
delete data from source database sets this VI to delete archived data from the source database. If delete data from source database is TRUE, this VI deletes archived data. If delete data from source database is FALSE (default), this VI does not delete archived data. You can delete archived data only from a local database and not from a remote database. If you try to delete data from a remote database, this VI returns an error. When you delete data, make sure that the source database is not in use. If the source database is in use, this VI archives the data but does not delete the data and returns an error.
show status bar (T)
—
show status bar enables a progress bar during the operation if show status bar is TRUE.
source database URL out
—
source database URL out is the database URL of the source database.
destination database URL out
—
destination database URL out is the database URL of the destination database.
error out
—
error out contains error information. This output provides standard error out functionality. |
timeout (30 s)
—
source database URL
—
filter
—
start timestamp
—
shared variable name
—
alarm setpoint
—
start timestamp
—
show...
—
error in (no error)
—
source database URL out
—
error out
—