Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using instrument control toolbox to download a self-written waveform to waveform generator

1 view
Skip to first unread message

Xiaoyu

unread,
Nov 24, 2009, 5:27:20 PM11/24/09
to
Hi, everyone, I got a problem of using the instrument control toolbox. I want to use the toolbox to control a waveform generator (Agilent 33220a). I have a signal written in m file, sth like:
wave=sin(2*pi*f*t)+cos(2*pi*f*t);
and want to download this wave to the generator. I use the following code to do that:
groupObj = get(deviceObj, 'Arbitrarywaveform');
groupObj = groupObj(1);
invoke(groupObj, 'create', 'volatile',wave);
but every time it seems the wave can't be transmitted to the generator.
Anyone have sugguests on this problem. Thanks in advance.

Vinod Cherian

unread,
Nov 24, 2009, 10:39:05 PM11/24/09
to
Can you provide more details:

1) What is the version number of the IVI driver for the 33220A are you using?
2) What version of MATLAB are you using?
3) Are you generating the MDD using the following command:
>> makemid('Agilent33220A.Agilent33220A','Agilent33220A.mdd','ivi-com','IIviFgen')
4) Have you referred to the example here:
ftp://ftp.testequity.com/pdf/matlab_arb.pdf


"Xiaoyu " <tris...@gmail.com> wrote in message <hehmk8$2qm$1...@fred.mathworks.com>...

0 new messages