15
Chapter 4 Programming Guide
4.1
Overview
We provide a function library, pci-1255.dll, which contains all the functions of Smacq PCI-1255
DAQ card. This is a standard dynamic link library that can be applied to various Windows-based
software development platforms. We provide example codes based on LaVIEW, VC and VB to
help you master the functions of PCI-1255 and its application development.
In addition, you can directly manage read and write operations through PCI interface I / O
port to develop applications, please refer to the "Chapter 5 Register Description" for details.
4.2
Example codes overview
In the LabVIEW environment, we made all the library functions in a sub-vi, and LabVIEW
developers can look at the sub-vi class distinctions with the vi tree and refer to the example
codes inside the folder of "pci-1255 \ demo \ LabVIEW \ example" to quickly grasp all the
functions of PCI-1255.
In the VB environment, all the library function declarations are in the file "pci-1255.vb". VB
developers can refer to the example codes inside the folder of "pci-1255\demo\vb\example" to
quickly grasp all the functions of PCI-1255.
In the VB environment, all the library function declarations are in the file "pci-1255.h". VB
developers can refer to the example codes inside the folder of "pci-1255\demo\vc\example" to
quickly grasp all the functions of PCI-1255.
4.3
Library function details
This section will detail all functions provided in “pci-1255.dll” based on the file of
“pci-1255.h”.
GetCardCount()
long
_stdcall
GetCardCount(
void
)
Содержание PCI-1255
Страница 1: ...PCI 1255 Multifunctional DAQ Device User Manual Smacq Technologies Co Ltd 2015 09 10...
Страница 15: ...14 Figure 3 1 Basic tests using example codes...
Страница 26: ...25...