COPC32: SCADA with Trend View created by Visual Studio Express 2015

This example shows SCADA created by Visual Studio Express 2015 with COPC32 activeX control.

trendGif

image

Download example project file

Requirement

COPC32 ActiveX Control
Download and install COPC32 before open example file.

Visual Studio 2015 Express (Desktop)

 

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.

image

Edit COPC32’s property to select OPC Server and OPC tags to display on Chart.

image

image

image

Click “Start” to run project.

image

 

Note:

– 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.

image

And change related line of code as well.

image

image

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s