Hello Benny Alexander:

What is meant is that you must multiply your samples by a constant number,
1.0/(2**15-1), to scale it from 0 - 32767 to 0 - 1 (range accepted by the
USRP).

Regards,
Kyeong Su Shin

On Mon, Dec 11, 2017 at 8:50 AM, Benny Alexandar via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Hi Anon,
>
> You mean make the input to complex, by multiplying with cosine ?  But the
> input file is already complex and by adding the block Ishort to complex"
> its already complex. Why again multiply by cosine with low amplitude ?
>
> -ben
> ------------------------------
> *From:* Anon Lister <listera...@gmail.com>
> *Sent:* Monday, December 11, 2017 7:34 PM
> *To:* Benny Alexandar
> *Cc:* usrp-users
> *Subject:* Re: [USRP-users] Gnu radio IQ streaming
>
> Add a multiply block after ishort and multiply by 1.0/(2**15-1) or
> thereabouts. (If you only are using 14 bits of that 16 b, do 14)
>
> On Dec 10, 2017 07:00, "Benny Alexandar via USRP-users" <
> usrp-users@lists.ettus.com> wrote:
>
> Hi,
>
> I want to stream an IQ file base band signal using usrp. The format of IQ
> signal is 16bit complex values of I and Q each interleaved and having
> sample rate of 48kHz stored in a file as follows  [IQIQIQ....]. I created a
> flow graph in usrp by selecting file block as source and used the block
> "Ishort To Complex" and passed the output to rational resampler with
> interpolation factor as 250 and decimation 48. This is to upsample from
> 48kHz to 250kHz for usrp to stream it. Usrp is connected as sink and set
> the sample rate as 250kHz. Output of usrp is not able to decode. When I
> checked with FFT sink I can see the spectrum, but lot of noise is being
> added, noise floor is too high.  The baseband signals in the file doesn't
> have any noise.
> What could be the problem. Please help in  streaming an IQ file using
> gnu-radio and usrp.
>
> Thanks,
> Ben
>
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to