module: usrp_lfrx
parameters: double dco_freq, double adc_gain, 
            double sample_rate, int offset_cancel_on
inputs: 
outputs: double rx_a, double rx_b
classes: USRPReceiveObject usrp_receive_object(sample_rate,Ts);
static_variables:  double actual_vco_freq
init:
int slot, flag;

flag = 0;
for (slot = 1; slot >= 0; slot--)
   {
    usrp_receive_object.set_slot(slot);
    if (usrp_receive_object.dbid == USRP_DBID_LF_RX)
       {
        flag = 1;
        printf("found USRP LFRX board on slot '%d'\n",slot);
        break;
       }
   }
if (flag == 0)
   {
    printf("error in 'usrp_lfrx':  can't find a lfrx daughterboard\n");
    exit(1); 
   }

usrp_receive_object.set_dco_freq(dco_freq);

if (offset_cancel_on == 0)
   usrp_receive_object.disable_offset_cancel();
else
   usrp_receive_object.enable_offset_cancel();

usrp_receive_object.set_adc_gain(adc_gain);

code:

usrp_receive_object.stream_adc_in(&rx_a,&rx_b);
