
Function Library
131
6.2
C/C++ Programming Library
This section details all the functions. The function prototypes and
some common data types are declared in
pci_8154.h
. We sug-
gest you use these data types in your application programs. The
following table shows the data type names and their range.
Table 6-1: Data type definitions
The functions of the PCI-8154 software drivers use full-names to
represent the functions real meaning. The naming convention
rules are:
In a ‘C’ programming environment:
_{hardware_model}_{action_name}. e.g.
_8154_initial()
.
In order to recognize the difference between a C library and a VB
library, a capital “B” is placed at the beginning of each function
name e.g.
B_8154_initial()
.
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 long integer
-2147483648 to 2147483647
U32
32-bit unsigned long integer
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
Содержание PCI-8154
Страница 4: ......
Страница 28: ...18 Installation ...
Страница 47: ...Signal Connections 37 and stop signals to STA and STP pins on the K1 connector of the first PCI 8154 card ...
Страница 48: ...38 Signal Connections ...
Страница 98: ...88 Operation Theory ...
Страница 102: ...92 MotionCreatorPro 5 3 2 Select Menu The select menu appears after running MotionCreatorPro It is used to ...
Страница 103: ...MotionCreatorPro 93 5 3 3 Card Information Menu In this menu it shows some Information about this card ...
Страница 104: ...94 MotionCreatorPro 5 3 4 Configuration Menu In the IO_Config_1 menu users can configure ALM INP ERC EL ORG and EZ ...
Страница 106: ...96 MotionCreatorPro In the IO_Config_2 menu users can configure LTC SD PCS and Select_Input ...
Страница 108: ...98 MotionCreatorPro In the Pulse INT_Config menu users can configure pulse input output and move ratio and INT factor ...
Страница 129: ...MotionCreatorPro 119 5 3 8 Help Menu In this menu users can Click Mouse Right Key to show Help Infor mation ...
Страница 130: ...120 MotionCreatorPro ...
Страница 206: ...196 Function Library Pos Latch data Position ...
Страница 224: ...214 Function Library ...
Страница 226: ...214 Connection Example ...