« Close

Datasheets and User Guides

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

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.