Re: [Discuss-gnuradio] Spectrum sensing using gnuradio + hackrf one

2019-03-12 Thread Kyeong Su Shin
Hello faisal:

You can either just use "File Sink" blocks to dump the raw data into files and 
convert them to human-readable format using MATLAB/Octave ( 
https://github.com/gnuradio/gnuradio/tree/master/gr-utils/octave ) later, or 
write your own blocks (an embedded Python Block should be sufficient if the 
data rate is low; you can find some tutorials on Google. 
https://www.google.com/search?q=gnu+radio+embedded+python+block ).

Regards,
Kyeong Su Shin


보낸 사람: faisal  대신 Discuss-gnuradio 

보낸 날짜: 2019년 3월 13일 수요일 오전 12:31
받는 사람: Discuss-gnuradio@gnu.org
제목: [Discuss-gnuradio] Spectrum sensing using gnuradio + hackrf one

hello everyone
can anyone help me i want to save data which comes from average block and 
threshold block.
how can we save a date in text file or in an excel file?
i attched the grc.file please have a look at it.

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


Re: [Discuss-gnuradio] Can I use PyBOMBS with a macport installed GNU Radio?

2019-03-12 Thread George Rykowski
Michael,

 

Thank you. Everything works as expected!

 

George

 

From: Discuss-gnuradio  
on behalf of Michael Dickens 
Date: Tuesday, March 12, 2019 at 2:06 PM
To: GNURadio Discussion List 
Subject: Re: [Discuss-gnuradio] Can I use PyBOMBS with a macport installed GNU 
Radio?

 

gr-iio is in MacPorts ... and if you need something related to GR ping me & we 
can work together to make it happen. - MLD

 

On Tue, Mar 12, 2019, at 3:05 PM, George Rykowski wrote:

Hello,

 

I have a need to install the FMComms2/3/4 source block in order to access my 
Zedboard/AD9361 SDR from my Macbook Pro. I see the gr-iio package on CGRAN. Can 
I install PyBOMBS, then install gr-iio, into my GNU radio that was built using 
macports?

 

TIA, George

___

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 list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] qt_gui_time

2019-03-12 Thread Joe Martin
Very good, Marcus.  Thanks much for the additional info.  I’ll see if I can 
implement it in an actual GRC flowchart program.

Joe

> On Mar 12, 2019, at 5:25 PM, Marcus D. Leech  wrote:
> 
> On 03/12/2019 07:00 PM, Wayne Hilliard wrote:
>> Sure it's not much but it proves the concept.
>> 
>> One thing I think I'm going to try is to instead of using a vector probe I 
>> want to use a single probe then rotate the vector to the left sand 
>> concatenate the new value onto the end. But this will get you going.
>> 
>> 
> The "trick" to the desired goodness is that you make some "helper code" (via 
> the Python Module block--very powerful way to achieve
>   procedural "stuff" without actually writing python blocks).
> 
> So, imagine, in your flow graph, that your 'fprobe' is actually for a scalar 
> value
>   (like, say, the heavily-filtered-and-decimated result of complex-to-mag**2).
> 
> You then have a your "vec1" variable be the output of some function you call 
> in your helper code:
> 
> helper_code.my_funky_function(fprobe)
> 
> Then, "my_funky_function" can actually return a vector of some desirable size 
> (perhaps passed as a function argument).
> 
> That vector can be your "shift register" strip-chart type thingy.
> 
> This strategy is something I use quite a bit.  Some might (probably rightly) 
> argue that some of what I do is a "substitute" for writing an
>   actual signal-processing block.  But my code generally operates on the 
> output of "probe" blocks, generally sampled at *vastly* lower rates
>   than the input sample rate--like 1Hz, maybe more, depending on what I'm 
> doing.
> 
> Once you get really comfortable with this idiom, it becomes really quite 
> powerful...
> 
> 
> 
> 
>> 
>> On Tue, Mar 12, 2019 at 10:38 PM Joe Martin > > wrote:
>> Congratulations Wayne.  I’ve been trying to implement it but I am having 
>> difficulty getting it to work.  Would you mind sharing your test GRC program 
>> with me so I can see how you accomplished it please?
>> 
>> I would much appreciate it, 
>> 
>> Joe
>> 
>>> On Mar 12, 2019, at 4:29 AM, Wayne Hilliard >> > wrote:
>>> 
>>> Thanks everyone for the replies. Huge help.
>>> Kudos to Marcus Leech for the suggestion. Seems to work wonderfully. At 
>>> least in my test GRC file. Now to implement into my own program.
>>> 
>>> Cheers!
>>> Wayne Hilliard
>>> 
>>> On Sun, Mar 10, 2019 at 10:26 PM Marcus Müller >> > wrote:
>>> Hi Wayne, Hi Joe,
>>> 
>>> you're right – we've been urging people to switch away from WX since at
>>> least 2014, and now we're finally removing it; with a bit of a heavy
>>> heart, to be honest: Without feature equality, removing an alternative
>>> feels bad, but we simply couldn't maintain the WX code anymore, and had
>>> to find the resources to maintain QT stuff first.
>>> So, no, we don't have that specific visualization in Qt, sorry. Joe,
>>> this means we've long stopped supporting your widget – it works on most
>>> machines, on others it doesn't, and we can't really help you in the
>>> latter case.
>>> 
>>> Now, would one get started with developing a strip chart for Qt? Either
>>> one cheats a bit and just implements something that hands n_points
>>> sized chunks of data to the Qt GUI time sink, which always are
>>> basically the last chunk, with old samples "shifted out" and new
>>> samples "shifted in", or one would actually go and do a deep C++/Qt
>>> dive and write a proper stripchart widget.
>>> 
>>> Best regards,
>>> Marcus
>>> 
>>> On Sun, 2019-03-10 at 16:12 -0600, Joe Martin wrote:
>>> > Hi Wayne, 
>>> > 
>>> > I am using the strip-chart option of the WX GUI Scope Sink block in
>>> > GRC to perform drift scans in my radio astronomy project.  Works like
>>> > a champ! 
>>> > 
>>> > Select “Stripchart” in the Trigger option. 
>>> > 
>>> > Regards, 
>>> > 
>>> > Joe
>>> > 
>>> > > On Mar 10, 2019, at 3:24 PM, Wayne Hilliard >> > > >
>>> > > wrote:
>>> > > 
>>> > > Hello,
>>> > > Question. Has there been any movement on adding a strip chart
>>> > > option to this gui?
>>> > > 
>>> > > I know WX_gui usage is discouraged and i have a radio astronomy app
>>> > > I've been working on that uses QT_Gui. 
>>> > > 
>>> > > I've looked around some on github and don't have a clue on where I
>>> > > would start to try something on my own.
>>> > > 
>>> > > Any help would be appreciated .
>>> > > Thanks in advance!!
>>> > > 
>>> > > Wayne Hilliard
>>> > > ___
>>> > > 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/l

Re: [Discuss-gnuradio] qt_gui_time

2019-03-12 Thread Joe Martin
Thanks, Wayne!

> On Mar 12, 2019, at 5:00 PM, Wayne Hilliard  wrote:
> 
> Sure it's not much but it proves the concept.
> 
> One thing I think I'm going to try is to instead of using a vector probe I 
> want to use a single probe then rotate the vector to the left sand 
> concatenate the new value onto the end. But this will get you going.
> 
> 
> 
> On Tue, Mar 12, 2019 at 10:38 PM Joe Martin  > wrote:
> Congratulations Wayne.  I’ve been trying to implement it but I am having 
> difficulty getting it to work.  Would you mind sharing your test GRC program 
> with me so I can see how you accomplished it please?
> 
> I would much appreciate it, 
> 
> Joe
> 
>> On Mar 12, 2019, at 4:29 AM, Wayne Hilliard > > wrote:
>> 
>> Thanks everyone for the replies. Huge help.
>> Kudos to Marcus Leech for the suggestion. Seems to work wonderfully. At 
>> least in my test GRC file. Now to implement into my own program.
>> 
>> Cheers!
>> Wayne Hilliard
>> 
>> On Sun, Mar 10, 2019 at 10:26 PM Marcus Müller > > wrote:
>> Hi Wayne, Hi Joe,
>> 
>> you're right – we've been urging people to switch away from WX since at
>> least 2014, and now we're finally removing it; with a bit of a heavy
>> heart, to be honest: Without feature equality, removing an alternative
>> feels bad, but we simply couldn't maintain the WX code anymore, and had
>> to find the resources to maintain QT stuff first.
>> So, no, we don't have that specific visualization in Qt, sorry. Joe,
>> this means we've long stopped supporting your widget – it works on most
>> machines, on others it doesn't, and we can't really help you in the
>> latter case.
>> 
>> Now, would one get started with developing a strip chart for Qt? Either
>> one cheats a bit and just implements something that hands n_points
>> sized chunks of data to the Qt GUI time sink, which always are
>> basically the last chunk, with old samples "shifted out" and new
>> samples "shifted in", or one would actually go and do a deep C++/Qt
>> dive and write a proper stripchart widget.
>> 
>> Best regards,
>> Marcus
>> 
>> On Sun, 2019-03-10 at 16:12 -0600, Joe Martin wrote:
>> > Hi Wayne, 
>> > 
>> > I am using the strip-chart option of the WX GUI Scope Sink block in
>> > GRC to perform drift scans in my radio astronomy project.  Works like
>> > a champ! 
>> > 
>> > Select “Stripchart” in the Trigger option. 
>> > 
>> > Regards, 
>> > 
>> > Joe
>> > 
>> > > On Mar 10, 2019, at 3:24 PM, Wayne Hilliard > > > >
>> > > wrote:
>> > > 
>> > > Hello,
>> > > Question. Has there been any movement on adding a strip chart
>> > > option to this gui?
>> > > 
>> > > I know WX_gui usage is discouraged and i have a radio astronomy app
>> > > I've been working on that uses QT_Gui. 
>> > > 
>> > > I've looked around some on github and don't have a clue on where I
>> > > would start to try something on my own.
>> > > 
>> > > Any help would be appreciated .
>> > > Thanks in advance!!
>> > > 
>> > > Wayne Hilliard
>> > > ___
>> > > 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 list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] qt_gui_time

2019-03-12 Thread Marcus D. Leech

On 03/12/2019 07:00 PM, Wayne Hilliard wrote:

Sure it's not much but it proves the concept.

One thing I think I'm going to try is to instead of using a vector 
probe I want to use a single probe then rotate the vector to the left 
sand concatenate the new value onto the end. But this will get you going.



The "trick" to the desired goodness is that you make some "helper code" 
(via the Python Module block--very powerful way to achieve

  procedural "stuff" without actually writing python blocks).

So, imagine, in your flow graph, that your 'fprobe' is actually for a 
scalar value
  (like, say, the heavily-filtered-and-decimated result of 
complex-to-mag**2).


You then have a your "vec1" variable be the output of some function you 
call in your helper code:


helper_code.my_funky_function(fprobe)

Then, "my_funky_function" can actually return a vector of some desirable 
size (perhaps passed as a function argument).


That vector can be your "shift register" strip-chart type thingy.

This strategy is something I use quite a bit.  Some might (probably 
rightly) argue that some of what I do is a "substitute" for writing an
  actual signal-processing block.  But my code generally operates on 
the output of "probe" blocks, generally sampled at *vastly* lower rates
  than the input sample rate--like 1Hz, maybe more, depending on what 
I'm doing.


Once you get really comfortable with this idiom, it becomes really quite 
powerful...







On Tue, Mar 12, 2019 at 10:38 PM Joe Martin > wrote:


Congratulations Wayne.  I’ve been trying to implement it but I am
having difficulty getting it to work.  Would you mind sharing your
test GRC program with me so I can see how you accomplished it please?

I would much appreciate it,

Joe


On Mar 12, 2019, at 4:29 AM, Wayne Hilliard mailto:woody...@gmail.com>> wrote:

Thanks everyone for the replies. Huge help.
Kudos to Marcus Leech for the suggestion. Seems to work
wonderfully. At least in my test GRC file. Now to implement into
my own program.

Cheers!
Wayne Hilliard

On Sun, Mar 10, 2019 at 10:26 PM Marcus Müller
mailto:mmuel...@gnuradio.org>> wrote:

Hi Wayne, Hi Joe,

you're right – we've been urging people to switch away from
WX since at
least 2014, and now we're finally removing it; with a bit of
a heavy
heart, to be honest: Without feature equality, removing an
alternative
feels bad, but we simply couldn't maintain the WX code
anymore, and had
to find the resources to maintain QT stuff first.
So, no, we don't have that specific visualization in Qt,
sorry. Joe,
this means we've long stopped supporting your widget – it
works on most
machines, on others it doesn't, and we can't really help you
in the
latter case.

Now, would one get started with developing a strip chart for
Qt? Either
one cheats a bit and just implements something that hands
n_points
sized chunks of data to the Qt GUI time sink, which always are
basically the last chunk, with old samples "shifted out" and new
samples "shifted in", or one would actually go and do a deep
C++/Qt
dive and write a proper stripchart widget.

Best regards,
Marcus

On Sun, 2019-03-10 at 16:12 -0600, Joe Martin wrote:
> Hi Wayne,
>
> I am using the strip-chart option of the WX GUI Scope Sink
block in
> GRC to perform drift scans in my radio astronomy project. 
Works like

> a champ!
>
> Select “Stripchart” in the Trigger option.
>
> Regards,
>
> Joe
>
> > On Mar 10, 2019, at 3:24 PM, Wayne Hilliard
mailto:woody...@gmail.com>>
> > wrote:
> >
> > Hello,
> > Question. Has there been any movement on adding a strip chart
> > option to this gui?
> >
> > I know WX_gui usage is discouraged and i have a radio
astronomy app
> > I've been working on that uses QT_Gui.
> >
> > I've looked around some on github and don't have a clue
on where I
> > would start to try something on my own.
> >
> > Any help would be appreciated .
> > Thanks in advance!!
> >
> > Wayne Hilliard
> > ___
> > 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






Re: [Discuss-gnuradio] qt_gui_time

2019-03-12 Thread Wayne Hilliard
Sure it's not much but it proves the concept.

One thing I think I'm going to try is to instead of using a vector probe I
want to use a single probe then rotate the vector to the left sand
concatenate the new value onto the end. But this will get you going.



On Tue, Mar 12, 2019 at 10:38 PM Joe Martin  wrote:

> Congratulations Wayne.  I’ve been trying to implement it but I am having
> difficulty getting it to work.  Would you mind sharing your test GRC
> program with me so I can see how you accomplished it please?
>
> I would much appreciate it,
>
> Joe
>
> On Mar 12, 2019, at 4:29 AM, Wayne Hilliard  wrote:
>
> Thanks everyone for the replies. Huge help.
> Kudos to Marcus Leech for the suggestion. Seems to work wonderfully. At
> least in my test GRC file. Now to implement into my own program.
>
> Cheers!
> Wayne Hilliard
>
> On Sun, Mar 10, 2019 at 10:26 PM Marcus Müller 
> wrote:
>
>> Hi Wayne, Hi Joe,
>>
>> you're right – we've been urging people to switch away from WX since at
>> least 2014, and now we're finally removing it; with a bit of a heavy
>> heart, to be honest: Without feature equality, removing an alternative
>> feels bad, but we simply couldn't maintain the WX code anymore, and had
>> to find the resources to maintain QT stuff first.
>> So, no, we don't have that specific visualization in Qt, sorry. Joe,
>> this means we've long stopped supporting your widget – it works on most
>> machines, on others it doesn't, and we can't really help you in the
>> latter case.
>>
>> Now, would one get started with developing a strip chart for Qt? Either
>> one cheats a bit and just implements something that hands n_points
>> sized chunks of data to the Qt GUI time sink, which always are
>> basically the last chunk, with old samples "shifted out" and new
>> samples "shifted in", or one would actually go and do a deep C++/Qt
>> dive and write a proper stripchart widget.
>>
>> Best regards,
>> Marcus
>>
>> On Sun, 2019-03-10 at 16:12 -0600, Joe Martin wrote:
>> > Hi Wayne,
>> >
>> > I am using the strip-chart option of the WX GUI Scope Sink block in
>> > GRC to perform drift scans in my radio astronomy project.  Works like
>> > a champ!
>> >
>> > Select “Stripchart” in the Trigger option.
>> >
>> > Regards,
>> >
>> > Joe
>> >
>> > > On Mar 10, 2019, at 3:24 PM, Wayne Hilliard 
>> > > wrote:
>> > >
>> > > Hello,
>> > > Question. Has there been any movement on adding a strip chart
>> > > option to this gui?
>> > >
>> > > I know WX_gui usage is discouraged and i have a radio astronomy app
>> > > I've been working on that uses QT_Gui.
>> > >
>> > > I've looked around some on github and don't have a clue on where I
>> > > would start to try something on my own.
>> > >
>> > > Any help would be appreciated .
>> > > Thanks in advance!!
>> > >
>> > > Wayne Hilliard
>> > > ___
>> > > 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
>>
>>
>


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


Re: [Discuss-gnuradio] gr_modtool for Windows?

2019-03-12 Thread CEL
Hi Aaron,

must admit, I haven't tried it.
Technically, modtool depends on very little more than Python to do its
thing.
But then again, its thing is using sane compiler environments to build
stuff (you can't use any of the Linux or Mac package managers as
sources, obviously). And while that probably works for most OOT
modules, your road will be very rocky for all the dependencies.

Other than that: XY Problem[1]! It's always best to describe what you
want to do in the bigger picture, so that experts can reply with a
well-informed recommendation based on what you need to do to achieve
your goal, rather than giving localized information to the exact
question you're asking, which in the end only sends you down a detour
or worst case a dead end, and thus only cost you time.

My guess: 
you're asking this to figure out how to easily install GNU Radio modulesand 
their dependencies, the answer really is: get a modern Linux, even in a VM.
You can literally install GNU Radio with a single command line,
and the same goes for libraries you need for some modules.
Best regards,
Marcus

[1] https://xyproblem.info

On Tue, 2019-03-12 at 18:48 +, Chesir, Aaron M. wrote:
> Folks,
>  
> Is there a way to install gr_modtool for Windows (10) ?
>  
> Thanks in advance,
>  
> Aaron
>  
>  
> Aaron Chesir
> The MITRE Corporation
> 200 Valley Road
> Mount Arlington, NJ 07856
> w: (973) 810-0612
> c: (908) 380-5798
> ache...@mitre.org
> “Ignorance is Bliss, but Knowledge is Power”
>  
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


smime.p7s
Description: S/MIME cryptographic signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] qt_gui_time

2019-03-12 Thread Joe Martin
Congratulations Wayne.  I’ve been trying to implement it but I am having 
difficulty getting it to work.  Would you mind sharing your test GRC program 
with me so I can see how you accomplished it please?

I would much appreciate it, 

Joe

> On Mar 12, 2019, at 4:29 AM, Wayne Hilliard  wrote:
> 
> Thanks everyone for the replies. Huge help.
> Kudos to Marcus Leech for the suggestion. Seems to work wonderfully. At least 
> in my test GRC file. Now to implement into my own program.
> 
> Cheers!
> Wayne Hilliard
> 
> On Sun, Mar 10, 2019 at 10:26 PM Marcus Müller  > wrote:
> Hi Wayne, Hi Joe,
> 
> you're right – we've been urging people to switch away from WX since at
> least 2014, and now we're finally removing it; with a bit of a heavy
> heart, to be honest: Without feature equality, removing an alternative
> feels bad, but we simply couldn't maintain the WX code anymore, and had
> to find the resources to maintain QT stuff first.
> So, no, we don't have that specific visualization in Qt, sorry. Joe,
> this means we've long stopped supporting your widget – it works on most
> machines, on others it doesn't, and we can't really help you in the
> latter case.
> 
> Now, would one get started with developing a strip chart for Qt? Either
> one cheats a bit and just implements something that hands n_points
> sized chunks of data to the Qt GUI time sink, which always are
> basically the last chunk, with old samples "shifted out" and new
> samples "shifted in", or one would actually go and do a deep C++/Qt
> dive and write a proper stripchart widget.
> 
> Best regards,
> Marcus
> 
> On Sun, 2019-03-10 at 16:12 -0600, Joe Martin wrote:
> > Hi Wayne, 
> > 
> > I am using the strip-chart option of the WX GUI Scope Sink block in
> > GRC to perform drift scans in my radio astronomy project.  Works like
> > a champ! 
> > 
> > Select “Stripchart” in the Trigger option. 
> > 
> > Regards, 
> > 
> > Joe
> > 
> > > On Mar 10, 2019, at 3:24 PM, Wayne Hilliard  > > >
> > > wrote:
> > > 
> > > Hello,
> > > Question. Has there been any movement on adding a strip chart
> > > option to this gui?
> > > 
> > > I know WX_gui usage is discouraged and i have a radio astronomy app
> > > I've been working on that uses QT_Gui. 
> > > 
> > > I've looked around some on github and don't have a clue on where I
> > > would start to try something on my own.
> > > 
> > > Any help would be appreciated .
> > > Thanks in advance!!
> > > 
> > > Wayne Hilliard
> > > ___
> > > 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 list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Blank display in control port performance monitor.

2019-03-12 Thread Grecia Montoya
Hi, I'm having problems with the Performance monitor, the graph output is
blank.  The control port monitor is working fine.

The terminal output is the following:

ControlPort Monitor running.
ControlPort Monitor running.
gr::log :INFO: audio source - Audio sink arch: alsa
gr::log :INFO: controlport - Apache Thrift: -h Precision-7820-Tower -p 34612
aUaUaUmonitor::endpoints() = -h Precision-7820-Tower -p 34612
running: ['gr-ctrlport-monitor', 'Precision-7820-Tower', '34612']
aUaUmonitor::endpoints() = -h Precision-7820-Tower -p 34612
running: ['gr-perf-monitorx', 'Precision-7820-Tower', '34612']
  File
"/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line
259, in mousePressEvent
guiEvent=event)
  File "/usr/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line
1903, in button_press_event
self.callbacks.process(s, mouseevent)
  File "/usr/lib/python2.7/dist-packages/matplotlib/cbook.py", line 563, in
process
proxy(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/cbook.py", line 430, in
__call__
return mtd(*args, **kwargs)
  File "/home/grecia/rfnoc/bin/gr-perf-monitorx", line 837, in button_press
i = nearby.index(min(nearby))
ValueError: min() arg is an empty sequence


The error only occurs when I click somewhere in the window of the
performance monitor.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Spectrum sensing using gnuradio + hackrf one

2019-03-12 Thread faisal
hello everyone
can anyone help me i want to save data which comes from average block and
threshold block.
how can we save a date in text file or in an excel file?
i attched the grc.file please have a look at it.


gt.grc
Description: Binary data
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] How NOT to write a GRC block?

2019-03-12 Thread Chris Kuethe
1) It was not clear which source file you are referring to. I assume it's
"pam_timing.grc" based on a search of "how not to write a block"... but I
don't know exactly what file you're reading, nor exactly which file you're
missing.
2) based on this assumption, I searched github for pam_timing.grc and found
this
https://github.com/Paramon/gnuradio/blob/5e44a754b9043e9a569a2bad504a6c2251dc743b/gr-digital/examples/demod/pam_timing.grc

With a little bit of digging, I found an old official version:
https://github.com/gnuradio/gnuradio/blob/d9e9435602c6ebd29c30f3d4b32d087cef49813c/gr-digital/examples/demod/pam_timing.grc

On Tue, Mar 12, 2019 at 11:42 AM Chesir, Aaron M.  wrote:

> Folks,
>
>
>
> As part of my GNUradio/GRC training, I am reviewing Tom Rondeau’s August
> 24, 2015 presentation “How Not To Write A Block”. I would like to go
> through its paces to learn how to write good blocks. Unfortunately, I do
> not see any way of accessing the original GRC source file which he uses as
> his starting point.
>
>
>
> If any of you have come across the referenced source file, could you
> please email me a copy?
>
>
>
> Thanks in advance,
>
>
>
> Aaron
>
>
>
>
>
> Aaron Chesir
>
> The MITRE Corporation
>
> 200 Valley Road
>
> Mount Arlington, NJ 07856
>
> w: (973) 810-0612
>
> c: (908) 380-5798
>
> ache...@mitre.org
>
> *“Ignorance is Bliss, but Knowledge is Power”*
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] gr_modtool for Windows?

2019-03-12 Thread Chesir, Aaron M.
Folks,

Is there a way to install gr_modtool for Windows (10) ?

Thanks in advance,

Aaron


Aaron Chesir
The MITRE Corporation
200 Valley Road
Mount Arlington, NJ 07856
w: (973) 810-0612
c: (908) 380-5798
ache...@mitre.org
"Ignorance is Bliss, but Knowledge is Power"

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


Re: [Discuss-gnuradio] Can I use PyBOMBS with a macport installed GNU Radio?

2019-03-12 Thread Michael Dickens
gr-iio is in MacPorts ... and if you need something related to GR ping me & we 
can work together to make it happen. - MLD

On Tue, Mar 12, 2019, at 3:05 PM, George Rykowski wrote:
> Hello,

> 

> I have a need to install the FMComms2/3/4 source block in order to access my 
> Zedboard/AD9361 SDR from my Macbook Pro. I see the gr-iio package on CGRAN. 
> Can I install PyBOMBS, then install gr-iio, into my GNU radio that was built 
> using macports?

> 

> TIA, George

> ___
> 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] Can I use PyBOMBS with a macport installed GNU Radio?

2019-03-12 Thread George Rykowski
Hello,

 

I have a need to install the FMComms2/3/4 source block in order to access my 
Zedboard/AD9361 SDR from my Macbook Pro. I see the gr-iio package on CGRAN. Can 
I install PyBOMBS, then install gr-iio, into my GNU radio that was built using 
macports?

 

TIA, George

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


[Discuss-gnuradio] How NOT to write a GRC block?

2019-03-12 Thread Chesir, Aaron M.
Folks,

As part of my GNUradio/GRC training, I am reviewing Tom Rondeau's August 24, 
2015 presentation "How Not To Write A Block". I would like to go through its 
paces to learn how to write good blocks. Unfortunately, I do not see any way of 
accessing the original GRC source file which he uses as his starting point.

If any of you have come across the referenced source file, could you please 
email me a copy?

Thanks in advance,

Aaron


Aaron Chesir
The MITRE Corporation
200 Valley Road
Mount Arlington, NJ 07856
w: (973) 810-0612
c: (908) 380-5798
ache...@mitre.org
"Ignorance is Bliss, but Knowledge is Power"

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


Re: [Discuss-gnuradio] Symbol to chip Mapping

2019-03-12 Thread Achilleas Anastasopoulos
Not quite:

You set the "dimension" of the c2s block to 32.
No need to set any variable to 16...

Then you have to input to the c2s block an array of size 16 by 32 (or
simply 16x32=512).

Take a look at some examples of how c2s block is used in gr-trellis.

Achilleas



On Mon, Mar 11, 2019 at 11:58 PM Tellrell White  wrote:

> Okay. Let me make sure i’m clear on this.
>
> My flow graph looks like the following :
>
> Random source -> packed to unpacked -> chunks to symbols
>
> The source and packed to unpacked are set to byte and the packed to
> unpacked is outputting 4 bits per chunks so am I setting the dimension of
> the “chunks to symbols” block to 16 (0-15) and inputting 1024 values, 0’s
> and 1’s, (32 values for each dimension) to complete the mapping?
>
> Thanks for the assistance.
>
> Tellrell
>
> Sent from my iPhone
>
> > On Mar 11, 2019, at 8:28 AM, Achilleas Anastasopoulos 
> wrote:
> >
> > Yes this can be done with chunks-to-symbols.
> > This is essentially a 16 x 32 lookup table:
> >
> > turn your 4 bits into a byte which indices a lookup table with 32
> dimensions
> > (set the "dimension" variable to 32 in chunks-to-symbols).
> >
> > Achilleas
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] qt_gui_time

2019-03-12 Thread Wayne Hilliard
Thanks everyone for the replies. Huge help.
Kudos to Marcus Leech for the suggestion. Seems to work wonderfully. At
least in my test GRC file. Now to implement into my own program.

Cheers!
Wayne Hilliard

On Sun, Mar 10, 2019 at 10:26 PM Marcus Müller 
wrote:

> Hi Wayne, Hi Joe,
>
> you're right – we've been urging people to switch away from WX since at
> least 2014, and now we're finally removing it; with a bit of a heavy
> heart, to be honest: Without feature equality, removing an alternative
> feels bad, but we simply couldn't maintain the WX code anymore, and had
> to find the resources to maintain QT stuff first.
> So, no, we don't have that specific visualization in Qt, sorry. Joe,
> this means we've long stopped supporting your widget – it works on most
> machines, on others it doesn't, and we can't really help you in the
> latter case.
>
> Now, would one get started with developing a strip chart for Qt? Either
> one cheats a bit and just implements something that hands n_points
> sized chunks of data to the Qt GUI time sink, which always are
> basically the last chunk, with old samples "shifted out" and new
> samples "shifted in", or one would actually go and do a deep C++/Qt
> dive and write a proper stripchart widget.
>
> Best regards,
> Marcus
>
> On Sun, 2019-03-10 at 16:12 -0600, Joe Martin wrote:
> > Hi Wayne,
> >
> > I am using the strip-chart option of the WX GUI Scope Sink block in
> > GRC to perform drift scans in my radio astronomy project.  Works like
> > a champ!
> >
> > Select “Stripchart” in the Trigger option.
> >
> > Regards,
> >
> > Joe
> >
> > > On Mar 10, 2019, at 3:24 PM, Wayne Hilliard 
> > > wrote:
> > >
> > > Hello,
> > > Question. Has there been any movement on adding a strip chart
> > > option to this gui?
> > >
> > > I know WX_gui usage is discouraged and i have a radio astronomy app
> > > I've been working on that uses QT_Gui.
> > >
> > > I've looked around some on github and don't have a clue on where I
> > > would start to try something on my own.
> > >
> > > Any help would be appreciated .
> > > Thanks in advance!!
> > >
> > > Wayne Hilliard
> > > ___
> > > 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 list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio