[Discuss-gnuradio] BPSK output abnormal

2015-05-24 Thread Surya Agam
Hi everyone,

I try to simulate file transfer using BPSK with block diagram

File Source --> PSK Mod --> PSK Demod --> File Sink

The block setting is
File Source :
-file type = .jpg (282,8 kB (282.765 bytes))
-repeat = no
-vec length = 1

PSK Mod :
-num of constellation = 2
-gray code = yes
-diff. encoding = yes
-sample/symbol = 2
-excess BW = 0.35
-verbose = off
=log = off

PSK Demod :
-num of constellation = 2
-diff. encoding = yes
-sample/symbol = 2
-excess BW = 0.35
-frequency BW = 6.28/100.0
-timing BW = 6.28/100.0
-phase BW = 6.28/100.0
-gray code = yes
-verbose = off
-log = off

File Sink
-vec length = 1
-unbuffered = on
-append file = overwrite

The size of input file = 282,8 kB (282.765 bytes)
but the size of output file = 2,3 MB (2.262.066 bytes)

What's wrong with my fg?

Thank you,
Surya Agam
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Software Defined Academy Programme almost ready

2015-05-24 Thread Markus Heller
Dear List,

the programme of the Software Defined Radio Academy on June 27 2015 in
Friedrichshafen (sub-conference to HAMRADIO) is almost complete. But it
is already now so interesting that I don't want to wait any longer and
present the list of talks to you:

http://www.sdra-2015.de/pages/programme.html

As soon as we have an exact time schedule for the talks (which is not
yet fixed), I will send another note. 

I'll be happy to welcome you to the SDRA if you plan to attend. Please
note that you'll get the entire HAMRADIO (biggest European HAM festival)
plus the MakerWorld with one single ticket.

http://www.hamradio-friedrichshafen.de/

vy73 / br
markus
dl8rds




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


Re: [Discuss-gnuradio] Is it possible to undo my mistake

2015-05-24 Thread Carl Olsson
Thank you all for the help.
I ended up installing it from the package manager and now it works fine.

Best regards,

Carl

On 11 May 2015 at 23:14, Marcus Müller  wrote:

>  But if you get hackrf libs through Ubuntu's package manager, do so before
> building anything related to HackRF (i.e. before running pybombs,
> especially before installing gr-osmosdr); The problem is that a program
> links against a specific ABI of a library -- in general, against *exactly*
> the same version of the library that was there when the program was being
> built. This means that getting hackrf /libhackrf0 from Ubuntus repositories
> will not make your version of GNU Radio built before that installation use
> that library -- you'll have to recompile gr-osmosdr to get that
> functionality.
>
> In fact, if you just use pyBombs' default setting of installing from deb
> if a sufficient version can be found, Hackrf/libhackrf will automatically
> be installed from Ubuntu's repos if you
> pybombs install gr-osmosdr
>
> So, my way of doing this would be, on a freshly set up system (with
> nothing related to this previously installed):
>
> * getting pybombs
> * (sudo) ./pybombs install gnuradio gr-osmosdr
>
> and you should get a running system -- Ubuntu 14.04 is probably the most
> prolific target for pybombs these days, and the defaults should be "pretty
> safe".
>
> Best regards,
> Marcus
>
>
> On 05/11/2015 07:52 PM, West, Nathan wrote:
>
>  You can also get hackrf libs through Ubuntu's package manager.
>
>  Whatever install method you choose it is best to avoid deleting installed
> libraries unless you really know what you are doing.
>
>  -Nathan
>
> On Mon, May 11, 2015 at 12:37 PM, Martin Braun 
> wrote:
>
>> Safest for GNU Radio is package manager. Can't speak for HackRF, but you
>> can always use PyBOMBS. If you install GNU Radio through apt-get, and
>> then HackRF through PyBOMBS, you might need to set GNU Radio as already
>> installed in PyBOMBS.
>>
>> Cheers,
>> Martin
>>
>> On 11.05.2015 10:35, Carl Olsson wrote:
>> > Hi all,
>> >
>> > I couldn't solve my problems so I decided to reinstall Ubuntu 14.04
>> > LTS from the beginning on my hp elitebook 8460p. What is the safest
>> > (highest probability of working) way of installing gnuradio (and
>> > hackrf tools)? I just need a simple installation. Pybombs, build
>> > script, package manager or something else?
>> >
>> > Best regards,
>> >
>> > Carl ___ Discuss-gnuradio
>> > mailing list Discuss-gnuradio@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> >
>>
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
>
> ___
> Discuss-gnuradio mailing 
> listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] How to start and stop recording without exiting the flowgraph

2015-05-24 Thread Carl Olsson
Hi all,

I would like to use two filesink blocks to record signals from two USRP:s
with MIMO Cable. I am interested in the phase offset of an incoming signal
so I first need to calibrate and then start recording. I haven't found how
this could be done in an easy way, does anyone have any ideas?

To clarify:
I would like to start my flowgraph then when I press a button in the GUI
start recording and then press the button again and stop recording.

Thank you all in advance.

Regards

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


Re: [Discuss-gnuradio] BPSK output abnormal

2015-05-24 Thread Tom Rondeau
On Sun, May 24, 2015 at 4:54 AM, Surya Agam 
wrote:

> Hi everyone,
>
> I try to simulate file transfer using BPSK with block diagram
>
> File Source --> PSK Mod --> PSK Demod --> File Sink
>
> The block setting is
> File Source :
> -file type = .jpg (282,8 kB (282.765 bytes))
> -repeat = no
> -vec length = 1
>
> PSK Mod :
> -num of constellation = 2
> -gray code = yes
> -diff. encoding = yes
> -sample/symbol = 2
> -excess BW = 0.35
> -verbose = off
> =log = off
>
> PSK Demod :
> -num of constellation = 2
> -diff. encoding = yes
> -sample/symbol = 2
> -excess BW = 0.35
> -frequency BW = 6.28/100.0
> -timing BW = 6.28/100.0
> -phase BW = 6.28/100.0
> -gray code = yes
> -verbose = off
> -log = off
>
> File Sink
> -vec length = 1
> -unbuffered = on
> -append file = overwrite
>
> The size of input file = 282,8 kB (282.765 bytes)
> but the size of output file = 2,3 MB (2.262.066 bytes)
>
> What's wrong with my fg?
>
> Thank you,
> Surya Agam
>


The output is unpacked. So each sample only represents a single bit. You
have to repack them into 8 bits per byte, but you'll also need to know
where to start through some kind of frame synchronization.

282765*8 = 2262120

The rest of the difference is due to delays in the filters. You can
zero-pad the input to "push" the samples through.

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


Re: [Discuss-gnuradio] Choose thread

2015-05-24 Thread Tom Rondeau
On Fri, May 22, 2015 at 1:22 PM, marco Ribero 
wrote:

> Hi,
> I've a question about thread management..I like the fact that scheduler
> can launch blocks in different threads, but I'd like to execute some blocks
> inside the same thread(CUDA require to perform all operations from a single
> thread)..for the moment I'm using GR_SCHEDULED=STS,but it blocks at all
> multithreading..Is it possible to set a thread affinity?(I've looked
> https://gnuradio.org/doc/doxygen/page_affinity.html, but it doesn't help)
>
> Thanks,
> marco
>

Don't use the STS scheduler. It is, after all, the Single-Threaded
Scheduler. And setting the thread affinity under that condition is a nop.
That will only work with the default TPB scheduler.

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


Re: [Discuss-gnuradio] An ISDB-T receiver implementation

2015-05-24 Thread Tom Rondeau
On Thu, May 21, 2015 at 2:16 PM, Federico Larroca 
wrote:

> Hi everybody,
>
> Some months ago we started working on an ISDB-T receiver for GNU Radio. We
> have reached a point at which it may be useful for other people, so we
> decided to announce to it on the list. The sources may be found on:
> https://github.com/git-artes/gr-isdbt.
>
> Although this is an ongoing work, the receiver is now capable of roughly
> two things (examples included):
>  - Synchronize to the OFDM symbol, equalize, and decode the TMCC signal
> (equivalent to the DVB's TPS). This has been tested for mode-3 transmission
> (i.e. 8k OFDM) and several CP lengths, which is what we have available
> here, but it should work with all the modes and CPs.
>  - Display online the 1-segment video (i.e. the low definition portion
> that is generally sent in ISDB-T). Again, this has been tested with the
> transmissions available here in Uruguay.
>
> We are currently working on displaying the rest of the segments, as well
> as debugging and improving the rest of the blocks.
>
> Any feedback and/or help is more than welcome!
>
> Best,
> Federico
>


Thanks for letting everyone know, Federico. It's probably get more exposure
and use if you put it into PyBOMBS so it can be made available on CGRAN:

http://cgran.org/

See Documentation - Submitting OOT Modules

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


Re: [Discuss-gnuradio] How to install RTL-SDR driver in debian jessie

2015-05-24 Thread Tom Rondeau
On Thu, May 21, 2015 at 3:05 PM, shaunwang 
wrote:

> Hello
>
> I installed GNURadio in the Hummingboard which has debian jessie OS. But
> the
> system cannot detect RTL-SDR. When I type command lsusb, it show Realtek
> Semiconductor  Corp. RTL2838 DVB-T.
> when I type lsmod, nothing show up. And when I run gnuradio companion, no
> signal show up in GUI interface. gnuradio companion gives me "Trying to
> fill
> up 1 missing channel with null source". This means the RTL-SDR is not
> pumping anything into the board. I asked my professor, he said this is a
> driver issue. but he does not have time to help me.  I tried installing
> librtlsdr-dev and rtl-sdr package of debian jessie, RTL-SDR still does not
> work. Is there any one know how to install RTL-SDR driver in debian jessie
> or solve this kind of issue? Thank you a lot!
>
> Shaun
>

Have you tried the PyBOMBS method of installing the rtl-sdr, gr-osmosdr,
and gnuradio? It's likely the problem is related to the udev rules.

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


[Discuss-gnuradio] Parameters for Source Block

2015-05-24 Thread Yile Ku
Got the source block working.  Thanks for the help.  Is there a standard
way to add parameters to a source block?  I notice in gnuradio-companion
you can right click on the block and it has parameters that are settable
for that block.  I need to reference external parameters such as frequency
and sample rate also.

Thx,
Y-
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] How to start and stop recording without exiting the flowgraph

2015-05-24 Thread Martin Braun
On 05/24/2015 06:46 PM, Carl Olsson wrote:
> Hi all,
> 
> I would like to use two filesink blocks to record signals from two
> USRP:s with MIMO Cable. I am interested in the phase offset of an
> incoming signal so I first need to calibrate and then start recording. I
> haven't found how this could be done in an easy way, does anyone have
> any ideas?
> 
> To clarify:
> I would like to start my flowgraph then when I press a button in the GUI
> start recording and then press the button again and stop recording.

Write a small Python block that takes a setter, then input a button
state through a QT selector. This block will only allow samples flowing
through when you input a certain state.

Cheers,
M


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