Historical Trend
- Updated2024-11-20
- 3 minute(s) read
Reads historical data from the Citadel database and displays the data on an XY graph. You must wire a VI Server reference of this XY graph to the Trend Reference input to use this Express VI. You must place the Historical Trend Express VI inside a While Loop.

Dialog Box Options
Inputs/Outputs
Database URL
—
Specifies the computer name and the database name where the Citadel database resides. Enter the database URL in the format \\computer\database. For example, if you have a copy of the LabVIEW Datalogging and Supervisory Control (DSC) Module and Citadel service installed on a computer named datalogger and the name of the database on that computer is data, you can access the data on datalogger from another computer by using the path \\datalogger\data. If you provide a database name only, this VI searches for the database on the local computer. If you do not wire database URL, this VI reads data from the database associated with the default DSC Module process.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Start Time
—
Specifies the start time of the data to display on the XY graph.
Stop Time
—
Specifies the stop time of the data to display on the XY graph.
Trend Reference
—
Is the control reference to the XY graph.
Shared Variable List
—
Time Between Updates (s)
—
Specifies the refresh interval of the XY graph.
Relative Time
—
Specifies the range of data to display, in seconds, since the current time.
Historical Traces
—
Contains the array of historical data points retrieved from the database. Wire this output to an XY graph.
error out
—
error out contains error information. This output provides standard error out functionality. |
Database URL
—
error in (no error)
—
Start Time
—
Trend Reference
—
Shared Variable List
—
Time Between Updates (s)
—
Relative Time
—
Historical Traces
—
timestamps
—
data
—
error out
—