ICP DAS USA WP-8000-CE7 Series User Manual page 4

Table of Contents

Advertisement

4.
YOUR FIRST WP-8000-CE7 PROGRAM ................................................................................ 59
4.1.
Setting up the Development Environment..................................................................................... 59
4.1.1.
Preparing the Development Tools and Programming Languages ......................................... 60
4.1.2.
Installing the WP-8000-CE7 SDK ............................................................................................ 61
4.1.3.
Setting up the Global Compiler Settings (for Visual C++) ...................................................... 62
4.2.
First WP-8000-CE7 Program in VB.NET .......................................................................................... 64
4.2.1.
Create a new project ............................................................................................................. 65
4.2.2.
Specify the path of the PAC reference ................................................................................... 68
4.2.3.
Add the control to the form .................................................................................................. 70
4.2.4.
Add the event handling for the control ................................................................................. 72
4.2.5.
Upload the application to WP-8000-CE7 ............................................................................... 73
4.2.6.
Execute the application on WP-8000-CE7 ............................................................................. 75
4.3.
First WP-8000-CE7 Program in Visual C# ....................................................................................... 76
4.3.1.
Create a new project ............................................................................................................. 77
4.3.2.
Specify the path of the PAC reference ................................................................................... 80
4.3.3.
Add the control to the form .................................................................................................. 82
4.3.4.
Add the event handling for the control ................................................................................. 84
4.3.5.
Upload the application to WP-8000-CE7 ............................................................................... 85
4.3.6.
Execute the application on WP-8000-CE7 ............................................................................. 87
4.4.
First WP-8000-CE7 Program in Visual C++ ..................................................................................... 88
4.4.1.
Create a new project ............................................................................................................. 89
4.4.2.
Configure the Platform .......................................................................................................... 94
4.4.3.
Specify the Libraries of the PAC SDK...................................................................................... 95
4.4.4.
Add the control to the form .................................................................................................. 97
4.4.5.
Add the event handling for the control ............................................................................... 100
4.4.6.
Upload the application to WP-8000-CE7 ............................................................................. 102
4.4.7.
Execute the application on WP-8000-CE7 ........................................................................... 104
5.
I/O EXPANSION MODULES AND SDKS SELECTION ............................................................ 105
6.
API RESOURCES AND DEMO REFERENCES ........................................................................ 109
6.1.
PAC Standard APIs for System Operation ..................................................................................... 110
6.1.1.
VB.NET Demos for PAC Standard APIs ................................................................................. 111
6.1.2.
C# Demos for PAC Standard APIs ......................................................................................... 112
6.1.3.
Visual C++ Demos for PAC Standard APIs ............................................................................ 113
6.2.
PAC Standard APIs for PAC Expansion I/O .................................................................................... 114
6.2.1.
VB.NET Demos for PAC Expansion I/O ................................................................................. 115
6.2.2.
C# Demos for PAC Expansion I/O ......................................................................................... 117
6.2.3.
Visual C++ Demos for PAC Expansion I/O ............................................................................ 119
7.
WP-8000-CE7 UPDATES ................................................................................................... 121
WP-8000-CE7 Series User Manual, version 1.0.2
Copyright © 2020 ICP DAS Co., Ltd. All Rights Reserved.  E-mail: service@icpdas.com
Page: 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wp-8121-ce7Wp-8421-ce7Wp-8821-ce7

Table of Contents