OPC Historian .NET Server Toolkit Reference
ReadAnnotations Method (IAppPlugin)

Professional Edition only.
This function reads the annotations from the history database in the specified time domain for the specified item IDs. This method is intended to read annotations for an item at specified timestamps. The time domain of the request is defined by htStartTime and htEndTime. If htEndTime is less than htStartTime the data shall be returned in reverse order, with later data coming first. OPC_S_NODATA is returned only if no annotations exist over the time domain.
Overload List
OverloadDescription
ReadAnnotations(DateTime,DateTime,Int32[],AnnotationDef[],Int32[])Professional Edition only.
This function reads the annotations from the history database in the specified time domain for the specified item IDs. This method is intended to read annotations for an item at specified timestamps. The time domain of the request is defined by htStartTime and htEndTime. If htEndTime is less than htStartTime the data shall be returned in reverse order, with later data coming first. OPC_S_NODATA is returned only if no annotations exist over the time domain.  
ReadAnnotations(Int32,DateTime,DateTime,Int32[],Int32,Int32[])Professional Edition only.
This function reads the annotations from the history database in the specified time domain for the specified item IDs. This method is intended to read annotations for an item at specified timestamps. OPC_S_NODATA is returned only if no annotations exist over the time domain.  
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

IAppPlugin Interface
IAppPlugin Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback