Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Possible reason(s): VISA: (Hex 0xBFFF0011) but resource is accessible through NI-MAX

$
0
0

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:

vferro1789_1-1606951487992.png

 

 

 

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. 

vferro1789_0-1606951417278.png

 

 

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


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>