10-14-2011 06:06 PM
Hello,
I am working with the agilent 33250A arbitrary waveform generator, and I am trying to create an arbitrary waveform that is comprised of several sin waves, all at the same freq. and amp. and phase, which start at arbitart times and last for arbitary amounts of time. For Intance, the pattern might be at:
0s, 10.2Mhz 1v sin signal for 40microseconds
10milliseconds, 10.2Mhz 1v sin signal for 20 microseconds
15 milliseconds, 10.2Mhz 1v sin signal for 80 microseconds
....
Finally, this pattern consists of 5 or 6 bursts, which will loop after a fixed time.
I am not sure the best way to do this. I found the sin wave pt by pt block, and I thought about combining that with a time signal that goes to 0 when I need no signal. However, that seems too difficult to be the right way to do it. The agilent 33250A comes with an example arb. waveform that takes a simulated signal and converts the dynamic data to an array of floats, and sends it to the device.
Any pointers would be appreciated.
Thanks,
Eric
10-17-2011 03:52 PM
Bump
10-17-2011 04:14 PM
There are many ways to modify the array to do what you want. One of my favorites is to use the "Insert Into Array" function. Just build an array of each waveform you wish to generate and arrays of 0 or NaN (depending on what you agilent device will accept) for the no signal gaps. Append them all together and you will have your arbitrary waveform for your generator.
Kyle K.