Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Hi

 

Iam using NI PXIe 8135 RT controller.This error has been popping up everytime.

 

Property Node (arg 1) in VISA Configure Serial Port (Instr).vi

Error -1073807246

Possible reason(s):

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

 

We made a new real time project and ran a sample program of basic serial write and read. The visa configure serial port function is outputting this error in error out indicator.  We are sure other services(putty, hyperterminal, com port toolkit) are not accessing the controller comport.We are stuck at this error for quite few days.

 

Regards

 

EKANTH

0 Kudos
Message 1 of 5
(6,820 Views)

Hi - under which target is your VI that is addressing the Serial port? It sounds like you're attempting to use the Serial port on the PXIe 8135 RT, but you mention putty, hyperterminal, etc which are windows programs. Try the following:

 

  1. Close the VISA Write & Read.vi
  2. Move your VISA Write & Read.vi to be listed under your PXIe-8135 RT controller in the project
  3. Reboot the PXIe-8135 RT
  4. Open the VISA Write & Read.vi and click Run

Also make sure you don't have any RTEXEs already running on the PXIe-8135 RT. Aborting an RTEXE that has the VISA resource open could stop the RTEXE but not release the COM port.

 

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
Message 2 of 5
(6,811 Views)

Hello all,

same problem here with NI USB-6343;

Error opening resource:
ASRL30::INSTR

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

Works with laptop but not with this IEI touch panel pc.


Download All
0 Kudos
Message 3 of 5
(4,200 Views)

In your NI-Max window, the device is actually listed two devices down from where you have highlighted.  Why not use that?

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 4 of 5
(4,180 Views)

There are multiple USB devices which are connected to pc via MOXA uPort 407 and TestStand is running several vi's in sequence testing 15 targets. After testing targets with two vi's COM30 cannot be accessed with this pc but with HP Elitebook 840 it's accessible.

0 Kudos
Message 5 of 5
(4,167 Views)