4.4 Errorcodes
All functions return an LJ_ERROR errorcode as listed in the following tables.
Table 4-1. Request Level Error Codes (Part 1)
Errorcode
Name Description
-2 LJE_UNABLE_TO_READ_CALDATA Warning: Defaults used instead.
-1 LJE_DEVICE_NOT_CALIBRATED Warning: Defaults used instead.
0 LJE_NOERROR
2 LJE_INVALID_CHANNEL_NUMBER Channel that does not exist (e.g. DAC2 on a
UE9), or data from stream is requested on a
channel that is not in the scan list.
3 LJE_INVALID_RAW_INOUT_PARAMETER
4 LJE_UNABLE_TO_START_STREAM
5 LJE_UNABLE_TO_STOP_STREAM
6 LJE_NOTHING_TO_STREAM
7 LJE_UNABLE_TO_CONFIG_STREAM
8 LJE_BUFFER_OVERRUN Overrun of the UD stream buffer.
9 LJE_STREAM_NOT_RUNNING
10 LJE_INVALID_PARAMETER
11 LJE_INVALID_STREAM_FREQUENCY
12 LJE_INVALID_AIN_RANGE
13 LJE_STREAM_CHECKSUM_ERROR
14 LJE_STREAM_COMMAND_ERROR
15 LJE_STREAM_ORDER_ERROR Stream packet received out of sequence.
16 LJE_AD_PIN_CONFIGURATION_ERROR Analog request on a digital pin, or vice versa.
17 LJE_REQUEST_NOT_PROCESSED Previous request had an error.
19 LJE_SCRATCH_ERROR
20 LJE_DATA_BUFFER_OVERFLOW
21 LJE_ADC0_BUFFER_OVERFLOW
22 LJE_FUNCTION_INVALID
23 LJE_SWDT_TIME_INVALID
24 LJE_FLASH_ERROR
25 LJE_STREAM_IS_ACTIVE
26 LJE_STREAM_TABLE_INVALID
27 LJE_STREAM_CONFIG_INVALID
28 LJE_STREAM_BAD_TRIGGER_SOURCE
30 LJE_STREAM_INVALID_TRIGGER
31 LJE_STREAM_ADC0_BUFFER_OVERFLOW
33 LJE_STREAM_SAMPLE_NUM_INVALID
34 LJE_STREAM_BIPOLAR_GAIN_INVALID
35 LJE_STREAM_SCAN_RATE_INVALID
75