3 ###################################################
5 ###################################################
9 <key>usrp_simple_sink_x</key>
10 <import>from grc_gnuradio import usrp as grc_usrp</import>
11 <make>grc_usrp.simple_sink_$(type.fcn)(which=$which, side=$side)
12 self.$(id).set_interp_rate($interpolation)
13 self.$(id).set_frequency($frequency, verbose=True#slurp
14 #if $lo_offset() != float('inf')
15 , lo_offset=$lo_offset#slurp
18 self.$(id).set_gain($gain)
20 self.$(id).set_enable(True)
23 self.$(id).set_auto_tr(True)
25 <callback>set_interp_rate($interpolation)</callback>
26 <callback>set_frequency($frequency#slurp
27 #if $lo_offset() != float('inf')
28 , lo_offset=$lo_offset#slurp
31 <callback>set_gain($gain)</callback>
33 <name>Input Type</name>
48 <name>Unit Number</name>
54 <name>Interpolation</name>
55 <key>interpolation</key>
59 <name>Frequency (Hz)</name>
64 <name>LO Offset (Hz)</name>
66 <value>float('inf')</value>
68 <hide>#if $lo_offset() == float('inf') then 'part' else 'none'#</hide>
71 <key>float('inf')</key>
75 <name>Gain (dB)</name>
99 <hide>#if $transmit.tx_enb then 'none' else 'part'#</hide>
101 <name>Unconfigured</name>
113 <name>Auto T/R</name>
124 The USRP sink inputs 128 Megasamples per second / interpolation.
126 Input amplitude should be between 0 and 32767.
128 Flex RF boards only: The "Transmit Setting" must be configured. \
129 When set to "Enable" the transmitter is always on. \
130 When set to "Auto Transmit/Receive", the transmitter is disabled while receiving.