LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA ERROR(hex 0xBFFF0011)

Hi, there,
I've programmed a VI that communicates via USB TMC with an instrument. Works
fine on the Computer (Window 2000 with LV 7.0 Full Development), where I
developed the VI.


I built an application of this VI. Works fine on the Computer, where I
developed.


When I try to portate it on another Computer (Window 2000 with Runtime Engine LV
7.0) I have the following error


Error -1073807343 occurred at VISA Open in ***.VI.


Possible reasons:


VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not presnt in the system.


What cause this problem ?


Thanks a lot"
0 Kudos
Message 1 of 7
(6,055 Views)
Seems like your instrument is not being found on the second computer. Most likely, your instrument drivers have not been properly installed. If using VISA, you must have VISA drivers for that instrument installed on the computer you are using to connect to that instrument. You can use MAX (Measurement and Automation Explorer) to see if that unit is properly installed. If it doesn't show up in MAX, your drivers are not properly installed.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 7
(6,055 Views)
Check your Automation Explorer , Devices and Interfaces, Ports (serial & Parallel). Check the Port you are trying to communicate with and see if the Alias name is the same as in your program. I have had problems using COM X on some machines but ASRLX::INSTR works just fine.

I try to use an INI file to set the device configurations in it. If you have a constant with your resource name in you vi, It may be calling your resource COM5 on you development machine but on your test machine it may be COM2.

Both situations have happen to me.

Hope this helps.
Randall
0 Kudos
Message 3 of 7
(6,055 Views)
Definitely you will want configure an alias to your USBTMC instrument and copy your visaconf.ini to your target machine.

Unlike other traditional GPIB instruments, it is unlikely that your USB device has the same address when connected to another computer. Therefore, use VISA aliases that allow you to configure your USB device outside of your application.

To learn more about VISA and USB, you the following app note is helpful:

Using NI-VISA 3.0 to Control Your USB Device
Message 4 of 7
(6,055 Views)
Thank you for your reply.
I check that VISA drivers was installed on the computer. Because I can use MAX to see it, and
communicate with my instrument by VISA interactive
control. The USB resource name which shows in MAX
is the same resource name in my .vi program.
But the error is still there. Do you have any crue?

Thank you again for your reply.
0 Kudos
Message 5 of 7
(6,055 Views)
You might check your resources available on the machine. Try a vi like the one attached.
0 Kudos
Message 6 of 7
(6,055 Views)
Thank you for your reply.
I will try it out.
0 Kudos
Message 7 of 7
(6,055 Views)