Thats why i was waiting to push. But I did it anyway so...

The ranges are now meta-ranges (ranges of ranges) that can hold discontinuous ranges and discrete values. The members min, max, and step were replaced with start(), stop(), and step(). That will give you the overall range.

Also, since this is a range of ranges, you can iterate through it and get each sub-range (also with start, stop, and step). A good example of this is the XCVR2450 that has two discontinuous frequency ranges.

BTW, the fixes are pushed to next on gnuradio.

-Josh

On 11/16/2010 02:01 PM, Thomas Tsou wrote:
On Tue, Nov 16, 2010 at 4:38 PM, Marcus D. Leech<mle...@ripnet.com>  wrote:
I did a "git pull" for both UHD (master)  and gnuradio (next) today, and a
"make clean; make" in both places.  The build is currently broken:
...
/usr/local/include/uhd/types/ranges.hpp:59: Error: Syntax error in input(3).
make[5]: *** [.deps/uhd_swig-generate-stamp] Error 1
make[5]: Leaving directory `/home/mleech/gnuradio/gr-uhd/swig'

Different but possibly related breakage in my applications after
today's pull. Looks like the API may have changed a bit.

UHDDevice.cpp:260: error: ‘struct uhd::gain_range_t’ has no member named ‘max’
UHDDevice.cpp:260: error: ‘struct uhd::gain_range_t’ has no member named ‘min’

   Thomas

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to