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

Client request start time. With bounds an additional value may be required.
Client request end time. With bounds an additional value may be required.
Client limit on returned values. Provided to allow for DB access optimization
If true bounding values nedd to be included.
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, because a bounding value may be requested or interpolation needed. Excess data doesn't harm, it will be ignored in the base layer data processing. This method needs NOT be thread safe. The returned data MUST be sorted for increasing timestamps
Syntax
'Usage
 
Dim instance As IDBAPlugin
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)
DataPoint[] GetRawItemData( 
   ItemInfo item,
   DateTime startTime,
   DateTime endTime,
   int maxValues,
   bool bounds
)

Parameters

item
startTime
Client request start time. With bounds an additional value may be required.
endTime
Client request end time. With bounds an additional value may be required.
maxValues
Client limit on returned values. Provided to allow for DB access optimization
bounds
If true bounding values nedd to be included.
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

IDBAPlugin Interface
IDBAPlugin Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback