User Manual

30 C/C++ Library
All functions in the PCI-6308 driver start with 6308 as
{hardware_model} and can be used by both the PCI-6308V and
PCI-6308A.
In order to distinguish the difference between DOS library and
Windows 95 library, a capital "W" is place on the beginning of each
function name of the Windows 95 DLL driver. e.g.
W_6308_Initial().
Data Types
We have defined some data type in the Pci_6308.h (DOS) and
Acl_pci.h (Windows 95) header files. These data types are used
by the PCI-6308/6216 library and suggest you use these data
types in your application programs. The following table shows the
data type names and their range.
Table 5-1: Data Types
Type Name Description Range
U8 8-bit ASCII character 0 to 255
I16 16-bit signed integer -32768 to 32767
U16 16-bit unsigned integer 0 to 65535
I32 32-bit signed integer -2147483648 to 2147483647
U32 32-bit single-precision floating-point 0 to 4294967295
F32 32-bit single-precision floating-point -3.402823E38 to 3.402823E38
F64 64-bit double-precision floating-point
-1.797683134862315E308 to
1.797683134862315E309
Boolean Boolean logic value TRUE, FALSE