diff options
author | Johnathan Corgan | 2010-05-27 11:54:40 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-05-27 11:54:40 -0700 |
commit | d57365be4d71c75b963dac44ab0817c65cf73184 (patch) | |
tree | b592fadefa3b1f1721855facc78ef665e45fd32f /grc/blocks/usrp2_sink_xxxx.xml | |
parent | 7633f27db443f017b66bf07a774d19b0c74a00d7 (diff) | |
parent | 6257b877dc8d3b52ceadc54525d044a5430e8fcd (diff) | |
download | gnuradio-d57365be4d71c75b963dac44ab0817c65cf73184.tar.gz gnuradio-d57365be4d71c75b963dac44ab0817c65cf73184.tar.bz2 gnuradio-d57365be4d71c75b963dac44ab0817c65cf73184.zip |
Merge remote branch 'ets/grc-usrp2-clock-source'
* ets/grc-usrp2-clock-source:
Add USRP2 clock source parameter to GRC blocks.
Diffstat (limited to 'grc/blocks/usrp2_sink_xxxx.xml')
-rw-r--r-- | grc/blocks/usrp2_sink_xxxx.xml | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/grc/blocks/usrp2_sink_xxxx.xml b/grc/blocks/usrp2_sink_xxxx.xml index 14586cc36..f9fb25361 100644 --- a/grc/blocks/usrp2_sink_xxxx.xml +++ b/grc/blocks/usrp2_sink_xxxx.xml @@ -21,7 +21,8 @@ self.$(id).set_interp($interpolation) self.$(id).set_lo_offset($lo_offset) #end if self.$(id).set_center_freq($frequency) -self.$(id).set_gain($gain)</make> +self.$(id).set_gain($gain) +self.$(id).config_mimo($usrp2_clock_src)</make> <callback>set_interp($interpolation)</callback> <callback>#if $lo_offset() != float('inf') self.$(id).set_lo_offset($lo_offset) @@ -84,6 +85,24 @@ self.$(id).set_center_freq($frequency)</callback> <value>0</value> <type>real</type> </param> + <param> + <name>Clock Source</name> + <key>usrp2_clock_src</key> + <value>usrp2.MC_WE_DONT_LOCK</value> + <type>enum</type> + <option> + <name>Internal</name> + <key>usrp2.MC_WE_DONT_LOCK</key> + </option> + <option> + <name>External SMA</name> + <key>usrp2.MC_WE_LOCK_TO_SMA</key> + </option> + <option> + <name>External MIMO</name> + <key>usrp2.MC_WE_LOCK_TO_MIMO</key> + </option> + </param> <sink> <name>in</name> <type>$type</type> |