Thanks for you reply, After reading the code, I think the argument 1,0 should be right. But the result is strange. when there isn't a sender , the value returned is always 12. While there is a sender and the distance between sender and receiver is less than 1m, the value returned is between 0~24 (maybe less than 12), no matter what the tx-amplitude of sender is. Does the result make sense?
Thanks a lot. P.S. the result with a sender: 4 24 8 20 24 16 20 20 20 8 8 20 16 20 20 16 4 12 24 0 20 24 8 20 0 8 12 16 0 16 4; the result without a sender: 12 12 12 12 12 12 12 12 12 12 12 12 12 12 2010/6/1 Eric Blossom <e...@comsec.com> > 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 > -- Thanks, Jianfei BUAA
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio