Open Automation Software
Moving Data From Anywhere to Anywhere
1-303-679-0898

OAS Trend .NET Programmatic Methods

OAS Trend .NET Programmatic Methods 16There are several different methods to programmatically access the trend data and call history for the trend OPCTrendControl. Refer to the OPCTrendControl help file for all properties and methods with their description and syntax.

Use the GetTrendDataTable method to return a DataTable of all data in the current view.

Get Trend History Data Programmatically

The following code can be used to programmatically get history data and return the data to a DataTable: