Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

error in configuring VISA

I cannot access my VISA option at all...I'm using labview 2011..i tried to validate and open visa session then it displayed...

"Error opening resource:
ASRL3::INSTR

VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it."

 

I surfed throught all the details...but i couldnot resolve..please help me...

0 Kudos
Message 1 of 3
(2,637 Views)

The common causes for that error is some other program is using the resource or you failed the previously close the resource.  I would try a reboot and try your code again.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,609 Views)

Also, to prevent this error in the future (in case, if you'll open VISA reference in the VI, and then VI will be terminated, and VISA resource will not be released), I'd recommend to setup the following for your LabVIEW environment:

 

go to Options -> Environment -> Automatically close VISA sessions, and make sure, that it is enabled.

 

Thanks,

 

logos_middle.jpg

0 Kudos
Message 3 of 3
(2,594 Views)