Forum: GNU Radio questions in benchmark_tx

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
yufeng wang (Guest)
on 2009-03-28 20:25
(Received via mailing list)
Dear all,

I'd like to transmit some data with random 0s and 1s using
benchmark_tx.py, can someone tell me that how can I generate such kind
of data in benchmark_tx.py for transmission? and what if I want to
specify a file to transmit, how to modify the code 'source_file =
open(options.from_file, 'r')'? I am trying to use 'qam8' for
modulation.

My another question is how benchmark_tx.py file decide the bandwidth?
Since there is no input for us to specify the bandwidth, except for
the center frequency. I wonder is the bandwidth decided by the
bit_rate that we input? I'm confused about that. Your answers are
appreciated. Thanks in advance!

--
Best wishes,

Y
Mir A. (Guest)
on 2009-03-29 07:49
(Received via mailing list)
Look at the while loop in the code. Instead of reading from a file you
can
substitute data
to be whatever you like.

use the following option to find out how to send data read from a file.
./benchmark_tx.py -h

This will display lots of options that you can use and one of them is
the
file option. You need not modify the code to do this.
This topic is locked and can not be replied to.