Re: Re: [Discuss-gnuradio] How to display mux value?

2007-05-22 Thread Pawel Koszut
Hi Steven, It works fine ! Together with Charles Swiger's suggestions, you helped me with three possible approaches : = m = usrp.determine_rx_mux_value(self.u, options.rx_subdev_spec) print "mux1 = %x" %(0x1 + m) print "mux2 = ",hex(0x1 + m)

Re: [Discuss-gnuradio] How to display mux value?

2007-05-08 Thread Steven Clark
(Sorry for sending this twice, Pawel, I forgot to send to list. Also I corrected a minor error I made) Hi Pawel- You've probably figured this out by now, but I ran into the same thing yesterday. Here's what I did. in_mux_value = usrp.determine_rx_mux_value(self.usrp_in, in_dcard_subdev_spec) pr

[Discuss-gnuradio] How to display mux value?

2007-04-28 Thread Pawel Koszut
Hi all ! Who knows how to display mux value ? print "mux =", hex(usrp.determine_rx_mux_value(self.u,options.rx_subdev_spec)) displays negative values, for example -0xf0f0f0e How to interpret negative value ? and how to interpret 7 digit hex number istead of 8 digit. regards, Pawel ___