How to use the Agilent AgB29xx driver with Matlab?

Hi, I want to use a Agilent B2912 SMU with Matlab. I installed the Agilent IO Libraries Suite and the instrument driver.
When I now try ro run the demo Matlab script which was installed with the driver in simulation mode, I get an error at the following line:
>> driver = instrument.driver.AgB29xx(); The class instrument has no property or method named 'driver'.
How do I get this to work? Thanks a lot!

2 Comments

Seems like a selfmade driver. The Instrument Control Toolbox has a class called instrument. Maybe there is shadowing issue going on? For my the instrument class has no properties:
>> which instrument
C:\Program Files\MATLAB\R2013a\toolbox\shared\instrument\@instrument\instrument.m % instrument constructor
>> properties('instrument')
No properties for class instrument or no class instrument.
So the error you get makes sense.
I found the problem now. I was using a 64bit Matalb version and the driver is for 32bit Matlab only. So when I installed the 32bit Matlab on my 64bit computer, it worked.

Sign in to comment.

Answers (0)

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Asked:

on 21 May 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!