summaryrefslogtreecommitdiff
path: root/gr-fcd/grc
diff options
context:
space:
mode:
authorDimitri Stolnikov2012-04-01 16:35:30 -0700
committerJohnathan Corgan2012-04-01 16:35:30 -0700
commit98c703b3282b47ae2e0deaf317468f789cc9176e (patch)
tree790580cc2a29aba74628fd4fbcb0f424944b2176 /gr-fcd/grc
parent86321b24cff6df788e12436ca62bde22effdb4c2 (diff)
downloadgnuradio-98c703b3282b47ae2e0deaf317468f789cc9176e.tar.gz
gnuradio-98c703b3282b47ae2e0deaf317468f789cc9176e.tar.bz2
gnuradio-98c703b3282b47ae2e0deaf317468f789cc9176e.zip
fcd: adds setter function to configure mixer gain
Diffstat (limited to 'gr-fcd/grc')
-rw-r--r--gr-fcd/grc/fcd_source_c.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/gr-fcd/grc/fcd_source_c.xml b/gr-fcd/grc/fcd_source_c.xml
index 8572e6da1..7c55239aa 100644
--- a/gr-fcd/grc/fcd_source_c.xml
+++ b/gr-fcd/grc/fcd_source_c.xml
@@ -9,6 +9,9 @@
#if $lna() != 20.0
self.$(id).set_lna_gain($lna)
#end if
+#if $mixer() != +12.0
+self.$(id).set_mixer_gain($mixer)
+#end if
#if $ppm() != 115
self.$(id).set_freq_corr($ppm)
#end if
@@ -22,6 +25,7 @@ self.$(id).set_freq($freq)
</make>
<callback>set_freq($freq)</callback>
<callback>set_lna_gain($lna)</callback>
+ <callback>set_mixer_gain($mixer)</callback>
<callback>set_freq_corr($ppm)</callback>
<callback>set_dc_corr($dci,$dcq)</callback>
<callback>set_iq_corr($iq_gain,$iq_phase)</callback>
@@ -45,6 +49,12 @@ self.$(id).set_freq($freq)
<type>real</type>
</param>
<param>
+ <name>Mixer Gain (dB)</name>
+ <key>mixer</key>
+ <value>+12</value>
+ <type>real</type>
+ </param>
+ <param>
<name>Frequency corr. (ppm)</name>
<key>ppm</key>
<value>-120</value>
@@ -94,7 +104,10 @@ To find the device name on Linux type:
The LNA gain is a set of discrete values between -5 to 30 dB with 2.5 dB step, but you can \
use any float value and it will be rounded to the nearest valid value.
-
+
+The Mixer gain can be set either to +4 or +12 dB, but you can use any float value \
+and it will be rounded to the nearest valid value.
+
The FCD block can autmatically apply frequency correction:
- For FCD v1.0 you can leave at -120 ppm
- For FCD v1.1 with serial number 810 or greater use -12 ppm