Get historical from tag
Namespace:
T.Toolkit
Assembly: T.Toolkit (in T.Toolkit.dll)
Assembly: T.Toolkit (in T.Toolkit.dll)
Public Shared Function GetTagHistorian( _
ByVal tagName As String, _
ByVal start As DateTimeOffset, _
ByVal duration As Object, _
Optional ByVal getSamplesMode As String = null, _
Optional ByVal getRawData As Boolean = true, _
Optional ByVal isDrillingChart As Boolean = false, _
Optional ByVal isDepthChart As Boolean = false _
) As DataTable
This language is not supported or no code example is available.
Parameters
- tagName
-
Type: string
Tag name
- start
-
Type: DateTimeOffset
Start
- duration
-
Type: object
Duration
- getSamplesMode
-
Type: string
Optional string mode used to get samples. Default is null (Normal mode)
- getRawData
-
Type: bool
>Optional flag indicating whether should getting raw data. Default is true
- isDrillingChart
-
Type: bool
Optional flag indicating whether should get samples for Drilling chart. Default is false
- isDepthChart
-
Type: bool
>Optional flag indicating whether should get samples by depth for Drilling chart. Default is false
Return Value
Type: DataTableReference to table containg historical data