I know that the gr_complex data type is equivalent to
std::vector<std::complex > but for my work with GRC, I need to
use
UHD sources with double floating point precision. Is this possible or it
is
hardware limitation?
I know that the gr_complex data type is equivalent to
std::vector<std::complex > but for my work with GRC, I need to use
UHD sources with double floating point precision. Is this possible or it is
hardware limitation?
It should be possible, but I think you will need to make some software
changes in:
So if I leave the source float but in other block that I am writing the
precision is important and the output is necessarily double rather than
float. Will GRC recognise this? I checked the list for types from the
help
menu and double data type is not there!
There are no double or complex double blocks in gnuradio, so the support
is not added into grc for such types.
If you make custom blocks with double types, you can set the type to
byte in grc xml file, and set the vector length to be the number of
bytes in your type.
Only the the io signature must match, so the length in bytes must be
identical when connecting, gnuradio does not know anything about the
data type.
Out of curiosity, why the need for double precision?
-Josh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.