C/C++ Libraries
63
5.2
Programming Guide
Naming Convention
The functions of the NuDAQ PCI cards or NuIPC CompactPCI
cards’ software driver are using full-names to represent the func-
tions' real meaning. The naming convention rules are:
In DOS Environment:
_{hardware_model}_{action_name}. e.g. _7300_Initial().
All functions in cPCI/PCI/PCIe-7300A driver are with 7300 as
{hardware_model}. But they can be used by cPCI/PCI/PCIe-
7300A, cPCI-7300.
In order to recognize the difference between DOS library and Win-
dows 95 library, a capital "W" is put on the head of each function
name of the Windows 95 DLL driver. e.g. W_7300_Initial().
Data Types
We defined some data type in Pci_7300.h (DOS) and Acl_pci.h
(Windows 95). These data types are used by NuDAQ Cards’
library. We suggest you to 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
Summary of Contents for cPCI-7300A
Page 4: ......
Page 10: ...vi List of Figures...
Page 18: ...8 Introduction...
Page 21: ...Installation 11 2 4 cPCI PCI PCIe 7300A Layout Figure 2 1 PCI 7300A Layout Diagram...
Page 26: ...16 Installation Figure 2 4 CN1 Pin Assignment...
Page 100: ...90 C C Libraries BufNotDWordAlign DMADscrBadAlign...
Page 108: ...98 C C Libraries...
Page 114: ...104 Appendix...