Contact an Expert

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


Permlink Replies: 1 - Pages: 1 - Last Post: Jan 23, 2012 3:17 PM Last Post By: tabbott Threads: [ Previous | Next ]
electricmel

Posts: 1
Registered: 12/27/11
Can't use ML toolbox with Agilent IVI-C driver for N5182A
Posted: Dec 27, 2011 8:41 AM
Click to report abuse...   Click to reply to this thread Reply
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.
tabbott


Posts: 1,483
Registered: 07/24/09
Re: Can't use ML toolbox with Agilent IVI-C driver for N5182
Posted: Jan 23, 2012 3:17 PM   in response to: electricmel in response to: electricmel
Click to report abuse...   Click to reply to this thread Reply
Hi -

This problem does not seem to be related to using 64 bits. This appears to be a problem with the ‘makemid’ command in Matlab.
Did you receive any feedback from the Matlab forum yet? I will report this into Matlab as well.
If you are looking to download waveforms into the N5182A using Matlab then the waveform download assistance for Matlab might be useful.
More information can be found at the following link:
http://www.home.agilent.com/agilent/edi ... 0&id=84805

Regards -

Point your RSS reader here for a feed of the latest messages in all forums