4.4 - Errorcodes
All functions return an LJ_ERROR errorcode as listed in the following tables.
LJE_UNABLE_TO_READ_CALDATA
Warning: Defaults used instead.
LJE_DEVICE_NOT_CALIBRATED
Warning: Defaults used instead.
LJE_INVALID_CHANNEL_NUMBER
Channel that does not exists (e.g. DAC2 on a
UE9), or data from stream is requested on a
channel that is not in the scan list.
LJE_INVALID_RAW_INOUT_PARAMETER
LJE_UNABLE_TO_START_STREAM
LJE_UNABLE_TO_STOP_STREAM
LJE_UNABLE_TO_CONFIG_STREAM
Overrun the UD stream buffer.
LJE_INVALID_STREAM_FREQUENCY
LJE_STREAM_CHECKSUM_ERROR
Stream packet received out of sequence.
LJE_AD_PIN_CONFIGURATION_ERROR
Analog request on a digital pin, or vice versa.
LJE_REQUEST_NOT_PROCESSED
Previous request has an error.
LJE_SLJE_STREAM_CONFIG_INVALID
LJE_STREAM_BAD_TRIGGER_SOURCE
LJE_STREAM_INVALID_TRIGGER
LJE_STREAM_ADC0_BUFFER_OVERFLOW
LJE_STREAM_SAMPLE_NUM_INVALID
LJE_STREAM_BIPOLAR_GAIN_INVALID
LJE_STREAM_SCAN_RATE_INVALID
LJE_TIMER_QUADRATURE_AB_ERROR
LJE_TIMER_QUAD_PULSE_SEQUENCE
LJE_TIMER_BAD_CLOCK_SOURCE
LJE_TIMER_PWMSTOP_MODULE_ERROR
LJE_TIMER_LINE_SEQUENCE_ERROR
LJE_INVALID_POWER_SETTING
LJE_FEEDBACK_IOTYPE_NOT_VALID
AIN not available to command/response
functions while the UE9 is streaming.
New scan started before the previous scan
completed. Scan rate is too high.
LJE_FIRMWARE_VERSION_IOTYPE
IOType not supported with this firmware.
LJE_FIRMWARE_VERSION_CHANNEL
Channel not supported with this firmware.
LJE_FIRMWARE_VERSION_VALUE
Value not supported with this firmware.
LJE_HARDWARE_VERSION_IOTYPE
IOType not supported with this hardware.
LJE_HARDWARE_VERSION_CHANNEL
Channel not supported with this hardware.
LJE_HARDWARE_VERSION_VALUE
Value not supported with this hardware.
LJE_TC_PIN_OFFSET_MUST_BE_4_TO_8
Table 4.4-1. Request Level Error Codes
Errors above this number stop all requests.
Unrecognized error that is caught.
AddRequest() called even though Open() failed.
GetResult() called without calling a Go
Function, or a channel is passed that was not
51