Combining of programs

Hi all,

I’m trying to combine both sensing program (usrp_spectrum_sense.py) and
transmitting program, the initialization is done using the classes
usrp_options, generic_usrp, usrp_receive_path, receive_path…
But when i try to pass the usrp_source_c object to spectrum sensing
program
to set its parameter i get the following error concerning
‘determince_rx_mux_value’ function. This function exist in usrp_swig.py.
I
don’t know why the compiler said that it does not exist??

keep in mind that other functions of usrp_source_c are working well
like(set_decim, and usrp_rate)

The ERROR:
“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”
onur@vecon3:~/Documents/abbasi/programming/examples/sensing$ python
test_sensing_v1.2.py -f 2.4G -m dbpsk
Note: failed to enable realtime scheduling
abbasi1
abbasi2

gr_fir_ccf: using SSE
Requested TX Bitrate: 100k Actual Bitrate: 125k
set auto True
abbasi receive_path
abbasi receive_path after
Requested RX Bitrate: 100k
Actual Bitrate: 125k
modulation: dbpsk
freq: 2.4G
bitrate: 100kb/sec
samples/symbol: 2
Carrier sense threshold: 30 dB
determine mux:
Traceback (most recent call last):
File “test_sensing_v1.2.py”, line 605, in
main()
File “test_sensing_v1.2.py”, line 574, in main
print “determine mux: “,
usrp.determince_rx_mux_value(tb.rxpath.get_usrp_source(),
options.s_rx_subdev_spec)
AttributeError: ‘module’ object has no attribute
‘determince_rx_mux_value’
“”””“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”

I appreciate any help

thanks

View this message in context:
http://old.nabble.com/Combining-of-programs-tp28149942p28149942.html
Sent from the GnuRadio mailing list archive at Nabble.com.