User`s guide
62 • Motion Library
5
Motion Library
This chapter describes the supporting software for PCI-8136M cards. User
can use these functions to develop application program in C or Visual Basic
or C++ language.
The function prototypes and some common data types are decelerated in
PCI-8136M.H. These data types are used by PCI-8136M 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 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
The functions of PCI-8136’s software drivers use full-names to represent the
functions' real meaning. The naming convention rules are:
In C Environment :
_{hardware_model}_{action_name}. e.g. _8136_Initial().
In order to recognize the difference between C/C++ library and Visual Basic
library, A capital "B" is put on the head of each function name of the Visual
Basic function. e.g. B_8136_Initial().