(Sorry for sending this twice, Pawel, I forgot to send to list. Also I
corrected a minor error I made)
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,
print “RX mux value: 0x%08x” % (0xFFFFFFFFL & long(in_mux_value))
The determine_*x_mux_value() method returns a (32 bit) int, but if the
is set, for example 0xF0F0F0F2, python thinks it’s a negative number,
screws up the printing. Cast it to a long and mask off the bottom 32
Hope that helps.