General Troubleshooting Tips for VISA problems


First Steps
  1. Go to a New VI.
  2. Go to the block diagram.
  3. Put the VISA Find Resource.vi on the diagram. (It's in functions palette >> Instrument I/O >> VISA).
  4. Pop-up on the VI and create a control for Search Expression.
  5. Pop-up on the VI and create an indicator for Find List.
  6. Your block diagram should now look like this:

  7. Go to the front panel and type "?*Instr" in the expression control.
  8. Pull down on the find list array so that 6 or more elements are showing.
  9. Your front panel should look like this:

  10. Now click on the Run arrow. You should at least see your serial ports after it runs. My serial port data looked like this:

  11. The ASRL1 is com1, ASRL2 is com2, and ASRL10 is LPT1
  12. If the serial ports aren't found, VISA was not installed correctly (or not installed at all). You should reinstall it. Click here to go to a page from which you can download NI-VISA.
  13. If the serial ports are found, VISA is working fine. (However, the GPIB stuff may not be totally configured). If this is the case, there are five possible reasons why:
    1. Instrument not turned on.
    2. Cable not connected, or is bad.
    3. GPIB card not present in computer (or not properly seated).
    4. NI-488 driver (the driver that runs the GPIB card) is not installed.
    5. NI-488 driver is mismatched with VISA driver (one is 16-bit and the other 32-bit).
  14. If VISA is working fine, and GPIB ports are found, then go to this page to check on possible solutions for VISA errors.
  15. If GPIB ports are not found, we must do GPIB troubleshooting.

No comments:

Post a Comment