Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent U2722A not recognised by NI-VISA USBTMC driver

Hello, 

When trying to use Agilent U2722A SMU (it has USB interface only) in Windows 7 it is not recognised by NI-VISA as USBTMC instrument. Interestlngly, other instruments like Agilent 33522B and Tektronix MDO3024 work fine and are recognised as USB T&M device (IVI). U2722A remains as "other devices", and when I force it to use the USBTMC driver Windows complains that the driver may not be compatible, and eventually does not show up in NI-MAX and doesn't work. 

If I install the Agilent software (their VISA, IO library etc. on a PC without LabVIEW) U2722A works, but this does not agree when LabVIEW is installed. Both NI-VISA and Agilent VISA use the driver ausbtmc.sys.

 

Has anybody seen this problem? I know of the LabVIEW U2722A driver which uses VISA, so at least one person must have had a success! Please help. 

 

Thanks, 

Konstantin

 

 

 Device Manager.PNG

0 Kudos
Message 1 of 6
(7,053 Views)

Hi Konstantin,

 

Sorry to hear the VISA drivers are not working as expected. Does the instrument not work with any PC that has the NI VISA installed? Also have you had any success when using the created Agilent U2722 drivers?

 

Regards,

 

Sol

Application Engineer (CLAD)
0 Kudos
Message 2 of 6
(6,894 Views)
Hi Konstantin, I am not the person who success communicate with U2722A with NI-VISA. But I guess you would like to use Keysight's VISA in LabVIEW as you mentioned the device works well in Keysight's IO Suite. http://cp.literature.agilent.com/litweb/pdf/5990-3731EN.pdf
0 Kudos
Message 3 of 6
(6,869 Views)

Hi everybody,

 

I finally have a solution with the help of Keysight engineers from Malaysia who were kind enough to educate me during a conference call.

 

It turns out U2722A is not a typical "plug and play" USBTMC instrument. When the instrument is plugged in the USB port the PC has to download firmware in it first, before it can recognised by the USBTMC driver. Surpisingly, this firmware is loaded in volatile memory!

 

The missing piece of information was that this firmware is contained within the Agilent Measurement Manager (AMM), which has to run in the PC. To install AMM (with pre-requisites) first you need to install Keysignt IO Libraries Suite, but make sure it is installed as secondary VISA if you want to use NI-VISA.

 

Once AMM is running, U2722A is properly configured as USBTMC instrument, uses the ausbtmc.sys driver and works fine with NI-VISA. Interestingly, once configured U2722A can be connected to another LabVIEW PC which does not have AMM, and will work fine, just make sure you keep it powered at all times. Once powered off, you need AMM again.  

 

I hope this will be useful to other people who are using U2722A with NI-VISA.

 

Konstantin

 

 

Message 4 of 6
(6,814 Views)

Thank you for sharing this knowledge. It was very helpfull for me too.

0 Kudos
Message 5 of 6
(6,560 Views)

Dear Konstantin,

 

thank you so much for this very important information and for providing a valid solution. I could't find the reason why I need to install all the Agilent software packages before i could run my LabView code with the U2722A. Finally It's recognized as a Test and Measurement device.

It's still a mystery to me, why Agilent is making it so complicated for the user, but maybe their marketing department has it's reason. I know, it's called Keysight U2722A now, but the core is still Agilent. 

 

Best,

Patrik

0 Kudos
Message 6 of 6
(4,236 Views)