Hello,

I don't understand one think.. Class usrp_sink_c inherit from usrp_base a
public method read_aux_adc(int,int).

[code]
int usrp_base::read_aux_adc (int which_dboard, int which_adc)
{ 
 return d_usrp_basic->read_aux_adc (which_dboard, which_adc);} 
[/code] 

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.   

[code]
        self.u = usrp_options.create_usrp_sink(options)
        dac_rate = self.u.dac_rate()
        rssi = self.u.read_aux_adc(0,0)
[/code] 

But it doesn't work.
Can someone explain me what strange things are happening here?
Thanks in advance,
Tom
-- 
View this message in context: 
http://www.nabble.com/strange-inheritance-in-gnuradio..-or-something-wrong-with-SWIG..-tp25393083p25393083.html
Sent from the GnuRadio mailing list archive at Nabble.com.



_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to