LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Hello macncheese,

 

I really appreciate your reply - sorry for my super-delayed response! I've been busy these past few months finishing up my thesis and defending it.

 

I did try to reinstall the drivers, but it seemed that they were all up-to-date, so reinstalling didn't change anything. Ultimately I think it was a hardware issue: I think water had spilled out of a container on the balance at some point and gotten into the pinned connector cable that linked the balance to the computer. When I disconnected the cable, the terminals looked corroded beyond recovery. 😕 Oh well.

 

Thanks anyways for trying to help!

0 Kudos
Message 11 of 34
(6,220 Views)

Help please !!

alpha10_0-1589818866868.png

alpha10_1-1589818889267.png

 

 

0 Kudos
Message 12 of 34
(4,154 Views)

@alpha10 wrote:

Help please !!

alpha10_0-1589818866868.png

alpha10_1-1589818889267.png

 

 


That error typically means you are using the serial port in another application.  A serial port can only be used by 1 process at a time.


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 13 of 34
(4,144 Views)

Hi all,

I am also facing the same issue while interfacing a power supply unit connected by USB-RS 232 connector to my PC.

So instead of making a Labview program I first checked the basic I/O option of the VISA Test panel and enter a command to communicate with the instrument. (*IDN?)

So the write option is showing no error but when I am checking for query or read option I am getting the following error (screenshot attached).

 

Is this error is because of the reason that I may be using the serial port in another application? if yes, then how to check it and resolve it?

 

P.S. I am using a third-party RS232 connector and already installed the latest drivers for it.

0 Kudos
Message 14 of 34
(3,957 Views)

No it's not the same issue nor the same error. The port opening is ok but there is an actual input error.

Are you sure that the port settings match those of the instrument? Does the unit outputs data continuously? Does the unit react to an IDN request?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 15 of 34
(3,952 Views)

Sorry, I posted this problem in a rush, so I didn't check the subject properly.

 

 

My instrument is currently showing only the Baud rate, which I matched with the port settings. And in the above-sent screenshot, I tried the same command (IDN), but somehow it is not able to read it, although, in writing, there is no issue.

 

----

Raghav

0 Kudos
Message 16 of 34
(3,950 Views)

What device is it? A device has to support specifically any command you try to send it too. If it doesn't recognize the command most devices will simply show you a nose and stay silent.

 

Only devices that support at least a subset of the GPIB 488.2 standard will support the IDN? command. And only measurement instruments of more or less T&M type manufacturers like Keithley, Agilent/Keysight, Tektronix and similar will do that usually.

 

Many others will cook up their own idea of a protocol.

Rolf Kalbermatter
My Blog
0 Kudos
Message 17 of 34
(3,947 Views)

I am using a Keithley 2231A-30-3 Triple Channel Power supply, and I checked it's manual as well, and IDN is a valid command in my case.

 

----

Raghav

0 Kudos
Message 18 of 34
(3,943 Views)

error 0xBFFF003E is a generic IO error. This means that VISA tried to call some Windows API function which returned an unexpected error. That can happen for USB-RS232 adapters who use a buggy driver. You might have to install a specific Windows USB driver for your device. The standard Windows USB-COMM driver seems to trip over something that the USB controller in your device is doing.

Rolf Kalbermatter
My Blog
0 Kudos
Message 19 of 34
(3,934 Views)

@ragavposti  ha scritto:

I am using a Keithley 2231A-30-3 Triple Channel Power supply, and I checked it's manual as well, and IDN is a valid command in my case.

 

----

Raghav


The unit Reference Manual says the serial interface is TTL and not RS-232.

A standard RS-232 USB adapter would not work.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 20 of 34
(3,930 Views)