[USRP-users] Data format problem USRPn210

Mike McLernon Mike.McLernon at mathworks.com
Wed Feb 20 08:37:44 EST 2013


Hi Ciao,

 

What if you read the file in int16 format, then cast the data to double before you transmit with the USRP radio?

 

Mike

 

From: USRP-users [mailto:usrp-users-bounces at lists.ettus.com] On Behalf Of Invizible Box
Sent: Wednesday, February 20, 2013 8:08 AM
To: usrp-users at lists.ettus.com
Subject: [USRP-users] Data format problem USRPn210

 

Hello everyone,

I hope you guys are doing great. 

 

I have a problem working with my usrp n210. 

 

I am trying to send a signal from a file to the USRP in order to transmit it and analyse on my spectrum analyzer (SA).

 

When I read data from a file written in 'float,' format everything is fine I see the same spectrum on the SA as in the spectrum scope in my simulink transmitter model.

 

Next when I read another file where the data is written in 'int16' format, I see the expected spectrum on the spectrum scope in my simulink model but on the SA it shows some signal but thats not what I am sending.

 

Moreover I have tried with other int16/int32 format files, everytime it shows me the same spectrum on the SA which is not the correct one but the result on the spectrum scope in simulink model is correct, which means that I am reading the files correctly.

 

Please help. I am completely blocked.

 

Cordially,

ciao.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130220/a13ce4e3/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 476 bytes
Desc: not available
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130220/a13ce4e3/attachment.sig>


More information about the USRP-users mailing list