Re: How to convert complex float file to complex int 16 in Gnuradio For USRP input...

2022-07-05 Thread Marcus Müller
again, if your conversion yields all-zero values, you're not scaling appropriately. Best regards, Marcus On 05/07/2022 12.24, sp wrote: Thanks, This means when I send a complex signal I see it on spectrum, I too send a converted signal and I see a converted signal on the spectrum. Signals are

Re: How to convert complex float file to complex int 16 in Gnuradio For USRP input...

2022-07-05 Thread sp
Thanks, This means when I send a complex signal I see it on spectrum, I too send a converted signal and I see a converted signal on the spectrum. Signals are not the same... I expect that signals in two formats (format int16 or float 32 ) be the same on a spectrum. I only have a signal in two forma

Re: How to convert complex float file to complex int 16 in Gnuradio For USRP input...

2022-07-05 Thread Marcus Müller
I don't know what "don't acceptable" would mean in this context. The USRP accepts any int16. The fact that your signal is all zeros seems to be a problem with your signal; have you maybe scaled it incorrectly, so that it (correctly) gets rounded to all 0? Best regards, Marcus On 05.07.22 08:

Re: How to convert complex float file to complex int 16 in Gnuradio For USRP input...

2022-07-01 Thread Johannes Demel
Hi, If you target USRPs, their driver does the complex float 32 to complex int 16 conversion. No need for you to do this "manually". If you want to use complex int 16 in your flowgraph, there should be converters. VOLK includes kernels to convert between these data types as well. In GRC search