
A-2
KPXI-CON-900-01 Rev. A / January 2007
Appendix A: KPXI Trigger Function Description
KPXI System Controller User’s Manual
Introduction
This appendix provides a description of PXI Trigger functions, including data types and function
reference.
Data Types
We have defined some data types in the Model KPXI-CON controller header file. This header file
can be found in
KPXITRIG.H
under the directory
X:\KEITHLEY\KPXITRIG\Include
after running
the setup.exe file (where
X
is the drive from which you installed the driver). These data types are
used by the Model KPXI-CON controller Library. It is recommended that you use these data types
in your application programs. The following table lists the data type names, their ranges, and the
corresponding data types in C/C++, and Visual Basic.
Function Reference
KPXITRIG_Close
Description
This function is used to tell the Model KPXI-CON controller library that a regis-
tered card is not currently used and can be released, making room for the new
card to register. At the end of a program, use this function to release all cards that
were registered.
Cards Supported: KPXI Series
Syntax
Microsoft C/C++ and Borland C++
I16 KPXITRIG_Close (U16 CardNumber)
Table A-1
Data Types
Type
Name
Description
Range
Type
C/C++ ( for 32-
bit compiler)
Visual Basic
U8
8-bit ASCII
character
0 to 255
Unsigned char
Byte
I16
16-bit signed
integer
-32768 to 32767
Short
Integer
U16
16-bit
unsigned
integer
0 to 65535
Unsigned short
Not supported by
BASIC, use the
signed integer
(I16) instead
I32
32-bit signed
integer
-2147483648 to 2147483647 Long
Long
U32
32-bit
unsigned
integer
0 to 4294967295
Unsigned long
Not supported by
BASIC, use the
signed long
integer (I32)
instead
F32
32-bit single-
precision
floating-point
-3.402823E38 to
3.402823E38
Float
Single
F64
64-bit double-
precision
floating-point
-1.797683134862315E308
to
1.797683134862315E309
Double
Double
Содержание KPXI
Страница 96: ......