On Mon, May 31, 2010 at 04:42:47PM +0800, jf w wrote: > I'm using RFX2400 daughterboard on side B, my arguments are slot=2 > which_adc = 0 ,and I'm calling it from python. > > Your question inspire me that my arguments may be wrong. I think the slot > argument should be 3(SLOT_RX_B), but I don't know the meaning of which_adc > and how to set it. > > There are two aux_adc on one ad9862:aux_adc_a and aux_adc_b , but there are > four pins : aux_adc_a1,aux_adc_a2, aux_adc_b1 and aux_adc_b2. But what is > the input of the signal on these pins? > > Thanks a lot. >
/*! * \brief Read auxiliary analog to digital converter. * * \param which_side [0,1] which d'board * \param which_adc [0,1] * \returns value in the range [0,4095] if successful, else READ_FAILED. */ virtual int read_aux_adc (int which_side, int which_adc) = 0; Try v = u.read_aux_adc(1, 0) I think the RSSI is on adc 0, but not 100% sure. Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio