X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=grc%2Fblocks%2Fusrp_simple_source_x.xml;fp=grc%2Fblocks%2Fusrp_simple_source_x.xml;h=1a777bd6302c7cf017703ce06556150a4e19e461;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=0000000000000000000000000000000000000000;hpb=09a1e803a9e6587c78d20cdf16891e5295874668;p=debian%2Fgnuradio diff --git a/grc/blocks/usrp_simple_source_x.xml b/grc/blocks/usrp_simple_source_x.xml new file mode 100644 index 00000000..1a777bd6 --- /dev/null +++ b/grc/blocks/usrp_simple_source_x.xml @@ -0,0 +1,163 @@ + + + + USRP Source + usrp_simple_source_x + from grc_gnuradio import usrp as grc_usrp + grc_usrp.simple_source_$(type.fcn)(which=$which, side=$side, rx_ant=$rx_ant#if $hb_filters() then ', no_hb=True' else ''#) +#if $format() +self.$(id).set_format(width=$format.width, shift=$format.shift) +#end if +self.$(id).set_decim_rate($decimation) +self.$(id).set_frequency($frequency, verbose=True) +self.$(id).set_gain($gain) +#if $lo_offset() != float('inf') +self.$(id).set_lo_offset($lo_offset) +#end if + set_lo_offset($lo_offset) + set_decim_rate($decimation) + set_frequency($frequency) + set_gain($gain) + + Output Type + type + enum + + + + + Format + format + + enum + #if $format() then '' else 'part'# + + + + + Unit Number + which + 0 + int + + + Decimation + decimation + int + + + Frequency (Hz) + frequency + real + + + LO Offset (Hz) + lo_offset + float('inf') + real + #if $lo_offset() == float('inf') then 'part' else 'none'# + + + + Gain (dB) + gain + 0 + real + + + Side + side + A + string + + + + + RX Antenna + rx_ant + RXA + string + + + + + + + + Halfband Filters + hb_filters + + enum + #if $hb_filters() then 'none' else 'part'# + + + + + out + $type + + +The USRP source outputs 64 Megasamples per second / decimation. + +The "Receive Antenna Setting" selects one of the SMA connectors as the data source. \ +Flex RF boards use the "TX/RX" and "RX2" settings. \ +Basic RX and LFRX use the "RXA", "RXB", and "RXAB" settings. \ +All other boards use the "RXA" setting. + +With the format set to 8 bits and the halfband filters disabled, the USRP can acheive a decimation rate of 4. \ +Disabling the halfband filters requires a special USRP firmware without halfband filters or TX paths. \ +For this reason, the USRP cannot transmit with the halfband filters disabled. + +