OPC Historian .NET Server Toolkit Reference
GetRawItemData Method (DBAPlugin)

The maximal number of values to return. 0 means no limit.
Return bounding values.
Reads the raw data points in the given time range from the database into a DataPoint array. At least one data point before and after the time range should be included in the returned array. This method needs NOT be thread safe. The returned data has to be sorted for increasing timestamps
Syntax
'Usage
 
Dim instance As DBAPlugin
Dim item As ItemInfo
Dim startTime As Date
Dim endTime As Date
Dim maxValues As Integer
Dim bounds As Boolean
Dim value() As DataPoint
 
value = instance.GetRawItemData(item, startTime, endTime, maxValues, bounds)
public DataPoint[] GetRawItemData( 
   ItemInfo item,
   DateTime startTime,
   DateTime endTime,
   int maxValues,
   bool bounds
)

Parameters

item
startTime
endTime
maxValues
The maximal number of values to return. 0 means no limit.
bounds
Return bounding values.

Return Value

HRESULT
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DBAPlugin Class
DBAPlugin Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback