AnsweredAssumed Answered

Can't use ML toolbox with Agilent IVI-C driver for N5182A

Question asked by electricmel on Dec 27, 2011
Latest reply on Jan 23, 2012 by tabbott
I'm trying to use the MATLAB Instument Contol toolbox with the IVI-C drivers downloaded from Agilent.  I have the Agilent IO Library suite and the other support programs installed.

The drivers I am trying to use are from this Agilent site:
http://www.home.agilent.com/agilent/edi ... id=1669133

I'm using Chapter 6 of the tutorial I found here:
http://www.ivifoundation.org/downloads/ ... _v_1.0.pdf

Using this tutorial, I cannot create a wrapper that MATLAB likes.  I've tried
>> makemid('DMM','IVI-C');
>> makemid('DMM');

All I get are error messages,
"Error using makemid (line 139)
Attempt to reference field of non-structure array."

Has anyone experienced a problem like this before?  Is this related to using 64-bit MATLAB?  IVI-C should be 64-bit ML compatible.

Is there a better IVI-C driver to use for this device?  Better tutorials anywhere?  The MATLAB tutorials haven't been very helpful

Thanks in advance for any advice.  I'll try posting this question on MATLAB forums as well.  

Outcomes