Errorcode
Name Description
1000 LJE_MIN_GROUP_ERROR Errors above this number stop all requests.
1001 LJE_UNKNOWN_ERROR Unrecognized error that is caught.
1002 LJE_INVALID_DEVICE_TYPE
1003 LJE_INVALID_HANDLE
1004 LJE_DEVICE_NOT_OPEN AddRequest() called even though Open() failed.
1005 LJE_NO_DATA_AVAILABLE GetResult() called without calling a Go
function, or a channel is passed that was not
in the request list.
1006 LJE_NO_MORE_DATA_AVAILABLE
1007 LJE_LABJACK_NOT_FOUND LabJack not found at the given id or address.
1008 LJE_COMM_FAILURE Unable to send or receive the correct number
of bytes.
1009 LJE_CHECKSUM_ERROR
1010 LJE_DEVICE_ALREADY_OPEN
1011 LJE_COMM_TIMEOUT
1012 LJE_USB_DRIVER_NOT_FOUND
1013 LJE_INVALID_CONNECTION_TYPE
1014 LJE_INVALID_MODE
Table 4-3. Group Level Error Codes
The first two tables list errors which are specific to a request. For example,
LJE_INVALID_CHANNEL_NUMBER. If this error occurs, other requests are not affected. The
last table lists errors which cause all pending requests for a particular Go() to fail with the same
error. If this type of error is received the state of any of the request is not known. For example,
if requests are executed with a single Go() to set the AIN range and read an AIN, and the read
fails with an LJE_COMM_FAILURE, it is not known whether the AIN range was set to the new
value or whether it is still set at the old value.
77