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

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

From: Xiaoyu

Date: 24 Nov, 2009 22:27:20

Message: 1 of 2

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.

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

From: Vinod Cherian

Date: 25 Nov, 2009 03:39:05

Message: 2 of 2

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 " <tristanxi@gmail.com> wrote in message <hehmk8$2qm$1@fred.mathworks.com>...
> 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.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
instrument cont... Xiaoyu 24 Nov, 2009 17:29:05
agilent 33220a Xiaoyu 24 Nov, 2009 17:29:05
arbitrary wavef... Xiaoyu 24 Nov, 2009 17:29:05
rssFeed for this Thread

Contact us at files@mathworks.com