summaryrefslogtreecommitdiff
path: root/gr-fcd/grc
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2012-04-01 16:47:32 -0700
committerJohnathan Corgan <jcorgan@corganenterprises.com>2012-04-01 16:47:32 -0700
commitde0070d765ea31befcbc14eaecae2b934eec4afb (patch)
treec48808337128e50775ed0f31c3c2c4528fcea009 /gr-fcd/grc
parent269691c7d45675382bafbdf8a56f0682f1927fd9 (diff)
parent98c703b3282b47ae2e0deaf317468f789cc9176e (diff)
Merge branch 'master' into next
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 8572e6da1c..7c55239aad 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