Hi there,
I am fairly new to Labview and I hope you can help.
I am setting up a .vi to communicate with an instrument. The .vi is fairly simple: open VISA, write command, read buffer and close VISA. Screenshot attached below:
Unfortunately it gives this error:
Possible reason(s):
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
I can communicate with the device without any issue through NI-MAX (see below) and using proprietary software.
Looking for solutions, I tested (unsuccessfully) all of the following suggestions:
- Added an alias in NI-MAX, and used the alias to select the VISA resource
- Added instrument properties before opening the VISA: this reads the right instrument and setting, so it seems that the device name is actually correct
- tested different protocol (TCP/IP, GPIB, Serial) - all gave the same error.
Finally, if I only open and then close the VISA (i.e. I remove the write/read blocks), I do not get any error.
Since I am fairly new in Labview, maybe there is something very basic that I am missing. I hope you can help.
Cheers,
Vale