LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

In the future, include the fact that you have an Arduino attached to the system.  Only in your last entry is that mentioned. 

The more information that you can provide upfront, the better the results of solution.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 11 of 13
(367 Views)

kwinsa_1-1715860385351.png

kwinsa_2-1715860407660.png

Hello everyone. Can anyone here help me solve this problem? I created a LabVIEW program as shown in the picture but I keep getting this error. Is there something I am missing?

Thanks

 

0 Kudos
Message 12 of 13
(293 Views)

I think that the issue here is the way you are performing the write.

Minions_0-1715862593329.png

The VISA Write is currently set for Asynchronous mode due to the watch image in the upper right corner.  That means that it is looking for the termination character to be sent along with the "a" input.  Without the termination character, the VISA Write will throw a timeout error and cause the Bytes at port to fail which will most likely return a 0 for characters to read in the VISA Read.

 

Try the following:

  1. Set the Synchronous I/O Mode for the write and read to Synchronous.
  2. Remove the Bytes at Port property node as you automatically perform the read regardless of if there are any bytes to read.

 

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