« Close

Datasheets and User Guides

App Notes

Software & Driver

 

4 - Error Codes

Subsections

Error Codes Overview

Error codes in the 2015.07.10.A version of the ljm_constants.json file. For more information about error codes look at the installed error codes page.

Error Name Error Code Description
LJ_SUCCESS 0
LJME_WARNINGS_BEGIN 200 This indicates where the warning codes start is not a real warning code.
LJME_WARNINGS_END 399 This indicates where the warning codes end is not a real warning code.
LJME_FRAMES_OMITTED_DUE_TO_PACKET_SIZE 201 Some read/write operation(s) were not sent to the device because the Feedback command being created was too large for the device, given the current connection type.
LJME_DEBUG_LOG_FAILURE 202 The debug log file could not be written to. Check the LJM_DEBUG_LOG_FILE and related LJM configurations.
LJME_USING_DEFAULT_CALIBRATION 203 The device's calibration could not be read, so the nominal calibration values were used.
LJME_DEBUG_LOG_FILE_NOT_OPEN 204 The message could not be logged because the debug log file has not been opened.
FEATURE_NOT_IMPLEMENTED 254
LJME_MODBUS_ERRORS_BEGIN 1200 This indicates where the Modbus error codes start is not a real Modbus error code.
LJME_MODBUS_ERRORS_END 1216 This indicates where the Modbus error codes end is not a real Modbus error code.
LJME_MBE1_ILLEGAL_FUNCTION 1201 The device received an invalid function code.
LJME_MBE2_ILLEGAL_DATA_ADDRESS 1202 The device received an invalid address.
LJME_MBE3_ILLEGAL_DATA_VALUE 1203 The device received a value that could not be written to the specified address.
LJME_MBE4_SLAVE_DEVICE_FAILURE 1204 The device encountered an error.
LJME_MBE5_ACKNOWLEDGE 1205 The device acknowledges the request, but will take some time to process.
LJME_MBE6_SLAVE_DEVICE_BUSY 1206 The device is busy and cannot respond currently.
LJME_MBE8_MEMORY_PARITY_ERROR 1208 The device detected a memory parity error.
LJME_MBE10_GATEWAY_PATH_UNAVAILABLE 1210 The requested route was not available.
LJME_MBE11_GATEWAY_TARGET_NO_RESPONSE 1211 The requested route was available but the device failed to respond.
LJME_LIBRARY_ERRORS_BEGIN 1220 This indicates where the LJM error codes start is not a real LJM error code.
LJME_LIBRARY_ERRORS_END 1399 This indicates where the LJM error codes end is not a real LJM error code.
LJME_UNKNOWN_ERROR 1221 LJM reached an unexpected state. Please contact LabJack support if you've received this error.
LJME_INVALID_DEVICE_TYPE 1222 LJM received an unexpected device type.
LJME_INVALID_HANDLE 1223 LJM reached an invalid state.
LJME_DEVICE_NOT_OPEN 1224 The requested handle did not refer to an open device.
LJME_STREAM_NOT_INITIALIZED 1225 The requested device does not have a stream initialized in LJM.
LJME_DEVICE_DISCONNECTED 1226 The device could not be contacted and LJM is not configured to heal device connections (see LJM config LJM_HEAL_CONNECTION_MODE).
LJME_DEVICE_NOT_FOUND 1227 A device matching the requested device parameters could not be found and therefore could not be opened.
LJME_DEVICE_ALREADY_OPEN 1229 The device being registered was already registered. Please contact LabJack support if you've received this error.
LJME_DEVICE_CURRENTLY_CLAIMED_BY_ANOTHER_PROCESS 1230 At least one matching device was found, but cannot be claimed by this process because a different process has already claimed it. Either close the device handle in your other process (i.e. program or application) or close the other process. Then try opening the device again.
LJME_CANNOT_CONNECT 1231 At least one device matching the requested device parameters was found, but a connection could not be established.
LJME_SOCKET_LEVEL_ERROR 1233 A TCP socket-level error occurred.
LJME_CANNOT_OPEN_DEVICE 1236 The device could not be opened.
LJME_CANNOT_DISCONNECT 1237 An error occurred while attempting to disconnect.
LJME_WINSOCK_FAILURE 1238 A Windows WINSOCK error occurred.
LJME_RECONNECT_FAILED 1239 The device could not be contacted. LJM is configured to heal device connections and the reconnection attempt failed.
LJME_U3_CANNOT_BE_OPENED_BY_LJM 1243 LJM cannot open UD-series LabJack devices; use the UD driver (http://labjack.com/support/ud)
LJME_U6_CANNOT_BE_OPENED_BY_LJM 1246 LJM cannot open UD-series LabJack devices; use the UD driver (http://labjack.com/support/ud)
LJME_UE9_CANNOT_BE_OPENED_BY_LJM 1249 LJM cannot open UD-series LabJack devices; use the UD driver (http://labjack.com/support/ud)
LJME_INVALID_ADDRESS 1250 The requested address was not found.
LJME_INVALID_CONNECTION_TYPE 1251 LJM received an unexpected connection type.
LJME_INVALID_DIRECTION 1252 LJM received an unexpected read/write direction.
LJME_INVALID_FUNCTION 1253 LJM received an unexpected Modbus function.
LJME_INVALID_NUM_REGISTERS 1254 LJM received an unexpected number of registers.
LJME_INVALID_PARAMETER 1255 LJM received an unexpected parameter. Please check the LabJackM.h description of the function that returned this error for an explanation.
LJME_INVALID_PROTOCOL_ID 1256 LJM received an unexpected Modbus protocol ID.
LJME_INVALID_TRANSACTION_ID 1257 LJM received an unexpected Modbus transaction ID.
LJME_INVALID_VALUE_TYPE 1259 LJM received an unexpected data type.
LJME_MEMORY_ALLOCATION_FAILURE 1260 LJM was unable to allocate needed memory.
LJME_NO_COMMAND_BYTES_SENT 1261 No Modbus command bytes could be sent to the device.
LJME_INCORRECT_NUM_COMMAND_BYTES_SENT 1262 An incorrect number of Modbus command bytes were sent to the device, as reported by the underlying driver.
LJME_NO_RESPONSE_BYTES_RECEIVED 1263 No Modbus response bytes could be received from the device.
LJME_INCORRECT_NUM_RESPONSE_BYTES_RECEIVED 1264 An incorrect/unexpected number of Modbus response bytes were received from the device.
LJME_MIXED_FORMAT_IP_ADDRESS 1265 LJM received an IP identifier that seemed to be formatted in both hexadecimal and decimal.
LJME_UNKNOWN_IDENTIFIER 1266 LJM received an unknown identifier type.
LJME_NOT_IMPLEMENTED 1267 An unimplemented functionality was attempted. Please contact LabJack support if you've received this error so we can implement it for you!
LJME_INVALID_INDEX 1268 LJM received an index/offset that was out-of-bounds. Please contact LabJack support if you've received this error.
LJME_INVALID_LENGTH 1269 LJM received a length that did not make sense. Please contact LabJack support if you've received this error.
LJME_ERROR_BIT_SET 1270 A Modbus response had the error bit set. Please contact LabJack support if you've received this error.
LJME_INVALID_MAXBYTESPERMBFB 1271 LJM_AddressesToMBFB received a value of MaxBytesPerMBFB that was too small.
LJME_NULL_POINTER 1272 LJM received a null pointer for a pointer parameter that is required to not be null.
LJME_NULL_OBJ 1273 LJM found a null object. Please contact LabJack support if you've received this error.
LJME_RESERVED_NAME 1274 The requested name was invalid/reserved.
LJME_UNPARSABLE_DEVICE_TYPE 1275 LJM received a device type string that was unparsable or unexpected.
LJME_UNPARSABLE_CONNECTION_TYPE 1276 LJM received a connection type string that was unparsable or unexpected.
LJME_UNPARSABLE_IDENTIFIER 1277 LJM received a identifier string that was unparsable or unexpected.
LJME_PACKET_SIZE_TOO_LARGE 1278 The Modbus packet to be sent or the expected Modbus packet to be received exceeded the maximum packet size for the device connection.
LJME_TRANSACTION_ID_ERR 1279 LJM received a mismatched Modbus transaction ID from the device.
LJME_PROTOCOL_ID_ERR 1280 LJM received a mismatched Modbus protocol ID from the device.
LJME_LENGTH_ERR 1281 LJM received a mismatched Modbus packet length from the device.
LJME_UNIT_ID_ERR 1282 LJM received a mismatched Modbus unit ID from the device.
LJME_FUNCTION_ERR 1283 LJM received a mismatched Modbus function ID from the device.
LJME_STARTING_REG_ERR 1284 LJM received a mismatched Modbus register address from the device.
LJME_NUM_REGS_ERR 1285 LJM received a mismatched Modbus number of registers from the device.
LJME_NUM_BYTES_ERR 1286 LJM received a mismatched Modbus number of bytes from the device.
LJME_CONFIG_FILE_NOT_FOUND 1289 The LJM configuration file could not be opened for reading.
LJME_CONFIG_PARSING_ERROR 1290 An error occurred while parsing the LJM configuration file.
LJME_INVALID_NUM_VALUES 1291 LJM received an invalid number of values.
LJME_CONSTANTS_FILE_NOT_FOUND 1292 The LJM error constants file and/or Modbus constants file could not be opened for reading.
LJME_INVALID_CONSTANTS_FILE 1293 The LJM error constants file and/or Modbus constants file could not be parsed.
LJME_INVALID_NAME 1294 The requested name was not found in the register loaded from the constants file (if the constants file is loaded).
LJME_OVERSPECIFIED_PORT 1296 The requested connection type is ANY and port is specified.
LJME_INTENT_NOT_READY 1297 The internal operation object was not prepared correctly. Please contact LabJack support if you've received this error.
LJME_ATTR_LOAD_COMM_FAILURE 1298 A device matching the requested device parameters was found, claimed, and connected, but a communication error prevented device attributes from being loaded to LJM. The device was not opened.
LJME_INVALID_CONFIG_NAME 1299 LJM received an unknown configuration name.
LJME_ERROR_RETRIEVAL_FAILURE 1300 An error occurred on the device and LJM was unable to retrieve more information about that error. Please contact LabJack support if you've received this error.
LJME_LJM_BUFFER_FULL 1301 The LJM stream buffer was filled with stream data and stream was stopped.
LJME_COULD_NOT_START_STREAM 1302 LJM could not start stream. Input may have incorrect or a different error may have occurred.
LJME_STREAM_NOT_RUNNING 1303 LJM is not streaming data from the device.
LJME_UNABLE_TO_STOP_STREAM 1304 The stream could not be stopped.
LJME_INVALID_VALUE 1305 LJM received a value that was not expected.
LJME_SYNCHRONIZATION_TIMEOUT 1306 LJM did not receive data from the stream for long enough that reading form the LJM buffer timed out.
LJME_OLD_FIRMWARE 1307 The current firmware version of the device was not sufficient to read/write a requested register, as according to the loaded LJM constants file.
LJME_CANNOT_READ_OUT_ONLY_STREAM 1308 The stream running is out-only and does not produce data values.
LJME_NO_SCANS_RETURNED 1309 The LJM configuration LJM_STREAM_SCANS_RETURN is set to LJM_STREAM_SCANS_RETURN_ALL_OR_NONE and the full ScansPerRead scans have not be received.
LJME_TEMPERATURE_OUT_OF_RANGE 1310 LJM_TCVoltsToTemp recieved a temperature that was out of range for the given thermocouple type.
LJME_VOLTAGE_OUT_OF_RANGE 1311 LJM_TCVoltsToTemp recieved a voltage that was out of range for the given thermocouple type.
MODBUS_RSP_OVERFLOW 2300 Response packet greater than max packet size.
MODBUS_CMD_OVERFLOW 2301 Command packet greater than max packet size
MODBUS_STRING_CMD_TOO_BIG 2310
MODBUS_STRING_PARAM_TOO_BIG 2311
MODBUS_STRING_BAD_NUM_PARAMS 2312
MODBUS_INVALID_NUM_REGISTERS 2313 Register data types does not match the number of registers in the request.
MODBUS_READ_TOO_LARGE 2314
MODBUS_NUM_REGS_MUST_BE_EVEN 2315 Register or group of registers requires tha access be in an even number of registers.
MODBUS_STRING_MISSING_NULL 2316 Strings must be terminated with a null (\0, 0x00).
STARTUP_CONFIG_INVALID_CODE 2330
STARTUP_CONFIG_INVALID_READ 2331 An attempt was made to read beyond the configuration structure.
USER_RAM_FIFO_MUST_BE_EMPTY 2340 The FIFO can not contain any data when data size is being changed.
USER_RAM_FIFO_INSUFFICIENT_VALUES 2343 The FIFO contains fewer values than requested.
USER_RAM_FIFO_INSUFFICIENT_SPACE 2344 FIFO does not have enough free space to hold the requested write. No data was added to the FIFO.
USER_RAM_FIFO_SIZE_MUST_BE_EVEN 2345 The number of bytes allocated to the FIFO must be even..
INTFLASH_ADD_INVALID 2350
INTFLASH_CODE_INVALID 2351
INTFLASH_OP_PROHIBITED 2352 Attempted to read or write a section that is not allowed.
INTFLASH_SECTION_OVERWRITE 2353 Attempted to write or read beyond the currently selected section.
INTFLASH_KEY_INVALID 2354 Specified Key and Address mismatch.
FLASH_VERIFICATION_FAILED 2355 A write to flash failed to set one or more bits to the desired values.
FLASH_ERASE_FAILED 2356 One or more bits failed to set during a flash erase operation.
INTFLASH_UNAVAILABLE 2358 Flash can not be accessed due to the WiFi module booting up.
FILEIO_UNAVAILABLE 2359 The file system can not be accessed due to the WiFi module booting up.
AIN_RANGE_INVALID 2370 Specified range not available on this device.
AIN_SETTLING_INVALID 2371 Specified settling is greater than device max.
AIN_SET_TO_BINARY 2372 Analog input system currently set to binary. Some operations, such as AIN_EF, will fail.
AIN_NEGATIVE_CHANNEL_INVALID 2373 For channel range 0-13: Negative channel must be even channel number + 1. For extended channel range 48-127: Negative channel must be channel number + 8.
AIN_ALL_ZERO_ONLY 2374 Only a value of zero may be written to this address.
LUA_VM_STATE_NO_CHANGE 2380
LUA_INITIALIZATION_ERROR 2381
LUA_INVALID_NUM_IO_FLOATS 2382 Requested more than the max possible number of IO floats.
LUA_IO_FLOATMEM_OVERFLOW 2383 Attempt to read/write beyond the currently allocated IO space.
LUA_INVALID_MODE 2384
LUA_IS_RUNNING 2385 A running script is preventing the requested operation.
LUA_CODE_BUFFER_EMPTY 2386 Attempted to run a program that is not present.
LUA_DEBUG_IS_DISABLED 2387 Attempted to read from debug buffer while debug is disabled.
SYSTEM_MEMORY_BEREFT 2400 Insufficient memory to perform the requested action.
SYSTEM_MEMORY_OVERWRITE 2401 Attempted to overwrite a buffer.
SYSTEM_RESTART_CODE_INVALID 2402 Invalid code supplied when issuing a restart.
SYSTEM_READ_OVERRUN 2403
SYSTEM_INVALID_PIN 2404
SYSTEM_NVRAM_UNAVAILABLE 2405 NVRAM is not available on this device.
SYSTEM_NVRAM_INVALID_ADDRESS 2406 The specified NVRAM location is not available on this device.
SYSTEM_WAIT_TOO_LONG 2407 The requested wait time is beyond the max allowed.
DEVICE_NAME_MUST_BE_ALPHANUM 2420 Attempted to write a device name with invalid characters.
POWER_INVALID_SETTING 2450 Unknown value specified.
POWER_USB_NEEDS_20MHZ_OR_MORE 2451 Core must be running at least 20MHz for USB to operate.
POWER_NO_CHANGE 2452
POWER_CAN_NOT_CHANGE_USED_CONNECTION 2456 Can not change the power level of the connected medium.
POWER_ANALOG_OFF 2460 Analog input system is powered down.
WIFI_NOT_ASSOCIATED 2490 WiFi needs to be connected to a network before the requested action can be performed.
HW_DIO_NOT_AVAILABLE 2500
HW_CNTRA_NOT_AVAILABLE 2508 Counter A is being used by another system.
HW_CNTRB_NOT_AVAILABLE 2509 Counter B is being used by another system.
HW_CNTRC_NOT_AVAILABLE 2510 Counter C is being used by another system.
HW_CNTRD_NOT_AVAILABLE 2511 Counter D is being used by another system.
HW_CIO0_NOT_AVAILABLE 2520
HW_CIO1_NOT_AVAILABLE 2521
EF_DIO_HAS_NO_TNC_FEATURES 2550
EF_INVALID_TYPE 2551 The selected type is not recognized.
EF_TYPE_NOT_SUPPORTED 2552 The selected type is not recognized.
EF_PIN_TYPE_MISMATCH 2553 The requested type is not supported on this DIO pin.
EF_CLOCK_SOURCE_NOT_ENABLED 2554 Attempted to disable a clock source that is not running.
EF_32BIT_DATA_INTO_16BIT_REG 2555 A number greater than 16-bits was written to a clock source configured for 16-bits.
EF_SET_TO_32BIT 2556
EF_SMOOTH_VALUE_OUT_OF_RANGE 2557
EF_32BIT_REQUIRES_BOTH_CNT0and1 2558 Both counter 1 and counter 2 must be disabled before enabling counter 0.
EF_PRESCALE_VALUE_INVALID 2559 Specified prescale value is not supported. Supported values are 1,2,4,8,16,32,64, and 256
EF_PIN_RESERVED 2560 Pin is already used by another system.
EF_INVALID_DIO_NUMBER 2561 DIO addresses is not supported on this device.
EF_LINE_MUST_BE_LOW_BEFORE_STARTING 2563 The DIO line must be set to output low to ensure proper signal generation.
EF_INVALID_DIVISOR 2564
EF_VALUE_GREATER_THAN_PERIOD 2565 Value specified is greater than clock source roll value.
AIN_EF_INVALID_TYPE 2580 The type index specified is not supported.
AIN_EF_INVALID_NUM_SAMPLES 2581 Too many samples specified.
AIN_EF_CALCULATION_ERROR 2582
AIN_EF_CHANNEL_INACTIVE 2583 AIN_EF channel has not been initialized. To initialize, set the index to a non-zero value.
AIN_EF_CALCULATION_OUT_OF_RANGE 2584
AIN_EF_INVALID_CHANNEL 2585
AIN_EF_INVALID_CJC_REGISTER 2586
AIN_EF_STREAM_START_FAILURE 2587 Could not start the data collection stream.
AIN_EF_COULD_NOT_FIND_PERIOD 2588 Failed to detect a period to perform calculations over.
AIN_EF_MUST_BE_DIFFERENTIAL 2589 The selected AIN must be set to differential.
AIN_EF_SCAN_TIME_TOO_LONG 2590 The data collection time (number of samples / scan rate) is too big. Limit is set to 180 ms as of firmware 1.0170
STREAM_NEED_AT_LEAST_ONE_CHN 2600 The list of channels to stream is empty.
STREAM_CLOCK_BASE_NOT_WRITABLE 2601 Stream clock base is read only.
STREAM_EXTCLK_AND_GATE_MX 2602
STREAM_IN_SPONTANEOUS_MODE 2603 Stream data can not be read with commands while in spontaneous mode.
STREAM_USB_PKT_OVERFLOW 2604
STREAM_IS_ACTIVE 2605 The requested operation can not be performed while stream is running.
STREAM_CONFIG_INVALID 2606 Stream resolution can not be greater than 8.
STREAM_CHN_LIST_INVALID 2607 The channel list contains an unstreamable address.
STREAM_SCAN_RATE_INVALID 2608 The scan rate times the number of channels per scan is too great for this device.
STREAM_OUT_BUFF_TOO_BIG 2609
STREAM_OUT_NUM_INVALID 2610 An invalid stream out number was specified.
STREAM_DATA_TYPE_INVALID 2611 An unsupported data types was specified.
STREAM_TARGET_CONFIG_INVALID 2612 Stream must be set to either spontaneous or command-response.
STREAM_OUT_BUFF_FULL 2613 Attempted to write more data than the buffer can hold. Extra data was discarded.
STREAM_OUT_TARGET_INVALID 2614 Specified address can not be a stream out target.
STREAM_BUFF_SIZE_INVALID 2615 Specified buffer was either too large or not a power of 2.
STREAM_OUT_BUFF_LOOP_OVERWRITE 2616
STREAM_OUT_BUFF_DNE 2617 The buffer size must be set before data can be written to it.
STREAM_SAMPLES_PER_PKT_INVALID 2618 The specified number of samples per packet is too large.
STREAM_BUFFER_DNE 2619
STREAM_NOT_RUNNING 2620
STREAM_SETTLING_INVALID 2621 Specified settling time is greater than the max possible.
STREAM_OUT_LOOP_TOO_BIG 2622 Loop size to big for the current buffer size.
STREAM_OUT_DATA_TRGT_MISSMATCH 2623
STREAM_INVALID_DIVISOR 2624 Selected divisor can not be used.
STREAM_CHN_CAN_NOT_BE_STREAMED 2625 The requested channel can not be streamed.
SWDT_ROLLT_INVALID 2670
SWDT_ENABLED 2671 The watchdog must be disabled before the requested operation can be performed.
SWDT_DIO_SETTINGS_INVALID 2672
SWDT_DAC0_SETTINGS_INVALID 2673
SWDT_DAC1_SETTINGS_INVALID 2674
RTC_TIME_INVALID 2690
RTC_SNTP_TIME_INVALID 2691
RTC_NOT_PRESENT 2692 The requested operation can not be performed on units without a real-time-clock.
SPI_MODE_INVALID 2700 Valid modes are 0-3.
SPI_NO_DATA_AVAILABLE 2701
SPI_CS_PIN_INVALID 2702 Attempted to set an invalid pin.
SPI_CLK_PIN_INVALID 2703 Attempted to set an invalid pin.
SPI_MISO_PIN_INVALID 2704 Attempted to set an invalid pin.
SPI_MOSI_PIN_INVALID 2705 Attempted to set an invalid pin.
SPI_CS_PIN_RESERVED 2706 Selected pin is not available.
SPI_CLK_PIN_RESERVED 2707 Selected pin is not available.
SPI_MISO_PIN_RESERVED 2708 Selected pin is not available.
SPI_MOSI_PIN_RESERVED 2709 Selected pin is not available.
SPI_TRANSFER_SIZE_TOO_LARGE 2710
I2C_BUS_BUSY 2720 One or both of the I2C lines are held low. Check hardware and reset the bus.
I2C_NO_DATA_AVAILABLE 2721 Attempted to read from an empty buffer.
I2C_SDA_PIN_INVALID 2722 Attempted to set an invalid pin.
I2C_SCL_PIN_INVALID 2723 Attempted to set an invalid pin.
I2C_SDA_PIN_RESERVED 2724 Selected pin is not available.
I2C_SCL_PIN_RESERVED 2725 Selected pin is not available.
I2C_TX_SIZE_TOO_LARGE 2726
I2C_RX_SIZE_TOO_LARGE 2727
I2C_BUFFER_OVERRUN 2728
SBUS_COMM_TIME_OUT 2740 Slave device did not respond.
SBUS_NO_ACK 2741 Slave device did not acknowledge the data transfer.
SBUS_CUSTOM_MODE_INVALID 2742
SBUS_INVALID_DIO_NUM 2743 Attempted to set an invalid pin.
SBUS_BACKGROUND_SERVICE_ON 2744 Command-response reads can not be used while the background service is running.
SBUS_CHECKSUM_ERROR 2745 SHT communication checksum failed.
TDAC_SDA_SCL_INVALID 2760 SCL must be even and SDA must be SCL+1.
TDAC_SCL_INVALID 2761 Attempted to set an invalid pin.
TDAC_INVALID_CHANNEL 2762 Specified channel not supported on this device.
TDAC_CAL_READ_FAILURE 2763 Failed to read TDAC calibration.
ONEWIRE_UNSUPPORETD_FUNCTION 2770 Unknown function specified.
ONEWIRE_NO_PRESENCE_PULSE 2771 Unable to detect any devices on the bus.
ASYNCH_NUM_DATA_BITS_INVALID 2780 The specified number of data bits is not supported.
ASYNCH_NUM_TO_WRITE_INVALID 2781 The number of bytes to send is invalid.
ASYNCH_READ_BUFF_SIZE_INVALID 2782 The specified buffer size is invalid. Max is 2048.
ASYNCH_BAUD_TOO_HIGH 2783 Baud rate too high for this device.
ASYNCH_IS_ENABLED 2784 Specified operation can not be performed while enabled.
ASYNCH_IS_NOT_ENABLED 2785 Specified operation can not be performed while disabled.
ASYNCH_TX_BUFFER_FULL 2786 Transmit buffer is full.
ASYNCH_TX_TIMEOUT 2787 Transmission timed out. Do not write more than 100 ms at a time.
ASYNCH_BAUD_ZERO 2788 Baud rate is zero. Please specify a baud rate.
FILE_IO_DISK_ERROR 2801 A hard error occurred in the low level disk I/O layer.
FILE_IO_INTERNAL_ERROR 2802 Assertion failed.
FILE_IO_NOT_READY 2803 The physical drive cannot work.
FILE_IO_NO_FILE 2804 Could not find the file.
FILE_IO_NO_PATH 2805 Could not find the path.
FILE_IO_INVALID_NAME 2806 The path name format is invalid.
FILE_IO_DENIED 2807 Access denied due to prohibited access or directory full.
FILE_IO_EXIST 2808 Access denied due to prohibited access.
FILE_IO_INVALID_OBJECT 2809 The file/directory object is invalid.
FILE_IO_WRITE_PROTECTED 2810 The physical drive is write protected.
FILE_IO_INVALID_DRIVE 2811 The logical drive number is invalid.
FILE_IO_NOT_ENABLED 2812 The volume has no work area.
FILE_IO_NO_FILESYSTEM 2813 There is no valid FAT12, FAT16, or FAT32 volume.
FILE_IO_MKFS_ABORTED 2814 The f_mkfs() aborted due to any parameter error.
FILE_IO_TIMEOUT 2815 Could not get a grant to access the volume within defined period.
FILE_IO_LOCKED 2816 The operation is rejected according to the file sharing policy.
FILE_IO_NOT_ENOUGH_CORE 2817 LFN working buffer could not be allocated.
FILE_IO_TOO_MANY_OPEN_FILES 2818 Number of open files greater than allowable limit (files > _FS_SHARE).
FILE_IO_INVALID_PARAMETER 2819 Given parameter is invalid.
WIFI_ASSOCIATED 2900
WIFI_ASSOCIATING 2901
WIFI_ASSOCIATION_FAILED 2902
WIFI_UNPOWERED 2903
WIFI_BOOTING_UP 2904
WIFI_COULD_NOT_START 2905
WIFI_APPLYING_SETTINGS 2906
WIFI_DHCP_STARTED 2907
WIFI_OTHER 2909
WIFI_UPDATE_CONFIG 2920
WIFI_UPDATE_IN_PROG 2921
WIFI_UPDATE_REBOOT 2923
WIFI_UPDATE_SUCCESS 2924
WIFI_UPDATE_FAILED 2925
STREAM_AUTO_RECOVER_ACTIVE 2940
STREAM_AUTO_RECOVER_END 2941
STREAM_SCAN_OVERLAP 2942 A new scan started before the previous scan finished. Generally occurs because ScanRate > MaxSampleRate/NumChannels. Note that MaxSampleRate is impacted by Range, ResolutionIndex, and Settling. Try adding commands right before StreamStart to set AIN_ALL_RANGE=10, STREAM_RESOLUTION_INDEX=0, and STREAM_SETTLING_US=0.
STREAM_AUTO_RECOVER_END_OVERFLOW 2943
STREAM_BURST_COMPLETE 2944
SELFDIAG_MAIN_OSC_FAIL 2950
FILE_IO_NOT_FOUND 2960 The requested file was not found.
FILE_IO_NO_DISK 2961 No SD card present or SC card could not be initialized.
FILE_IO_INVALID_NAME 2962 The file name is invalid.
FILE_IO_FILE_NOT_OPEN 2963 An open file is required to perform the requested operation.
FILE_IO_TOO_MANY_OPEN 2964 There are too many files open.
FILE_IO_SD_CARD_NOT_FOUND 2964 Failed to mount the SD card. Card may be bad or incompatible.
LJN_DEVICE_NOT_CONNECTED 99999 The device is no longer connected, trying to reconnect
LJN_DEVICE_NOT_CONNECTED 99999 The device is no longer connected, trying to reconnect

Support - Table Styling Fix

Support - Long Table Styling

5 comments

Hi, just started using labjack and i am getting a labjack Error#1298 using the LJLogM1.03

any help?

That is LJME_ATTR_LOAD_COMM_FAILURE.  2 typical causes:

1.  Most common.  In LJM versions < 1.0800 (which is not yet released as of this writing), you can get this error if you do a DeviceType=Any open call and LJM can't find a T7 but does find a U3, U6, or UE9.

2.  LJM was able to open a T7 matching your open parameters, but beyond the open the T7 did not respond properly.

I have tried eReadNames Example.vi for simple connection check. When my T7 is connected to my laptop (WIFI Access Point) which runs the VI everything seems to work and I can choose WIFI or USB as connection type and corresponding number (1 or 4) is displayed. However, when I run the same program and the only difference is that I am powering the T7 via USB from a different computer, initially error #1298 is displayed (Kipling still shows that there is a WIFI connection). After I specify device/connection type and identifier I am getting a different error: #1227. How can I fix this? (I started using Labjack 2 weeks ago so I believe that I have everything updated)

 

Error 1298 = LJME_ATTR_LOAD_COMM_FAILURE

Error 1227 = LJME_DEVICE_NOT_FOUND

Most likely the T7 isn't connected to the same network as the laptop.  i.e. the laptop is serving as the access point(creating the network), and I'm not sure if the laptop wireless transceiver is half-duplexed such that it can also be a member of that same network.  What happens if the T7 is connected to a dedicated WiFi AP, and the laptop is connected to that same access point?  If the identifier you are using is the T7s serial number, try using the T7s IP address instead.  Can you successfully ping the T7's IP address? 

There are a lot of other tips at the bottom of this app note http://labjack.com/support/app-notes/basic-networking-troubleshooting

In terms of posting on this error codes page, the normal way to get a string version of error codes is with the LJM function mentioned above, and this is what you will see in all LabVIEW_LJM examples.  To see a listing of error codes, you can look at LabJackM.h and ljm_constants.json as mentioned above.

You seem to be having communication, networking, or WiFi configuration problems.  That is beyond the scope of this page, so I suggest you start a forum topic.  Following are points you can comment on to start the forum topic:

During troubleshooting at least, make sure only one program is open at a time that might talk to the T7-Pro.

If you run Kipling on the Laptop does it find the WiFi connection on the T7-Pro, and if you connect using that can you go to the different device tabs and see readings?

Add a USB connection between the laptop and the T7-Pro, run Kipling, and connect to the T7-Pro using the USB connection.   Go to the 12th bullet in the WiFi Troubleshooting Tips.  The other bullets in that list are also useful.