The GX6264 driver functions reference is organized in alphabetical order. Each function description contains the function name, purpose, syntax, a short description, parameters and types, comments, an example (written in C), and a "See Also" section.
All function parameters syntax follows the same rules:
Strings are ASCIIZ (null or zero character terminated).
The first parameter of most functions is nHandle (16-bit integer). This parameter is required for operating the board and is returned by the Gx6264Initialize function of the board. The nHandle is used to identify the board when calling a function for programming and controlling the operation of that board.
All functions return a status with the last parameter named pnStatus. The pnStatus is zero if the function was successful, or less than a zero on error. The description of the error is available using the GxSWGetErrorString function or by using a predefined constant, defined in the driver interface files: GXSW.H, GXSW.BAS, GXSW.PAS or the driver specific ATEasy driver (e.g. GX6338.DRV).
Sections are numbered from 0 to 1 (0 for section 1 and 1 for section 2).
Scan groups are numbered from 0 to 7, i. e. 0=scan group A, 1=scan group B, …, 7=scan group H.
Bus numbers are 0 to 3: X0, Y0, X1, Y1.
Channels numbers are 0 to 7.
Parameter name are prefixed as follows:
Prefix |
Type |
Example |
a |
Array, prefix this before the simple type |
anArray (Array of Short) |
n |
Short (signed 16-bit) |
nMode |
d |
Double - 8 bytes floating point |
dReading |
dw |
Double word (unsigned 32-bit) |
dwTimeout |
hwnd |
Window handle (32-bit - unsigned, DWORD |
hwndPanel |
l |
Long (signed 32-bit) |
lBits |
p |
32-bit pointer. Usually used to return a value. Prefix this before the simple type |
pnStatus |
sz |
Zero terminated string |
szMsg |
w |
Unsigned short (unsigned 16-bit) |
wParam |
Parameter Name Prefixes