Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using Agilent VISA in Matlab

188 views
Skip to first unread message

Cameron

unread,
Jan 10, 2011, 5:25:08 PM1/10/11
to
I'm attempting to control an Agilent 33220a function generator through Matlab using USB. I've installed the necessary I/O libraries, including the VISA libraries, but I am unable to get Matlab to recognize the Agilent VISA. Do the drivers have to be in a particular directory for Matlab to recognize them?

Running the line:

instrhwinfo visa

returns:

InstalledAdaptors: {1x0 cell}
JarFileVersion: 'Version 2.10.0'

Thanks in advance for any help.

Trent Jarvi

unread,
Jan 11, 2011, 10:45:22 AM1/11/11
to
"Cameron " <hoer...@mail.uc.edu> wrote in message <igg104$76h$1...@fred.mathworks.com>...

Hi Cameron,

If you installed the Agilent IO Suite, the instrhwinfo command should work. The visa32.dll or visa64.dll required by MATLAB will be in the windows system32/system64 directory. Note that the binary type of the library must match the binary type of MATLAB. 64 bit MATLAB requires 64 bit Agilent libraries. 32 bit MATLAB requires 32 bit Agilent libraries.

If that does not help, I'd suggest contacting tech support so we can figure out why you ran into this problem.

Tapiwa Mutasa

unread,
Jan 12, 2011, 8:39:06 AM1/12/11
to
"Cameron " <hoer...@mail.uc.edu> wrote in message <igg104$76h$1...@fred.mathworks.com>...

I'm currently having the same problem. Any solutions?

Cameron

unread,
Jan 12, 2011, 9:38:05 AM1/12/11
to
"Tapiwa Mutasa" wrote in message <igkatq$o3j$1...@fred.mathworks.com>...

I did eventually get it to work. It seems the I/O libraries that come on disc with the function generator do not work correctly with Matlab. A new version of the libraries suite is available from Agilent here:

http://www.home.agilent.com/agilent/product.jspx?cc=US&lc=eng&ckey=1918218&nid=-34466.963148.00&id=1918218&cmpid=zzfindiolib

The link to download is at the bottom of the page. Matlab was able to recognize the Agilent VISA after I installed the new set of libraries.

sehun kook

unread,
May 5, 2011, 1:00:19 PM5/5/11
to
I am also trying to control the Agilent 33220a signal generator from Matlab using USB connection.

I have downloaded the IO libraries.. but still have a problem with downloadng the matlab file into the Agilent 33220a.

Would you mind of sharing of your matlab scripts that download the matlab file into the instrument??

Thanks in advance!!!!


"Cameron " <hoer...@mail.uc.edu> wrote in message <igg104$76h$1...@fred.mathworks.com>...

0 new messages