# on off using burst mode. # 1 generator # chan 1 am modulated by chan2 # chan 2 in burst mode triggered off of 1 sec tick # params # freq=hz to output # outamp= output amplitude in dbm.. # --> not usedpulsep= pulse period in seconds # pulsew= pulse width in seconds # bcnt=1..100000000 pulses after 1 sec tick trig or infinite # 1 --> once per seconds # >1 time per second. but beware tick trig needs about 1 usecs before tick to catchit # 100000000 infinite.. but starts on the 1 sec ctrigger # --> sync on causes a usec long glitch before start # pulsew=pulsew,freq:freq,bcnt=bcnt # OUTPUT1 OFF INIT:CONT:ALL OFF OUTPUT1:LOAD 50 OUTPUT2:LOAD 50 OUTPUT:SYNC OFF # chan 1 SOURCE1:AM:STATE OFF SOURCE1:SWEEP:STATE OFF SOURCE1:BURST:MODE TRIG #SOURCE1:FUNC:PULS:PERIOD $pulsep SOURCE1:FREQ $freq SOURCE1:FUNC:PULS:WIDTH $pulsew SOURCE1:FUNC PULS SOURCE1:VOLT:UNIT VPP SOURCE1:VOLT:OFFSET 2v SOURCE1:VOLT 4.0v TRIGGER1:SOURCE EXT TRIGGER1:COUNT 1 SOURCE1:BURST:NCYCLES $bcnt # # When switching # source 1 freq,amp #SOURCE2:BURST:STATE $start #OUTPUT1 $start #INIT:CONT:ALL ON