Error -1073807302 When Calling viFindRsrc With Keysight Hardware

Updated May 31, 2022

Reported In

Driver

  • NI-VISA
  • NI-488.2

Issue Details

  • I have a 3rd party GPIB controller but when I call the viFindRsrc() function, I receive error -1073807302. Why does this happen?
  • NI MAX is not detecting my Keysight GPIB controller and communicating with the device produces the below error. How can I fix this?
Error  -1073807302
Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).

Solution

This error can be caused by incorrect VISA configuration or device driver issues. Follow the steps below to resolve this issue:
  1. Verify that the NIVisaTulip.dll Passport is enabled in NI MAX.
  2. Check whether NI-VISA has been set as the Primary VISA.
  3. Ensure that NI-488.2 is enabled.
  4. Check Windows Device Manager to confirm that the GPIB Controller is correctly identified.
    • If the device is not recognised, reinstall the device drivers.