NI-845x Throws LabVIEW Error -301740, -301741, -301742, -301743, -301744, or -301745

Updated May 2, 2024

Reported In

Hardware

  • USB-8451
  • USB-8452

Software

  • LabVIEW

Issue Details

I am receiving error -301740, -301741, -301742, -301743, -301744, or -301745 from my NI I2C/SPI device. How do I resolve these errors?

Solution

Try the following steps:
  • Shorten the wire length to decrease noise on the data and clock lines.
  • Use a pull-up resistor if one is not already in use as specified in the NI-845X Manual.
  • Use an oscilloscope to ensure the lines are outputting data when expected. If no data is seen, the device may be damaged.
If you encounter error -301742, please refer to this specific Knowledgebase article, which tackles this error directly: Error -301742 Occurred During USB-845x I2C- or SMBus-Communication