Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

A code library required by VISA could not be located or loaded.

Hello,

I am trying to communicate with an Agilent HP 6613C Power Supply via GPIB and LabVIEW 7.0 on a machine with OS Win2000Pro. When I try to run any of the VIs (which contain a "call library function node) pertaining to the instrument , I receive the following error:

"Error -1073807202 occurred at hp661x Initialize.vi

Possible reason(s):
Driver Status: (Hex 0xBFFF009E) instrumentHandle was zero. Was the hp661x_init() successful?"

In the LavVIEW help, I found that this error translates into the Subject of this message. Can anyone tell me what can I do about this?

Thanks a million if you can,
Jason
Message 1 of 7
(26,067 Views)
First, check in MAX to see whether you actually have VISA installed. VISA is on your driver CD.
0 Kudos
Message 2 of 7
(26,063 Views)
Hello Dennis,

I have been using LabVIEW for about a year but this is my first time setting up a GPIB interface.

Max says that VISA may not be installed properly. Under my "Devices and Interfaces" it says "VISA Error". I have reinstalled the LV 7.0 Device drivers and reinstalled the NI-488.2 software but it still has the same problem.

What would be the easiest way to determine what the problem with my VISA is, and correct it?

Thank you,
Jason Stairs
Message 3 of 7
(26,057 Views)
The easiest way to fix the problem might to uninstall all drivers and then reinstall. To make sure everything is cleaned up before reinstalling, you might want to try running a program called msiblast. I don't have a link to it handy but there's but a couple posts recently that you should be able to do a search for it. Good luck.
0 Kudos
Message 4 of 7
(26,054 Views)
Hey Dennis,

That was the problem. After reinstalling my VISA it worked. Thank you!

jason
0 Kudos
Message 5 of 7
(26,033 Views)

me also i encounter error when i use the Agilent E6560C ,

Labview Hex 0XBFFF009E visa or Code Library by VISA could not be located or loaded this is ususally due to a requireddriver not being installed on the system.

but i dont have the installer cd , where can i download that needed drivers.

0 Kudos
Message 6 of 7
(22,173 Views)
At the top of the page is a link called Support. Click it.
0 Kudos
Message 7 of 7
(22,171 Views)