Appendix a: pxi trigger i/o function reference, A.1 data types, 5 appendix: pxi trigger i/o function reference – ADLINK PXI-3950 User Manual
Page 69: Data types
Appendix A
55
Appendix A: PXI Trigger I/O Function Reference
This appendix describes the usage of the PXI trigger I/O function
library for PXI-3950 controllers. Users can use the function library
to program the routing of the trigger signal between the trigger I/O
SMB connector on the faceplate and the PXI trigger bus on the
backplane.
A.1 Data Types
We define several data types for PXI trigger I/O functions. The
defined data types can be found in pxitrigio.h in the directory
X:\ADLINK\PXI Trigger IO\Include\
after running the
setup.exe file (where X is the drive you install the trigger I/O
driver). These data types are used by the PXI trigger I/O function
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++,
Visual Basic and Delphi.
Type in programming language
Type
Description
Range
C/C++
VB
Delphi
U8
8-bit ASCII character
0 to 255
unsigned
char
Byte Byte
I16
16-bit signed integer
-32768 to 32767
short
Integer
SmallInt
U16
16-bit unsigned integer
0 to 65535
unsigned
short
Not supported
in VB, use
Integer instead
Word
I32
32-bit signed integer
-2147483648 to 2147483647
long
Long
LongInt
U32
32-bit unsigned integer
0 to 4294967295
unsigned
long
Not supported
in VB, use
Long instead
Cardinal
F32
32-bit single-precision
floating-point
3.402823E38
to
3.402823E38
float Single Single
F64
64-bit double-precision
floating-point
1.797683134862315E308
to
1.797683134862315E309
double Double Double