[Discuss-gnuradio] GRC: setting parameter for multiple blocks via combo box

2018-06-22 Thread Rob Heig
Hi everybody,

I am creating a small design (similar to the DVB-T one included in
gnuradio-dtv) and I wanted to set some parameters once (at design and *not*
at execution time) with a combo box (to limit the possible choices to valid
values only). For instance, if we consider the above mentioned DVB-T
design, one might want to set the chosen constellation just once and not
for every single block that needs that parameter. Is there an easy way to
achieve this result?
Thanks a lot in advance and have a nice day!

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


Re: [Discuss-gnuradio] GRC: setting parameter for multiple blocks via combo box

2018-06-22 Thread Ron Economos
I'm not sure if this fits your requirements, but you can use a stand 
alone Python script. Here's an example for the DVB-T transmitter.


https://github.com/drmpeg/dtv-utils/blob/master/dvbt-blade.py

Ron

On 06/22/2018 12:55 AM, Rob Heig wrote:

Hi everybody,

I am creating a small design (similar to the DVB-T one included in 
gnuradio-dtv) and I wanted to set some parameters once (at design and 
*not* at execution time) with a combo box (to limit the possible 
choices to valid values only). For instance, if we consider the above 
mentioned DVB-T design, one might want to set the chosen constellation 
just once and not for every single block that needs that parameter. Is 
there an easy way to achieve this result?

Thanks a lot in advance and have a nice day!

Rob




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


Re: [Discuss-gnuradio] GRC: setting parameter for multiple blocks via combo box

2018-06-22 Thread Rob Heig
Thanks for your answer Ron!
Unfortunately no, we plan to play with blocks in the GUI and so no Python
script or C++ code, at least at the beginning... :(

On 22 June 2018 at 11:04, Ron Economos  wrote:

> I'm not sure if this fits your requirements, but you can use a stand alone
> Python script. Here's an example for the DVB-T transmitter.
>
> https://github.com/drmpeg/dtv-utils/blob/master/dvbt-blade.py
>
> Ron
>
>
> On 06/22/2018 12:55 AM, Rob Heig wrote:
>
>> Hi everybody,
>>
>> I am creating a small design (similar to the DVB-T one included in
>> gnuradio-dtv) and I wanted to set some parameters once (at design and *not*
>> at execution time) with a combo box (to limit the possible choices to valid
>> values only). For instance, if we consider the above mentioned DVB-T
>> design, one might want to set the chosen constellation just once and not
>> for every single block that needs that parameter. Is there an easy way to
>> achieve this result?
>> Thanks a lot in advance and have a nice day!
>>
>> Rob
>>
>>
>
> ___
> 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] [GSoC'18][MIMO] Updates of the week

2018-06-22 Thread Luca Schmid
Hi all,

I just finished the implementation of the V-BLAST architecture as another
algorithm for the collection of basic MIMO capabilities for GNU Radio. For
general MxM schemes with M>2, I am using the linear algebra library Eigen3.

Here is my blog post

for this week.

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


Re: [Discuss-gnuradio] GRC: setting parameter for multiple blocks via combo box

2018-06-22 Thread Federico 'Larroca' La Rocca
Hi,
And using a QT GUI Chooser with type "Any" and using its entry to configure
the other blocks?
best


2018-06-22 6:08 GMT-03:00 Rob Heig :

> Thanks for your answer Ron!
> Unfortunately no, we plan to play with blocks in the GUI and so no Python
> script or C++ code, at least at the beginning... :(
>
> On 22 June 2018 at 11:04, Ron Economos  wrote:
>
>> I'm not sure if this fits your requirements, but you can use a stand
>> alone Python script. Here's an example for the DVB-T transmitter.
>>
>> https://github.com/drmpeg/dtv-utils/blob/master/dvbt-blade.py
>>
>> Ron
>>
>>
>> On 06/22/2018 12:55 AM, Rob Heig wrote:
>>
>>> Hi everybody,
>>>
>>> I am creating a small design (similar to the DVB-T one included in
>>> gnuradio-dtv) and I wanted to set some parameters once (at design and *not*
>>> at execution time) with a combo box (to limit the possible choices to valid
>>> values only). For instance, if we consider the above mentioned DVB-T
>>> design, one might want to set the chosen constellation just once and not
>>> for every single block that needs that parameter. Is there an easy way to
>>> achieve this result?
>>> Thanks a lot in advance and have a nice day!
>>>
>>> Rob
>>>
>>>
>>
>> ___
>> 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] GRC: setting parameter for multiple blocks via combo box

2018-06-22 Thread Rob Heig
It works!! :)
Thanks a lot and have a nice day!!!
Rob

On 22 June 2018 at 14:04, Federico 'Larroca' La Rocca 
wrote:

> Hi,
> And using a QT GUI Chooser with type "Any" and using its entry to
> configure the other blocks?
> best
>
>
> 2018-06-22 6:08 GMT-03:00 Rob Heig :
>
>> Thanks for your answer Ron!
>> Unfortunately no, we plan to play with blocks in the GUI and so no Python
>> script or C++ code, at least at the beginning... :(
>>
>> On 22 June 2018 at 11:04, Ron Economos  wrote:
>>
>>> I'm not sure if this fits your requirements, but you can use a stand
>>> alone Python script. Here's an example for the DVB-T transmitter.
>>>
>>> https://github.com/drmpeg/dtv-utils/blob/master/dvbt-blade.py
>>>
>>> Ron
>>>
>>>
>>> On 06/22/2018 12:55 AM, Rob Heig wrote:
>>>
 Hi everybody,

 I am creating a small design (similar to the DVB-T one included in
 gnuradio-dtv) and I wanted to set some parameters once (at design and *not*
 at execution time) with a combo box (to limit the possible choices to valid
 values only). For instance, if we consider the above mentioned DVB-T
 design, one might want to set the chosen constellation just once and not
 for every single block that needs that parameter. Is there an easy way to
 achieve this result?
 Thanks a lot in advance and have a nice day!

 Rob


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


Re: [Discuss-gnuradio] GRC: setting parameter for multiple blocks via combo box

2018-06-22 Thread Rob Heig
Mmmm, no :(
In this way, I cannot select the value from a combo box (unless at runtime,
but I would like to do this at "design" time, as it is done by normal combo
boxes to select enum values in the .grc files).
Thanks anyway!
Rob

On 22 June 2018 at 14:09, Rob Heig  wrote:

> It works!! :)
> Thanks a lot and have a nice day!!!
> Rob
>
> On 22 June 2018 at 14:04, Federico 'Larroca' La Rocca 
> wrote:
>
>> Hi,
>> And using a QT GUI Chooser with type "Any" and using its entry to
>> configure the other blocks?
>> best
>>
>>
>> 2018-06-22 6:08 GMT-03:00 Rob Heig :
>>
>>> Thanks for your answer Ron!
>>> Unfortunately no, we plan to play with blocks in the GUI and so no
>>> Python script or C++ code, at least at the beginning... :(
>>>
>>> On 22 June 2018 at 11:04, Ron Economos  wrote:
>>>
 I'm not sure if this fits your requirements, but you can use a stand
 alone Python script. Here's an example for the DVB-T transmitter.

 https://github.com/drmpeg/dtv-utils/blob/master/dvbt-blade.py

 Ron


 On 06/22/2018 12:55 AM, Rob Heig wrote:

> Hi everybody,
>
> I am creating a small design (similar to the DVB-T one included in
> gnuradio-dtv) and I wanted to set some parameters once (at design and 
> *not*
> at execution time) with a combo box (to limit the possible choices to 
> valid
> values only). For instance, if we consider the above mentioned DVB-T
> design, one might want to set the chosen constellation just once and not
> for every single block that needs that parameter. Is there an easy way to
> achieve this result?
> Thanks a lot in advance and have a nice day!
>
> Rob
>
>

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


Re: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-22 Thread Kyeong Su Shin
Hello Evans:


(Also, if you haven't installed the Windows distribution of GNU Radio, get it 
from here: http://www.gcndevelopment.com/gnuradio/downloads.htm . Then you can 
use the GNU Radio command prompt to execute your Python code.)


Regards,
Kyeong Su Shin



보낸 사람: Kyeong Su Shin
보낸 날짜: 2018년 6월 22일 금요일 오후 11:30:05
받는 사람: evans ryanada; discuss-gnuradio@gnu.org
제목: RE: [Discuss-gnuradio] ImportError: No module named 'gnuradio'


Hello Evans:


As the error message says, your Python binary is not seeing the Python module 
named 'gnuradio'. It simply does not have right libraries to run your Python 
code.


If you installed the Windows distribution of GNU Radio, one thing that you must 
note is the fact that the distribution uses its own Python binary and 
libraries. It will not touch other Python installations on your PC, and use its 
own copy of CPython for the operation. The easiest workaround in such 
situations would be running your Python code on the GNU Radio Command Prompt, 
not on the default Windows command prompt. In that way, you can use the Python 
binary installed and used by your GNU Radio distribution to execute your code.

Regards,

Kyeong Su Shin



보낸 사람: evans ryanada  대신 Discuss-gnuradio 

보낸 날짜: 2018년 6월 21일 목요일 오후 2:37:21
받는 사람: discuss-gnuradio@gnu.org
제목: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

i am trying to run a .py file generated from GRC 3.7.11 but am getting an 
error...displaying the following message..

C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
Traceback (most recent call last):
  File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line 6, in 
from gnuradio import blocks
ImportError: No module named 'gnuradio'

i have installed python 2.7.15 on my pc which runs on windows 8

what could be the problem?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-22 Thread Kyeong Su Shin
Hello Evans:


As the error message says, your Python binary is not seeing the Python module 
named 'gnuradio'. It simply does not have right libraries to run your Python 
code.


If you installed the Windows distribution of GNU Radio, one thing that you must 
note is the fact that the distribution uses its own Python binary and 
libraries. It will not touch other Python installations on your PC, and use its 
own copy of CPython for the operation. The easiest workaround in such 
situations would be running your Python code on the GNU Radio Command Prompt, 
not on the default Windows command prompt. In that way, you can use the Python 
binary installed and used by your GNU Radio distribution to execute your code.

Regards,

Kyeong Su Shin



보낸 사람: evans ryanada  대신 Discuss-gnuradio 

보낸 날짜: 2018년 6월 21일 목요일 오후 2:37:21
받는 사람: discuss-gnuradio@gnu.org
제목: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

i am trying to run a .py file generated from GRC 3.7.11 but am getting an 
error...displaying the following message..

C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
Traceback (most recent call last):
  File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line 6, in 
from gnuradio import blocks
ImportError: No module named 'gnuradio'

i have installed python 2.7.15 on my pc which runs on windows 8

what could be the problem?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] ImportError: No module named 'gnuradio'

2018-06-22 Thread CEL
Hi Evans,

Just for clarification: 

You did install GNU Radio on your windows, right?

Best regards,
Marcus

On Thu, 2018-06-21 at 08:37 +0300, evans ryanada wrote:
> i am trying to run a .py file generated from GRC 3.7.11 but am getting an 
> error...displaying the following message..
> 
> C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
> Traceback (most recent call last):
>   File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line 6, in 
>  ule>
> from gnuradio import blocks
> ImportError: No module named 'gnuradio'
> 
> i have installed python 2.7.15 on my pc which runs on windows 8
> 
> what could be the problem?
> ___
> 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] ImportError: No module named 'gnuradio'

2018-06-22 Thread Derek Kozel
Hi Evans,

I believe the current GNU Radio installer on Windows includes its own full
local copy of Python. You will have to use that version of Python whenever
you are using GNU Radio. I don't have a Windows machine running at the
moment to check, but I believe that there are scripts included with the
installation for launching that Python environment.

Regards,
Derek

On Fri, Jun 22, 2018 at 3:43 PM, Müller, Marcus (CEL) 
wrote:

> Hi Evans,
>
> Just for clarification:
>
> You did install GNU Radio on your windows, right?
>
> Best regards,
> Marcus
>
> On Thu, 2018-06-21 at 08:37 +0300, evans ryanada wrote:
> > i am trying to run a .py file generated from GRC 3.7.11 but am getting
> an error...displaying the following message..
> >
> > C:\Users\production\Desktop\flexsdr>gps-sdr-sim-uhd.py
> > Traceback (most recent call last):
> >   File "C:\Users\production\Desktop\flexsdr\gps-sdr-sim-uhd.py", line
> 6, in  > ule>
> > from gnuradio import blocks
> > ImportError: No module named 'gnuradio'
> >
> > i have installed python 2.7.15 on my pc which runs on windows 8
> >
> > what could be the problem?
> > ___
> > 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] Need help with CtrlPort Performance Monitor

2018-06-22 Thread Jim Larsen
I want to use the CtrlPort Performance Monitor block to compare CPU usage of 
several demodulator alternatives. I built GNU Radio version 3.7.12 using 
PyBOMBS on Ubuntu 18.04. I added -DENABLE_PERFORMANCE_COUNTERS=ON to the 
gnuradio.lwr recipe. I installed  networkx, matplotlib, and python-pygraphviz. 
I edited gnuradio-runtime.conf as follows:

[ControlPort] on = True
[ControlPort] edges_list = True
[PerfCounters] on = True
[PerfCounters] export = True

I ran a simple flowgraph Signal Source > Throttle > Null Sink with the CtrlPort 
Performance Monitor block. The Performance Monitor window opens, but the graph 
is empty. Please let me know how to make CtrlPort Performance Monitor work.

Thanks!

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