Programming Guide; Naming Convention; Data Types - NuDAQ PCI-7230 User Manual

723x series 32 channels isolated digital i/o card
Table of Contents

Advertisement

5.2 Programming Guide

5.2.1 Naming Convention

The functions of the NuDAQ PCI cards or NuIPC CompactPCI cards' software
driver are using full-names to represent the functions' real meaning. The
naming convention rules are:
In DOS Environment :
_{hardware_model}_{action_name}. e.g. _7230_Initial() .
All functions in PCI-7230 driver are with 7230 as {hardware_model}. But they
can be used by PCI-7230 and cPCI-7230. All functions in PCI-7233 driver are
with 7233 as {hardware_model}. But they can be used by PCI-7233 and
PCI-7233H.
In order to recognize the difference between DOS library and Windows 95
library, a capital "
95 DLL driver. e.g. W_7234_Initial() .

5.2.2 Data Types

We defined some data type in Pci_723X.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.
Type Name Description
U8
I16
U16
I32
U32
F32
F64
Boolean
28
C/C++ Libraries
W
" is put on the head of each function name of the Windows
8-bit ASCII character
16-bit signed integer
16-bit unsigned integer
32-bit signed integer
32-bit single-precision
floating-point
32-bit single-precision
floating-point
64-bit double-precision
floating-point
Boolean logic value
Range
0 to 255
-32768 to 32767
0 to 65535
-2147483648 to 2147483647
0 to 4294967295
-3.402823E38 to
3.402823E38
-1.797683134862315E308 to
1.797683134862315E309
TRUE, FALSE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-7233Pci-7234Cpci-7230Pci-7233h

Table of Contents