This example shows SCADA created by Visual Studio Express 2015 with COPC32 activeX control.
– COPC32 ActiveX Control
Download and install COPC32 before open example file.
How to use example project file
Open example project file on Visual Studio Express 2015 or Visual Studio 2015. Go to code view of Form1. There are 4 sets of array use to be series and x axis(Time) of Chart.
Edit COPC32’s property to select OPC Server and OPC tags to display on Chart.
Click “Start” to run project.
– Each series of Chart has 40 sample values. If you need more sample values, change array size of pnt, pnt1, pnt2, pnt3 to desired number.
And change related line of code as well.