Forum: GNU Radio How can I transmit and receive bit level data using the benchmark codes of gnuradio?

Posted by Nazmul Islam (Guest)
on 2012-05-24 18:33
(Received via mailing list)
Hello,

Can I transmit and receive bit level data using the benchmark_tx and rx
codes of the narrowband/OFDM folder? At present, I can transmit and 
receive
byte level data using the codes, i.e., I can put 1500 characters (or 
1500
bytes) in each packet and receive it. But I want to transmit (i.e. 0 and 
1
/ -1 and +1) and receive the demodulated bits (not the bytes or
characters). Can I do it using the benchmark or any other codes of 
gnuradio?


Any suggestion will  be highly appreciated.


Thanks,

Nazmul


--
Muhammad Nazmul Islam

Graduate Student
Electrical & Computer Engineering
Wireless Information & Networking Laboratory
Rutgers, USA.
Posted by Alex Zhang (Guest)
on 2012-05-24 21:59
(Received via mailing list)
I just turn on the log and read the log files in Matlab.
The intermediate signal processing results can be written into files.
Hope it help you.

On Thu, May 24, 2012 at 11:31 AM, Nazmul Islam
<mnislam@winlab.rutgers.edu>wrote:

> Any suggestion will  be highly appreciated.
> Graduate Student
>
--

Alex,
*Dreams can come true  just believe.*
Posted by Nazmul Islam (Guest)
on 2012-05-24 22:19
(Received via mailing list)
Thanks, Alex.

I tried using the log files in benchmark_rx. But the file has 200 
Megabit
size and Matlab could not handle it. Can you limit the size of the 
recorded
data?

Besides, can you transmit bit level data using the benchmark_tx code? I 
can
transmit '1', '2', 'a', etc. but I cannot transmit 1, 0. I assume that 
'1',
'2', etc. are being transmitted as bytes. (I know that the digital_bert
codes allow bit level processing but  I wonder how I can transmit 0 and 
1
using the benchmark_tx and rx codes, i.e., in a packetized format).

Thanks,

Nazmul

On Thu, May 24, 2012 at 3:58 PM, Alex Zhang <cingular.alex@gmail.com> 
wrote:

>> codes of the narrowband/OFDM folder? At present, I can transmit and receive
>>
>>
>
> Alex,
> *Dreams can come true  just believe.*
>
>


--
Muhammad Nazmul Islam

Graduate Student
Electrical & Computer Engineering
Wireless Information & Networking Laboratory
Rutgers, USA.
Posted by Alex Zhang (Guest)
on 2012-05-24 22:30
(Received via mailing list)
I think Matlab can handle this, depending your PC memory ....You need to
write some Matlab code to read the file which may contain the complex
samples (gr-complex).

On Thu, May 24, 2012 at 3:18 PM, Nazmul Islam 
<mnislam@winlab.rutgers.edu>wrote:

> Thanks, Alex.
>
> I tried using the log files in benchmark_rx. But the file has 200 Megabit
> size and Matlab could not handle it. Can you limit the size of the recorded
> data?
>

Maybe you can add some control to start and stop the data recording, in
your python code.

>
> Besides, can you transmit bit level data using the benchmark_tx code? I
> can transmit '1', '2', 'a', etc. but I cannot transmit 1, 0. I assume that
> '1', '2', etc. are being transmitted as bytes. (I know that the
> digital_bert codes allow bit level processing but  I wonder how I can
> transmit 0 and 1 using the benchmark_tx and rx codes, i.e., in a packetized
> format).
>

 I never tried it yet.  Why not just try to compose these bits to bytes 
and
then feed to the physical layer? And why do you need to do that?

>> Hope it help you.
>>> / -1 and +1) and receive the demodulated bits (not the bytes or
>>>
>>> Discuss-gnuradio mailing list
>>
>
>


--

Alex,
*Dreams can come true  just believe.*
Posted by sumitstop (Guest)
on 2012-10-25 09:48
(Received via mailing list)
Did you get some solution Nazmul ?  I'm curious to know



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/How-can-I-transmit...
Sent from the GnuRadio mailing list archive at Nabble.com.
Posted by Nazmul Islam (Guest)
on 2012-10-25 16:13
Attachment: GLFSR_transmitter.grc (19 KB)
(Received via mailing list)
I used GRC to transmit +1 and -1. GRC allows you to transmit any integer 
or
floating point numbers (scaled between -1 to +1).

The attached GRC file shows a simple flow-graph about this.


Thanks,

Nazmul

On Thu, Oct 25, 2012 at 3:47 AM, sumitstop
<sumit.kumar@research.iiit.ac.in>wrote:

> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



--
Muhammad Nazmul Islam

Graduate Student
Electrical & Computer Engineering
Wireless Information & Networking Laboratory
Rutgers, USA.
Posted by Jiajue O. (jiajue_o)
on 2012-12-07 14:51
Do you know how to transmit a known sequence of bit level data? Thx!

Jia
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.