PCI-1680U/1682U User Manual
66
4.7.3
Guide for VC.NET development
We will give an example by opening a CAN port and reading its current status so as
to simply explain how to write base applications in VC.NET environment.
4.7.3.1
Create a new VC.NET project
Related header files must be used before using Advantech CAN Windows WDM&CE
Driver interface function. Make sure the driver had been installed correctly.
(Please refer to relevant books and documentations regarding detailed information
about VC.NET development.)
Please follow the following procedures to create a new VC.NET project:
1.
Select "File/New->Project" from the main menu to create a new application
project and source file. Define the type of the new project as "Windows Forms
Application", and select a path for files of the project.
2.
Click "OK" according to the instructions on the screen.
A new VC.NET project is created.
4.7.3.2
Add necessary files
1.
Add Include header files (AdvCan.h) in Advantech CAN Windows WDM&CE
Driver. In VC.NET work area, right click "Header Files" and select "Add ->Exist-
ing Item" to add header files to the project in the "Add Existing Item - Test" file
list.
Содержание PCI-1680U
Страница 10: ...PCI 1680U 1682U User Manual 4 ...
Страница 16: ...PCI 1680U 1682U User Manual 10 5 Click Next as the following 6 Click Next as the following ...
Страница 22: ...PCI 1680U 1682U User Manual 16 ...
Страница 26: ...PCI 1680U 1682U User Manual 20 Figure 3 2 PCI 1682U Silk Screen ...
Страница 29: ...Chapter 4 4 Software Requirements This chapter has information on the software of PCI 1680U 1682U ...
Страница 85: ...79 PCI 1680U 1682U User Manual Chapter 4 Software Requirements WDM CE ...
Страница 89: ...83 PCI 1680U 1682U User Manual Chapter 4 Software Requirements CE 4 8 2 Flow Chart 4 8 2 1 Send flow chart ...
Страница 90: ...PCI 1680U 1682U User Manual 84 4 8 2 2 Receive flow chart ...
Страница 91: ...85 PCI 1680U 1682U User Manual Chapter 4 Software Requirements 4 8 2 3 Configure flow chart ...
Страница 92: ...PCI 1680U 1682U User Manual 86 4 8 2 4 Event flow chart Either flow chart of the two sub threads is as below ...
Страница 103: ...97 PCI 1680U 1682U User Manual Chapter 5 Pin Assignments and Wiring ...