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.
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.
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 -