http://archives.redpitaya.com/devel/SCP ... elease.pdf
the correct way to set the frequency is with
Code: Select all
SOUR<n>:FREQ:FIX <value>
Code: Select all
wave_form = 'SAWU'
freq = 7.65e3
ampl = 1
rp_s.tx_txt('GEN:RST')
rp_s.tx_txt('SOUR1:FUNC ' + str(wave_form).upper())
rp_s.tx_txt('SOUR1:FREQ:FIX ' + str(freq))
rp_s.tx_txt('SOUR1:VOLT ' + str(ampl))
#Enable output
rp_s.tx_txt('OUTPUT1:STATE ON')
However as soon as I set the source frequency to anything less than the magic number of 7.65kHz (as I should be able to do according to the documentation, which says the RP outputs go down to DC) the signal disappears and I just get a flat line on my scope held at -10mV.
Does anyone know what mistake I'm making, or if this is a known issue, what is the workaround?