beautypg.com

Error codes, 1 adlib error codes, Adlib error codes – Measurement Computing TP ADAC-32 rev.1.0 User Manual

Page 10

background image

ADAC PCI Series

TP ADAC-32 Driver

7

6. ERROR CODES

In addition to the TestPoint error codes, the TP ADAC-32 driver reports custom error codes generated by
ADAC ADLIB Series driver which the TP ADAC-32 driver is based on. The error codes are extensive, and
should assist in solving most setup or configuration problems. See below for a complete list of ADLIB
error codes.

6.1

ADLIB ERROR CODES

ALERR_NOERRORS

1

No errors occurred during the call.

ALERR_NOT_SUPPORTED

-1

The specified function or argument is not supported.

MEMORY

ALERR_MEMORY_LOW

-100

memory allocation failed.

ALERR_DMA_MEMORY_LOW

-101

DMA memory allocation failed increase.
ADACDMABUFFERSIZE in system.ini file.

GENERIC

ALERR_ARRAY_PTR

-200

Invalid array pointer passed to function.

ALERR_STRING_PTR

-201

Invalid string pointer passed to function.

ALERR_MAXSTRING

-202

Input string size exceeds MAX length.

ALERR_MAXARRAY

-203

Input array size exceeds MAX length.

ALERR_INVALID_STRINGLIST

-204

Input string format invalid.

ALERR_DESTINATION_STRLEN

-205

Input parameter destination string length is less than
the source string length.

ALERR_MINARRAY

-206

Input array size exceeds MIN length.