User manual
3390-900-01 Rev. C / January 2009 Return to Section Topics C-3
Model 3390 Arbitrary Waveform Generator User’s Manual Appendix C: Application Programs
To select linear sweep:
To select pulse waveform:
To select pulse width modulation:
Table C-4:
Linear sweep example commands
Command Comment
*RST
Reset Model 3390.
FUNCtion SINusoid
Select sine waveform.
OUTPut:LOAD 50
Set load impedance to 50 Ω.
VOLTage 1
Set the amplitude to 1 V peak-to-peak.
SWEep:SPACing LINear
Set spacing to LINear or LOGarithmic.
SWEep:TIME 1
Set sweep time to 1 s.
FREQency:STARt 100
Set start frequency to 100 Hz.
FREQency:STOP 20e3
Set stop frequency to 20 kHz.
OUTPut ON
Turn instrument output on.
SWEep:STATe ON
Turn sweep function on.
Table C-5:
Pulse waveform example commands
Command Comment
*RST
Reset Model 3390.
FUNCtion PULSe
Select pulse waveform.
OUTPut:LOAD 50
Set load impedance to 50 Ω.
VOLTage:LOW 0
Set the low level to 0 V.
VOLTage:HIGH 0.75
Set the high level to 0.75 V.
PULSe:PERiod 1e-3
Set period to 1 ms intervals.
PULSe:WIDTh 100e-6
Set pulse width to 100 µs intervals.
PULSe:TRANsition 10e-9
Set edge time to 10 ns intervals.
OUTPut ON
Turn instrument output on.
Table C-6:
Pulse width modulation example commands
Command Comment
*RST
Reset 3390.
OUTPut:LOAD 50
Set load impedance to 50 Ω.
FUNCtion:SHAPe PULSe
Carrier shape is pulse waveform.
FREQuency 5000
Carrier frequency is 5 kHz.
VOLTage:LOW 0
Set the low level to 0 V.
VOLTage:HIGH 5
Set the high level to 5 V.
FUNCtion:PULSe:DCYCle 35
Set beginning duty cycle to 35 %.
PWM:INTernal:FUNCtion
TRIangle
Set modulating shape to triangle waveform.
PWM:INTernal:FREQuency 2
Set modulation frequency to 2 Hz.
PWM:DEViation:DCYCle 15
Set modulation depth to 15 %.
PWM:SOURce INTernal
Set modulation signal to internal.
PWM:STATe ON
Turn pulse width modulation on.
OUTPut ON
Turn instrument output on.