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

Open Visa Error

$
0
0

Hello everyone,

I would be very grateful if someone could help me.

I am trying to communicate with a spectrometer. All is working correctely until I turn it off.

When I turn it on after, I can not execute my program and I get the following error:

 

Error -1073807246: The resource is valid, but VISA cannot currently access it

 

When I go to MAX, my instrument is still existing but It is written "Unknown"

 

I have found an interesting page on ni.com explaning the reason behind this:

 

http://digital.ni.com/public.nsf/websearch/6807113B057FDE4C86256B41008212ED?opendocument&Submitted&&node=133020_US

 

I understood that I am getting this error because the previous sessions are still open.

so I added  "close VISA" whenever I got any error when trying to open a session. In this case the instrument is not detected by MAX and I have to disconnect it and reconnect it.

Can anyone help me in finding a way to use my instrument without disconnection and reconnection it again?

Thanks

 

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



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