AnsweredAssumed Answered

Using the Matlab Waveform Download Assistant with a E4438C

Question asked by JohnNavy on May 3, 2010
Latest reply on Feb 9, 2011 by akckwan
For years I have been running tests by controlling my E4438C using Malab with V1.7 of the Waveform Download Assistant (WDA) as seen here:
http://www.home.agilent.com/agilent/edi ... 0&id=84805
Now I need to also run tests using Matlab R2010a, so as that page shows I need to use V2.0 of the WDA. I can still run R2008a and V1.7 with zero trouble as always, however the V2.0 will not load a signal to the E4438C properly. Other functions such as setting the freq or power or turning the mod or RF on or off still work fine, but agt_waveformload() calls fail since turning modulation on causes the E4438C to output nothing - that is, even the carrier turns off.

For example, if I try to run the function pulsepat.m as shown on page 75 of http://cp.literature.agilent.com/litweb ... -90627.pdf it fails.

Has V2.0 been tested by anybody? I ask this because in it the agt_waveformload() which is failing for me contains this:
%  Get it from double to unsigned int and let the driver take care of Big
%  Endian to Little Endian for you  Look at ESG in Workspace.  It is
%  property of the VISA driver (at least Agilent's
%  if your waveform is skrewy, suspect the NI driver of not changeing
%  BIG ENDIAN to LITTLE ENDIAN.  The PC is BIG ENDIAN.  ESG is LITTLE
Well according to that same PDF on this web site, those last 2 sentances are wrong. Is this a beta release? Does anybody have a working version? I tried to fix the agt_waveformload() software myself by soon after this line:
inst_obj_agil = agt_newconnection('gpib', gpib_index, gpib_address);
adding this line:
inst_obj_agil.ByteOrder = 'bigEndian';
but still no love.

Thanks,
John.  

Outcomes