usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

UHD not supporting calculation

AT
anay tuljapurkar
Mon, Oct 10, 2011 4:04 PM

Hey,
I am currently working with 2 USRP N200's and i have been facing
problems with calculating the corresponding BER for the same.When ever i run
my program it provides me with a large int number and it gives me a boost
error message. In my point of view its an overflow value but its doing that
with any value that i provide it with. I have tried to use variable ranges
with regards to the different arguments that i provide the program with but
it just results in the same error.

Any help will be greatly appreciated,
Anay.
UNCC.

Hey, I am currently working with 2 USRP N200's and i have been facing problems with calculating the corresponding BER for the same.When ever i run my program it provides me with a large int number and it gives me a boost error message. In my point of view its an overflow value but its doing that with any value that i provide it with. I have tried to use variable ranges with regards to the different arguments that i provide the program with but it just results in the same error. Any help will be greatly appreciated, Anay. UNCC.
JB
Josh Blum
Mon, Oct 10, 2011 4:22 PM

On 10/10/2011 09:04 AM, anay tuljapurkar wrote:

Hey,
I am currently working with 2 USRP N200's and i have been facing
problems with calculating the corresponding BER for the same.When ever i run
my program it provides me with a large int number and it gives me a boost
error message. In my point of view its an overflow value but its doing that
with any value that i provide it with. I have tried to use variable ranges
with regards to the different arguments that i provide the program with but
it just results in the same error.

Any help will be greatly appreciated,
Anay.
UNCC.

What specific function or method are you calling to produce the error?
What values are you passing into this method?
What daughtercards are you using?
Can you provide a traceback?

-josh

On 10/10/2011 09:04 AM, anay tuljapurkar wrote: > Hey, > I am currently working with 2 USRP N200's and i have been facing > problems with calculating the corresponding BER for the same.When ever i run > my program it provides me with a large int number and it gives me a boost > error message. In my point of view its an overflow value but its doing that > with any value that i provide it with. I have tried to use variable ranges > with regards to the different arguments that i provide the program with but > it just results in the same error. > > Any help will be greatly appreciated, > Anay. > UNCC. > > What specific function or method are you calling to produce the error? What values are you passing into this method? What daughtercards are you using? Can you provide a traceback? -josh > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
AT
anay tuljapurkar
Mon, Oct 10, 2011 4:37 PM

Hey Josh,
Thank you so very much for your quick reply.
1)The function thats causing the error is the
boost::math::special_functions::round.hpp error message that says "ERROR in
function boost::math::iround<d>(d) : Value 3.3559013980333227e+163 cannot be
represented in the target integer type".
2)The values that im passing to the program is the frequency -> 2500M, gain
20 and if i were to change a few things around like for example the
frequency to lets say 2450M or 2000M (Its a different band) but regardless
it just produces the same error but this time with a different set of
numbers .
3) RFX2400 daughter boards

Thank you so very much for your quick reply again,
Anay.

On Mon, Oct 10, 2011 at 12:04 PM, anay tuljapurkar <
anay.tuljapurkar@gmail.com> wrote:

Hey,
I am currently working with 2 USRP N200's and i have been facing
problems with calculating the corresponding BER for the same.When ever i run
my program it provides me with a large int number and it gives me a boost
error message. In my point of view its an overflow value but its doing that
with any value that i provide it with. I have tried to use variable ranges
with regards to the different arguments that i provide the program with but
it just results in the same error.

Any help will be greatly appreciated,
Anay.
UNCC.

Hey Josh, Thank you so very much for your quick reply. 1)The function thats causing the error is the boost::math::special_functions::round.hpp error message that says "ERROR in function boost::math::iround<d>(d) : Value 3.3559013980333227e+163 cannot be represented in the target integer type". 2)The values that im passing to the program is the frequency -> 2500M, gain 20 and if i were to change a few things around like for example the frequency to lets say 2450M or 2000M (Its a different band) but regardless it just produces the same error but this time with a different set of numbers . 3) RFX2400 daughter boards Thank you so very much for your quick reply again, Anay. On Mon, Oct 10, 2011 at 12:04 PM, anay tuljapurkar < anay.tuljapurkar@gmail.com> wrote: > Hey, > I am currently working with 2 USRP N200's and i have been facing > problems with calculating the corresponding BER for the same.When ever i run > my program it provides me with a large int number and it gives me a boost > error message. In my point of view its an overflow value but its doing that > with any value that i provide it with. I have tried to use variable ranges > with regards to the different arguments that i provide the program with but > it just results in the same error. > > Any help will be greatly appreciated, > Anay. > UNCC. >
JB
Josh Blum
Mon, Oct 10, 2011 5:11 PM

On 10/10/2011 09:37 AM, anay tuljapurkar wrote:

Hey Josh,
Thank you so very much for your quick reply.
1)The function thats causing the error is the
boost::math::special_functions::round.hpp error message that says "ERROR in
function boost::math::iround<d>(d) : Value 3.3559013980333227e+163 cannot be
represented in the target integer type".
2)The values that im passing to the program is the frequency -> 2500M, gain
20 and if i were to change a few things around like for example the
frequency to lets say 2450M or 2000M (Its a different band) but regardless
it just produces the same error but this time with a different set of
numbers .
3) RFX2400 daughter boards

Thank you so very much for your quick reply again,
Anay.

So, to be more specific. Which function in the UHD API are you calling
that causes this error? Is it usrp->set_rx_freq()?

Can you demonstrate the problem with any of the example applications:
examples/rx_samples_to_file --rate=1e6 --freq=2450e6

-Josh

On 10/10/2011 09:37 AM, anay tuljapurkar wrote: > Hey Josh, > Thank you so very much for your quick reply. > 1)The function thats causing the error is the > boost::math::special_functions::round.hpp error message that says "ERROR in > function boost::math::iround<d>(d) : Value 3.3559013980333227e+163 cannot be > represented in the target integer type". > 2)The values that im passing to the program is the frequency -> 2500M, gain > 20 and if i were to change a few things around like for example the > frequency to lets say 2450M or 2000M (Its a different band) but regardless > it just produces the same error but this time with a different set of > numbers . > 3) RFX2400 daughter boards > > Thank you so very much for your quick reply again, > Anay. > > So, to be more specific. Which function in the UHD API are you calling that causes this error? Is it usrp->set_rx_freq()? Can you demonstrate the problem with any of the example applications: examples/rx_samples_to_file --rate=1e6 --freq=2450e6 -Josh