There are several IDL programs used to control the function generator.
syntax |
example |
output |
set_srs, frq=value, vpp=value, dbm=value, off=value, phs=value, /srs2 | set_srs, frq=1e6, vpp=3.2, /srs2 | Sets SRS2 to a frequency of 1 MHz with a peak-to-peak amplitude of 3.2V |
parameters | definition | limits for keywords |
frq (optional) | desired frequency to set the SRS [Hz] | 0 < frq < 30e6 |
vpp (optional) | desired peak-to-peak volatage amplitude to set the SRS [V] | -5 < vpp < 5 |
dbm (optional) | desired power to set the SRS [dBm] | -36 < dbm < +23 |
off (optional) | desired DC offset to set the SRS [V] | -5 < off < +5 |
phs (optional) | desired phase to set the SRS [degrees] | 0 < phs < 7200 |
/srs2 (optional) | Set SRS2 instead of SRS1 | Default behaviour controls SRS1 |
If a keyword is not defined, that parameter will not change.
IDL procedure |
syntax |
example |
limits |
description |
srs1_frq |
srs1_freq,
hz |
srs1_frq,
1e6 |
(0 to
30e6)Hz |
Sets
the frequency on SRS1
to hz (in Hertz) |
srs1_vpp |
srs1_vpp,
vset |
srs1_vpp,
2.2 |
(-5 to 5) V | Set
the peak-to-peak
voltage on
SRS1 to vset (volts) |
srs1_dbm |
srs1_dbm, power |
srs1_dbm, 0 |
(-36 to 23) |
Set the power (for 50 ohm
termination) to power (dBm) |
srs1_off |
srs1_off,
offset |
srs1_off,
0.5 |
(-5 to
5) Volts |
Set
the offset voltage on
SRS1
to offset (volts) |
srs1_phs |
srs1_phs,
phase |
srs1_phs,
60 |
(0 to
7200)° |
Set
the phase shift for
SRS1 to phase (degrees) |