Solution
When Scan for instruments fails, this means VISA did not receive a response back from the instrument. Follow these steps to make sure your instrument is set up properly for communication.
- If the NI-488.2 driver is already installed, it could be that some corruption might have occurred during the installation. To resolve this, try uninstalling and reinstalling the NI-488.2 driver, or installing a different version of the driver instead.
- Check if your instrument is SCPI compliant by referring to its user manual. If it is not, you can test instrument communication with GPIB Interactive Control (IBIC).
- Launch IBIC by navigating to the Tools tab in MAX >> NI-488.2 >> Interactive Control.
- Enter help to launch the help and refer to your instrument’s manual for supported commands.
If you are able to communicate with the instrument in IBIC, then you should also be able to communicate with the instrument from any other programming language, such as G code or C. If this fails, continue with the troubleshooting steps below.
- In MAX, right click on the NI GPIB device and select Properties.
- Verify System Controller is checked.
- If you have other GPIB interfaces connected to your computer, make sure System Controller is disabled.
- Make sure the instrument is on and connected securely to the NI GPIB device.
- Make sure the cabling is following GPIB cabling requirements.
- If your instrument has multiple communication modes, make sure it is configured to be in GPIB/488.2 mode so it can be discovered. Refer to your instrument’s user manual.
- Make sure your instrument has a non-zero address. Refer to your instrument’s user manual for how to change the address.
- If you have multiple instruments connected, make sure they all have unique, non-zero address.
- If you have multiple instruments connected, disconnect all of them and scan for one instrument at a time.
If you are still experiencing issues: