C/C++ Programming Library - ADLINK Technology cPCI-8168 User Manual

6u compact pci 8-axis servo / stepper motion control card
Table of Contents

Advertisement

6.2 C/C++ Programming Library

The function prototypes and some common data types are decel-
erated in Pci_8168.H. These data types are used by the cPCI-
8168 library. The following table shows the data type names and
their range. It is suggested that these data types are used in your
application programs.
Type Name
U8
I16
U16
I32
U32
F32
F64
Boolean
The functions of cPCI-8168's software drivers use full-names to
represent the functions' real meaning. The naming convention
rules are :
In 'C' programming Environment:
_{hardware_model}_{action_name}. e.g. _8168_Initial().
In order to recognize the difference between C library and VB
library, a capital "B" is put on the head of each function name e.g.
B_8168_Initial().
108
Description
8-bit ASCII character
16-bit signed integer
16-bit unsigned integer
32-bit signed long integer
32-bit unsigned long integer
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
Function Library

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the cPCI-8168 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents