Adlink PCI-8124-C Manual do Utilizador Página 67

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 66
Function Library 57
6 Function Library
This chapter describes the supporting software for PCI-8124-C.
User can use these functions to develop programs in C, C++, or
Visual Basic.
6.1 List of Functions
This section details all the functions. The function prototypes and
common data types are declared in pci_8124.h and type_def.h.
We suggest you use these data types in your application pro-
grams. The following table shows the data type names and their
range.
.
Table 6-1: Data Type Definitions
The functions of the PCI-8124-C’s software drivers use full-names
to represent the functions real meaning. The naming convention
rules are:
In a ‘C’ programming environment:
_{8124}_{action_name (lower case)} e.g. _8124_initial ()
In order to recognize the difference between a C library and a VB
library, a capital “B” is placed at he beginning of each function
name e.g. B_8124_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
Vista de página 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 101 102

Comentários a estes Manuais

Sem comentários