5.2Programming Guide
5.2.1Naming Convention
The functions of the PCIDAQ PCI cards' software driver use
In DOS Environment:
_{hardware_model}_{action_name}. e.g. _DIO48H_Initial().
All functions in the PCIDIO 48H driver are used by the board as {hardware_model}. But they can be used by PCIDIO 48H and PCIDIO 24H.
In order to recognize the difference between the DOS library and Windows 95 library, a capital "W" is put on the head of each function name of the Windows 95 DLL driver. e.g. W_DIO48H_Initial().
5.2.2 Data Types
We defined some data type in DIO48H.h (DOS) and Acl_pci.h (Windows
95). These data types are used by the PCIDAQ Card library. We suggest you to use these data types in your application programs. The following table shows the data type names and their range.
Type Name | Description | Range |
U8 | 0 to 255 | |
I16 | ||
U16 | 0 to 65535 | |
I32 | ||
U32 | 0 to 4294967295 | |
|
| |
F32 | ||
|
| |
|
|
|
F64 | ||
| 1.797683134862315E309 | |
Boolean | Boolean logic value | TRUE, FALSE |