Owning Palette: Database Management VIs
Installed With: DSC Module
Performs an archival operation for alarms and events on a Citadel database.

![]() |
timeout limits the time that the VI waits for data to be returned from the database. The default value is 30 seconds. A timeout value of less than or equal to 0 indicates no timeout, and the VI waits indefinitely until the data is returned. The VI ignores this value if you set show status bar to TRUE. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
source database URL is the computer name and database name of the database to perform the data operation on. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
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 executes a more selective query of the historical alarms and events database. The 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 describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
delete data from source database sets the VI to delete archived data from the source database. If delete data from source database is TRUE, the VI deletes archived data. If delete data from source database is FALSE (default), the 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, the 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, the VI archives the data but does not delete the data and returns an error. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
show status bar enables a progress bar during the operation if show status bar is TRUE. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
source database URL out is the database URL of the source database. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
destination database URL out is the database URL of the destination database. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|