Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI-COM

Makoto:
now i donot think the application code in vc++ project  was wrong, and after reading your experiment and from my experiemnt, i think there was something wrong with Agilent34401 ivi driver , or something wrong with iviSharedcompents..  but i instal everything several times and all ok, so the install process was right.  but for what result this error, i dot know.
 
and i run the example programs supported by agilent34401 driver, firstly  Excel with VBA, then VB60, then VCpp60, all was wrong and with the sam eerror.
 
below was runnning Excel sample with GPIB
 
and if  clicking MonitorDC
0 Kudos
Message 11 of 15
(2,180 Views)

Hello,

I have the exact same problem. I get "Agilent34401A: IO Error: ." when trying to create an object of the IVI DMM driver for my Agilent Instrument. I've tried everything I can think of. Please let me know if you solve this problem.

/Thomas

0 Kudos
Message 12 of 15
(2,157 Views)

Got it to work... this is what I did:

1. Download and installed "Agilent IO LIbraries Suite 14.1". After doing this, my GPIB interface in MAX (under "Devices and Interfaces") was gone (!!).

2. Reinstalled the driver for my PCI-GPIB board. Started MAX to see that the interface was back. (Still unable to create the object from Visual C++.)

3. Opened "Agilent Connection Expert" which seams to be Agilents version of MAX. I did not do anything in this program except for looking to see that the instrument was reachable from the GPIB interface.

After this, I can now create the IviDmm object from Visual Studio C++.

What a mess! It can't be meant to be this complicated?? If you find an easier way to get this working, please let me know! My guess is that some component was missing but I've installed everything I could think of on the NI CD's...

0 Kudos
Message 13 of 15
(2,156 Views)

The problem that the original topic poster has is not object creation.  The problem is that driver's Initialize() method generates an unexpected error - 0x80040603 "Agilent34401: IO error: IDS_ERR_CLSID_UNAVAILABLE". 

0 Kudos
Message 14 of 15
(2,145 Views)
Yes, that's the same as me. 0x80040603 when calling Initialize().
0 Kudos
Message 15 of 15
(2,134 Views)