Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Agilent 33521B - how to trigger two consecutive frequency sweeps using GPIB

$
0
0

HI there,

I am using an Agilent 33521B waveform generator and I'm contolling it via GPIB. 

I would like to run a sequence in LabView that triggers two frequency sweeps one after the other, each with different sweep parameters.

 

For instance the first sweep would have a start frequency of 100Hz and stop frequency of 1KHz over 500ms seconds and then immediately after i would need to trigger a second sweep with start frequency of 1KHZ to 20KHz over 1 second.  

 

I have attempted to do this using a flat sequence and waiting until the first sweep has finished and then change the sweep parameters before triggering the second. However when i do this, there is a delay between the sweeps that seems to not be consistent between runs which isn't good, plus the waveforms do not look too healthy when viewed on an oscilloscope  

 

I have attached my code below. I am also using the "Agilent 3352X Series" drivers for this, which i have also attached.

 

Any help on getting the sweeps to commence immediately after one another would be very much apprectiated 

 

Regards

Rhys


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>