openPDC Historian Help
DatasetTemplate Method (dataTableName)
NamespacesTVA.Historian.ExportersExporterBaseDatasetTemplate(String)
Returns a template DataSet that can be used for storing time-series data in a tabular format.
Declaration Syntax
C#Visual BasicVisual C++
public static DataSet DatasetTemplate(
	string dataTableName
)
Public Shared Function DatasetTemplate ( _
	dataTableName As String _
) As DataSet
public:
static DataSet^ DatasetTemplate(
	String^ dataTableName
)
Parameters
dataTableName (String)
Name of the DataTable that will be used for storing the time-series data.
Return Value
A DataSet object.
Remarks

The returned DataSet consists of two DataTables with the following structure:

Table 1 is to be used for storing time-series data.
Column NameColumn Description
Instance
Historian instance providing the time-series data.
ID
HistorianID of the time-series data.
Time
Time of the time-series data.
Value
Value of the time-series data.
Quality
Quality of the time-series data.
Table 2 is to be used for providing information about Table 1.
Column NameColumn Description
RunTime
DateTime (in UTC) when the data in Table 1 was populated.
RecordCount
Number of time-series data points in Table 1.
RefreshSchedule
Interval (in seconds) at which the data in Table 1 is to be refreshed.

Assembly: TVA.Historian (Module: TVA.Historian) Version: 1.0.33.39252