[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] strange inheritance in gnuradio.. or something wrong
[Discuss-gnuradio] strange inheritance in gnuradio.. or something wrong with SWIG..
Fri, 11 Sep 2009 02:14:16 -0700 (PDT)
I don't understand one think.. Class usrp_sink_c inherit from usrp_base a
public method read_aux_adc(int,int).
int usrp_base::read_aux_adc (int which_dboard, int which_adc)
return d_usrp_basic->read_aux_adc (which_dboard, which_adc);}
According to my OO knowledge objects of usrp_sinc_c should have this method.
But it doesn't.
I am trying to call method on usrp_sink_c object in python.
self.u = usrp_options.create_usrp_sink(options)
dac_rate = self.u.dac_rate()
rssi = self.u.read_aux_adc(0,0)
But it doesn't work.
Can someone explain me what strange things are happening here?
Thanks in advance,
View this message in context:
Sent from the GnuRadio mailing list archive at Nabble.com.
- [Discuss-gnuradio] strange inheritance in gnuradio.. or something wrong with SWIG..,