List Data Set Runs VI
- Updated2024-11-20
- 5 minute(s) read
Returns the list of completed data runs that belong to a specific data set.

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 specifies no timeout, which means this VI waits indefinitely until this VI receives data from the Citadel database.
multicolumn listbox
—
multicolumn listbox is a reference to a multicolumn listbox control that signals this VI to populate the listbox with the information for each data run, excluding the list of traces and the equipment list.
database URL
—
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 resolves the database URL from the Shared Variable Engine (SVE). If the SVE resolution fails, this VI reads data from the database associated with the default DSC Module process.
data set information trace
—
data set information trace is the data set in the database for which the run(s) are sought.
get all runs info? (F)
—
get all runs info? specifies to query each run for a list of traces and equipment. This parameter uses an additional amount of CPU resources when the value is TRUE. If the value is FALSE, this VI queries for a list of traces and equipment in the first run and uses the same query results for all consecutive runs. The default is FALSE.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
database URL out
—
database URL out returns the computer name and the database name that specify where the Citadel database resides. The format is \\computer\database.
data runs
—
data runs is complete information for all the data runs found in the data set identified by the data set information trace.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the Dataset Marking Demo.lvproj in the labview\examples\lvdsc\Data and Alarm Historical Logging\Dataset Marking Demo directory for an example of using the List Data Set Runs VI.
timeout (30 s)
—
multicolumn listbox
—
database URL
—
data set information trace
—
get all runs info? (F)
—
error in (no error)
—
database URL out
—
data runs
—
run ID
—
traces
—
equipment
—
internal ID
—
start time
—
error out
—