Why Do I Get Error -301706 When Trying to Connect to My USB-8451?

Updated Jun 14, 2018

Reported In

Hardware

  • USB-8451

Software

  • Measurement & Automation Explorer (MAX)
  • LabVIEW

Issue Details

I just installed the software for the USB-8451 and am able to see it in Measurement & Automation Explorer (MAX). When I attempt to use LabVIEW to program it, the VISA reference is blank, or the reference is available with the following error message:

Error -301706 occurred at NI-845x I2C Write Read.vi
Possible reason(s):
NI-845x: The device reference is invalid. Verify that the supplied device reference contains a valid device name.

Solution

The NI-845x driver does not support automatic detection within the VISA control. In MAX, you should be able to change the name of the alias for the device to another name and then save it. Your device should now run without error.