[Discuss-gnuradio] Majority of WX GUI Widgets missing from Companion

2015-03-14 Thread NIKOS BIZANIS
Hi everyone,

I downloaded and built GNU Radio from sbrac.org, and it operates normally. The 
only problem is that when I am searching for any WX GUI Widgets, I can only see 
WX GUI Static Text, WX GUI Time Panel and WX DOA Compass. Based on a previous 
discussion on that mailing list I also installed WXPython (2.8) but the problem 
remains.

Any ideas?

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


Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing from Companion

2015-03-14 Thread Marcus Müller
Hi Nikos
>
> I downloaded and built GNU Radio from sbrac.org
ah, ok, I presume that means you used Marcus Leech's build-gnuradio script.
> The only problem is that when I am searching for any WX GUI Widgets, I
> can only see WX GUI Static Text, WX GUI Time Panel and WX DOA Compass.
As you've already found out, this probably means that some dependencies
were missing.
In fact, of the three you list, only the static text widget is part of
GNU Radio itself, so what you're seeing is possibly remains of an older
installation. Are you sure you don't have any gnuradio package from your
linux distribution installed?
> Based on a previous discussion on that mailing list I also installed
> WXPython (2.8) but the problem remains.
Did you re-build GNU Radio after that? Otherwise, the GUI blocks could
not have been built, and installed.

Most probably, the log file that was generated during your GNU Radio
compilation contains more information; it's called CMakeOutput.log and
should be in /gnuradio/build/CMakeFiles/

Also, the output of "gnuradio-config-info -v --enabled-components" would
be interesting.

Greetings,
Marcus

On 03/14/2015 02:03 PM, NIKOS BIZANIS wrote:
> Hi everyone,
>
> I downloaded and built GNU Radio from sbrac.org, and it operates
> normally. The only problem is that when I am searching for any WX GUI
> Widgets, I can only see WX GUI Static Text, WX GUI Time Panel and WX
> DOA Compass. Based on a previous discussion on that mailing list I
> also installed WXPython (2.8) but the problem remains.
>
> Any ideas?
>
> Thank you,
> Nikos
>
>
> ___
> 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] Majority of WX GUI Widgets missing from Companion

2015-03-14 Thread NIKOS BIZANIS

Hi Marcus,

it's probably remains from an older installation attempt I had made (using 
Pybombs), which failed. After that I used that script and it worked like a 
charm. So if I would just do a "./build-gnuradio" from my installation 
directory in order to build again, it would probably work, right?

Thanks for your help,
Nikos




From: discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org 
[discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on behalf of 
Marcus Müller [marcus.muel...@ettus.com]
Sent: Saturday, March 14, 2015 2:45 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing from 
Companion

Hi Nikos

I downloaded and built GNU Radio from sbrac.org
ah, ok, I presume that means you used Marcus Leech's build-gnuradio script.
The only problem is that when I am searching for any WX GUI Widgets, I can only 
see WX GUI Static Text, WX GUI Time Panel and WX DOA Compass.
As you've already found out, this probably means that some dependencies were 
missing.
In fact, of the three you list, only the static text widget is part of GNU 
Radio itself, so what you're seeing is possibly remains of an older 
installation. Are you sure you don't have any gnuradio package from your linux 
distribution installed?
Based on a previous discussion on that mailing list I also installed WXPython 
(2.8) but the problem remains.
Did you re-build GNU Radio after that? Otherwise, the GUI blocks could not have 
been built, and installed.

Most probably, the log file that was generated during your GNU Radio 
compilation contains more information; it's called CMakeOutput.log and should 
be in /gnuradio/build/CMakeFiles/

Also, the output of "gnuradio-config-info -v --enabled-components" would be 
interesting.

Greetings,
Marcus

On 03/14/2015 02:03 PM, NIKOS BIZANIS wrote:
Hi everyone,

I downloaded and built GNU Radio from sbrac.org, and it operates normally. The 
only problem is that when I am searching for any WX GUI Widgets, I can only see 
WX GUI Static Text, WX GUI Time Panel and WX DOA Compass. Based on a previous 
discussion on that mailing list I also installed WXPython (2.8) but the problem 
remains.

Any ideas?

Thank you,
Nikos



___
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] cmake error: cant find gnuradio_runtime_libraries

2015-03-14 Thread Abhishek Shukla
Hey Marcus,
I am trying to build my own custom block in gnuradio, with the help of
following link
"http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules and
https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig
https://www.youtube.com/watch?v=BW8o9ZgFJ5I";
But i am stuck with an error while cmake

abhishek@abhishek-Inspiron-N5110:~/gr-howto/build$ cmake ../
-- The CXX compiler identification is GNU 4.8.2
-- The C compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'gnuradio-runtime'
--   package 'gnuradio-runtime' not found
-- Could NOT find GNURADIO_RUNTIME (missing:  GNURADIO_RUNTIME_LIBRARIES)
-- checking for module 'cppunit'
--   found cppunit, version 1.13.1
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
CMake Error at CMakeLists.txt:98 (message):
  GnuRadio Runtime required to compile howto


-- Configuring incomplete, errors occurred!

In order to trouble shoot.
I reinstall gnuradio from apt-get install, later i install all the
dependencies from the source. Even I build the gnuradio script from "
http://www.sbrac.org/files/build-gnuradio";
Will you help me out with this..
my gnuradio version is:
abhishek@abhishek-Inspiron-N5110:~$ gnuradio-config-info --version
3.7.2.1.
abhishek@abhishek-Inspiron-N5110:~$ which gr_modtool
/usr/bin/gr_modtool
and Os Ubuntu 14.04

I am just in the learning phase of gnuradio and usrp so, please help me
with this,
Thanks in advance,
Abhishek
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] cmake error: cant find gnuradio_runtime_libraries

2015-03-14 Thread Marcus Müller
Do you have GNU Radio correctly installed?
this looks like you don't, or you have an old installation (GNU Radio 3.6).
Check by running "gnuradio-config-info --version".


On 03/14/2015 04:36 PM, Abhishek Shukla wrote:
> Hey Marcus,
> I am trying to build my own custom block in gnuradio, with the help of
> following link
> "http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules and
> https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig
> https://www.youtube.com/watch?v=BW8o9ZgFJ5I";
> But i am stuck with an error while cmake
>
> abhishek@abhishek-Inspiron-N5110:~/gr-howto/build$ cmake ../
> -- The CXX compiler identification is GNU 4.8.2
> -- The C compiler identification is GNU 4.8.2
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Build type not specified: defaulting to release.
> -- Boost version: 1.55.0
> -- Found the following Boost libraries:
> --   filesystem
> --   system
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
> -- checking for module 'gnuradio-runtime'
> --   package 'gnuradio-runtime' not found
> -- Could NOT find GNURADIO_RUNTIME (missing:  GNURADIO_RUNTIME_LIBRARIES)
> -- checking for module 'cppunit'
> --   found cppunit, version 1.13.1
> -- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl 
> CMake Error at CMakeLists.txt:98 (message):
>   GnuRadio Runtime required to compile howto
>
>
> -- Configuring incomplete, errors occurred!
>
> In order to trouble shoot.
> I reinstall gnuradio from apt-get install, later i install all the
> dependencies from the source. Even I build the gnuradio script from
> "http://www.sbrac.org/files/build-gnuradio";
> Will you help me out with this..
> my gnuradio version is:
> abhishek@abhishek-Inspiron-N5110:~$ gnuradio-config-info --version
> 3.7.2.1.
> abhishek@abhishek-Inspiron-N5110:~$ which gr_modtool
> /usr/bin/gr_modtool
> and Os Ubuntu 14.04
>
> I am just in the learning phase of gnuradio and usrp so, please help
> me with this,
> Thanks in advance,
> Abhishek
>
>
> ___
> 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] Majority of WX GUI Widgets missing from Companion

2015-03-14 Thread NIKOS BIZANIS
Hi eveyone again,

as an update to the issue I was facing, I re-built GNU Radio, just as Marcus 
suggested, but I still can't see the WX GUI Widgets in the Companion.

I can see the gr-wxgui folder in my gnuradio tree, but apparantly it is still 
not built along with the rest of the project, and I don't know what to do to 
make it work.

Thank you all,
Nikos



From: discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org 
[discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on behalf of 
NIKOS BIZANIS [n.biza...@student.tudelft.nl]
Sent: Saturday, March 14, 2015 3:40 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing from 
Companion


Hi Marcus,

it's probably remains from an older installation attempt I had made (using 
Pybombs), which failed. After that I used that script and it worked like a 
charm. So if I would just do a "./build-gnuradio" from my installation 
directory in order to build again, it would probably work, right?

Thanks for your help,
Nikos




From: discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org 
[discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on behalf of 
Marcus Müller [marcus.muel...@ettus.com]
Sent: Saturday, March 14, 2015 2:45 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing from 
Companion

Hi Nikos

I downloaded and built GNU Radio from sbrac.org
ah, ok, I presume that means you used Marcus Leech's build-gnuradio script.
The only problem is that when I am searching for any WX GUI Widgets, I can only 
see WX GUI Static Text, WX GUI Time Panel and WX DOA Compass.
As you've already found out, this probably means that some dependencies were 
missing.
In fact, of the three you list, only the static text widget is part of GNU 
Radio itself, so what you're seeing is possibly remains of an older 
installation. Are you sure you don't have any gnuradio package from your linux 
distribution installed?
Based on a previous discussion on that mailing list I also installed WXPython 
(2.8) but the problem remains.
Did you re-build GNU Radio after that? Otherwise, the GUI blocks could not have 
been built, and installed.

Most probably, the log file that was generated during your GNU Radio 
compilation contains more information; it's called CMakeOutput.log and should 
be in /gnuradio/build/CMakeFiles/

Also, the output of "gnuradio-config-info -v --enabled-components" would be 
interesting.

Greetings,
Marcus

On 03/14/2015 02:03 PM, NIKOS BIZANIS wrote:
Hi everyone,

I downloaded and built GNU Radio from sbrac.org, and it operates normally. The 
only problem is that when I am searching for any WX GUI Widgets, I can only see 
WX GUI Static Text, WX GUI Time Panel and WX DOA Compass. Based on a previous 
discussion on that mailing list I also installed WXPython (2.8) but the problem 
remains.

Any ideas?

Thank you,
Nikos



___
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] Majority of WX GUI Widgets missing from Companion

2015-03-14 Thread Marcus Müller
Do you have the diagnostics I asked you for?

> Most probably, the log file that was generated during your GNU Radio
> compilation contains more information; it's called CMakeOutput.log and
> should be in /gnuradio/build/CMakeFiles/
>
> Also, the output of "gnuradio-config-info -v --enabled-components"
> would be i

Greetings,
Marcus


On 03/14/2015 08:38 PM, NIKOS BIZANIS wrote:
> Hi eveyone again, 
>
> as an update to the issue I was facing, I re-built GNU Radio, just as
> Marcus suggested, but I still can't see the WX GUI Widgets in the
> Companion.
>
> I can see the gr-wxgui folder in my gnuradio tree, but apparantly it
> is still not built along with the rest of the project, and I don't
> know what to do to make it work.
>
> Thank you all,
> Nikos
>
>
> 
> *From:* discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org
> [discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on
> behalf of NIKOS BIZANIS [n.biza...@student.tudelft.nl]
> *Sent:* Saturday, March 14, 2015 3:40 PM
> *To:* discuss-gnuradio@gnu.org
> *Subject:* Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing
> from Companion
>
> 
> Hi Marcus,
>
> it's probably remains from an older installation attempt I had made
> (using Pybombs), which failed. After that I used that script and it
> worked like a charm. So if I would just do a "./build-gnuradio" from
> my installation directory in order to build again, it would probably
> work, right?
>
> Thanks for your help,
> Nikos
>
>
>
>
> *From:* discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org
> [discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on
> behalf of Marcus Müller [marcus.muel...@ettus.com]
> *Sent:* Saturday, March 14, 2015 2:45 PM
> *To:* discuss-gnuradio@gnu.org
> *Subject:* Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing
> from Companion
>
> Hi Nikos
>>
>> I downloaded and built GNU Radio from sbrac.org
> ah, ok, I presume that means you used Marcus Leech's build-gnuradio
> script.
>> The only problem is that when I am searching for any WX GUI Widgets,
>> I can only see WX GUI Static Text, WX GUI Time Panel and WX DOA Compass.
> As you've already found out, this probably means that some
> dependencies were missing.
> In fact, of the three you list, only the static text widget is part of
> GNU Radio itself, so what you're seeing is possibly remains of an
> older installation. Are you sure you don't have any gnuradio package
> from your linux distribution installed?
>> Based on a previous discussion on that mailing list I also installed
>> WXPython (2.8) but the problem remains.
> Did you re-build GNU Radio after that? Otherwise, the GUI blocks could
> not have been built, and installed.
>
> Most probably, the log file that was generated during your GNU Radio
> compilation contains more information; it's called CMakeOutput.log and
> should be in /gnuradio/build/CMakeFiles/
>
> Also, the output of "gnuradio-config-info -v --enabled-components"
> would be interesting.
>
> Greetings,
> Marcus
>
> On 03/14/2015 02:03 PM, NIKOS BIZANIS wrote:
>> Hi everyone,
>>
>> I downloaded and built GNU Radio from sbrac.org, and it operates
>> normally. The only problem is that when I am searching for any WX GUI
>> Widgets, I can only see WX GUI Static Text, WX GUI Time Panel and WX
>> DOA Compass. Based on a previous discussion on that mailing list I
>> also installed WXPython (2.8) but the problem remains.
>>
>> Any ideas?
>>
>> Thank you,
>> Nikos
>>
>>
>> ___
>> 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] Majority of WX GUI Widgets missing from Companion

2015-03-14 Thread NIKOS BIZANIS
"gnuradio-config-info -v --enabled-components" results in an unrecognized 
option error for --enabled-components. I have attached the log you asked me for.



Thank you,

Nikos






From: discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org 
[discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org] on behalf of 
Marcus Müller [marcus.muel...@ettus.com]
Sent: Saturday, March 14, 2015 9:01 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing from 
Companion

Do you have the diagnostics I asked you for?

Most probably, the log file that was generated during your GNU Radio 
compilation contains more information; it's called CMakeOutput.log and should 
be in /gnuradio/build/CMakeFiles/

Also, the output of "gnuradio-config-info -v --enabled-components" would be i

Greetings,
Marcus


On 03/14/2015 08:38 PM, NIKOS BIZANIS wrote:
Hi eveyone again,

as an update to the issue I was facing, I re-built GNU Radio, just as Marcus 
suggested, but I still can't see the WX GUI Widgets in the Companion.

I can see the gr-wxgui folder in my gnuradio tree, but apparantly it is still 
not built along with the rest of the project, and I don't know what to do to 
make it work.

Thank you all,
Nikos



From: 
discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org
 
[discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org]
 on behalf of NIKOS BIZANIS 
[n.biza...@student.tudelft.nl]
Sent: Saturday, March 14, 2015 3:40 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing from 
Companion


Hi Marcus,

it's probably remains from an older installation attempt I had made (using 
Pybombs), which failed. After that I used that script and it worked like a 
charm. So if I would just do a "./build-gnuradio" from my installation 
directory in order to build again, it would probably work, right?

Thanks for your help,
Nikos




From: 
discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org
 
[discuss-gnuradio-bounces+n.bizanis=student.tudelft...@gnu.org]
 on behalf of Marcus Müller 
[marcus.muel...@ettus.com]
Sent: Saturday, March 14, 2015 2:45 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Majority of WX GUI Widgets missing from 
Companion

Hi Nikos

I downloaded and built GNU Radio from sbrac.org
ah, ok, I presume that means you used Marcus Leech's build-gnuradio script.
The only problem is that when I am searching for any WX GUI Widgets, I can only 
see WX GUI Static Text, WX GUI Time Panel and WX DOA Compass.
As you've already found out, this probably means that some dependencies were 
missing.
In fact, of the three you list, only the static text widget is part of GNU 
Radio itself, so what you're seeing is possibly remains of an older 
installation. Are you sure you don't have any gnuradio package from your linux 
distribution installed?
Based on a previous discussion on that mailing list I also installed WXPython 
(2.8) but the problem remains.
Did you re-build GNU Radio after that? Otherwise, the GUI blocks could not have 
been built, and installed.

Most probably, the log file that was generated during your GNU Radio 
compilation contains more information; it's called CMakeOutput.log and should 
be in /gnuradio/build/CMakeFiles/

Also, the output of "gnuradio-config-info -v --enabled-components" would be 
interesting.

Greetings,
Marcus

On 03/14/2015 02:03 PM, NIKOS BIZANIS wrote:
Hi everyone,

I downloaded and built GNU Radio from sbrac.org, and it operates normally. The 
only problem is that when I am searching for any WX GUI Widgets, I can only see 
WX GUI Static Text, WX GUI Time Panel and WX DOA Compass. Based on a previous 
discussion on that mailing list I also installed WXPython (2.8) but the problem 
remains.

Any ideas?

Thank you,
Nikos



___
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




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


[Discuss-gnuradio] Reading info from pmt_blob

2015-03-14 Thread Nicolas Cuervo Benavides
Hello all,

I'm new in GNURadio and right now I am understanding a little bit on how
the pmt work and how can it be read.

For that I'm taking this project as a base:
https://github.com/bastibl/gr-ieee802-15-4, working on the MAC layer
(modifying mac.cc and mac.h so far) and from here I want to extract the
sequence number of a frame that I am receiving from the physical layer.
When simulating, I see how the frame is created for Tx, as it can be read
clear as an output. Appart from other info, it includes the sequence number
of the frame and that is my main interest right now. However, in the Rx
part, I dont see it as bytes or as hexadecimal values, as it comes in a
coding that I'm missing where it comes from and how it is encoded. I tried
something like:

pmt::pmt_t received_frame = pmt::make_blob(pmt::blob_data(pmt::cdr(msg)) ,
data_len )

where msg is what I am receiving. However on the output I see my message in
the payload (not encoded = just as It can be written on the message strobe)
and a long header which I dont understand so far. I dont see a similarity
with the same frame from when it was sent and, therefore, I have not
managed how to retreive its sequence number.

Any help on how to decode this blob and also how to access to a certain
part of the frame only (in order to retreive the sequence number) would be
appreciated.

Thanks in advance!
Nicolás Cuervo
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Vector Source variable from file

2015-03-14 Thread Tom
Hi all,

 

I have a vector source that repeats and points to two variables A + B ,
within variable A is 1100 is it possible to have variable B point to a file
that contains a whole bunch of binary combinations separated line by line.

 

Ideally I would like to run a flow graph and upon every repeat cycle to go
down the list of possible combinations within the file for variable B.

 

Cheers

 

 

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


Re: [Discuss-gnuradio] Vector Source variable from file

2015-03-14 Thread Mike Markowski

Tom,

I'm new to gnuradio, so let's see if any replies offer better advice. 
But I did something similar to what you ask.  In my case, the value of 
the variable is a call to my python code.  You can see what I did in the 
top two examples at


  http://udel.edu/~mm/gr/

Both grc file and my code are there.  You can write something that pulls 
the numbers from your file.


Good luck,
Mike

On 03/14/2015 07:36 PM, Tom wrote:

Hi all,

I have a vector source that repeats and points to two variables A + B ,
within variable A is 1100 is it possible to have variable B point to a
file that contains a whole bunch of binary combinations separated line
by line.

Ideally I would like to run a flow graph and upon every repeat cycle to
go down the list of possible combinations within the file for variable B.

Cheers


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


Re: [Discuss-gnuradio] Vector Source variable from file

2015-03-14 Thread Tom
Thanks Mike,

I created python code to open the file which has the random data in in it
however unfortunately the vector source complains "can only concatenate list
(not module) to list, not quite sure what I'm doing wrong.

Will keep at it lol

-Original Message-
From: discuss-gnuradio-bounces+vsboost=hotmail@gnu.org
[mailto:discuss-gnuradio-bounces+vsboost=hotmail@gnu.org] On Behalf Of
Mike Markowski
Sent: Sunday, 15 March 2015 11:55 AM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Vector Source variable from file

Tom,

I'm new to gnuradio, so let's see if any replies offer better advice. 
But I did something similar to what you ask.  In my case, the value of the
variable is a call to my python code.  You can see what I did in the top two
examples at

   http://udel.edu/~mm/gr/

Both grc file and my code are there.  You can write something that pulls the
numbers from your file.

Good luck,
Mike

On 03/14/2015 07:36 PM, Tom wrote:
> Hi all,
>
> I have a vector source that repeats and points to two variables A + B 
> , within variable A is 1100 is it possible to have variable B point to 
> a file that contains a whole bunch of binary combinations separated 
> line by line.
>
> Ideally I would like to run a flow graph and upon every repeat cycle 
> to go down the list of possible combinations within the file for variable
B.
>
> Cheers

___
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] Vector Source variable from file

2015-03-14 Thread Tom
Ill just explain a little different, it may prompt somebody to say hey this
is easy just do this... ( I wish)

I have a variable called Data2, within this variable is S+S+S+L
Variable S is 1000
Variable L is 100

Data2 is feed into a vector source, this source looks like Data1+Data2
(repeat=yes) Data1 is static data.

I would like to cycle through all possible combinations of the variable
Data2 on each repeat cycle of the vector source.

S+S+S+S
S+S+S+L
S+S+L+L
S+L+L+L
L+L+L+L
L+S+S+S
L+S+S+L
Etc..
Etc..

-Original Message-
From: discuss-gnuradio-bounces+vsboost=hotmail@gnu.org
[mailto:discuss-gnuradio-bounces+vsboost=hotmail@gnu.org] On Behalf Of
Tom
Sent: Sunday, 15 March 2015 2:10 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Vector Source variable from file

Thanks Mike,

I created python code to open the file which has the random data in in it
however unfortunately the vector source complains "can only concatenate list
(not module) to list, not quite sure what I'm doing wrong.

Will keep at it lol

-Original Message-
From: discuss-gnuradio-bounces+vsboost=hotmail@gnu.org
[mailto:discuss-gnuradio-bounces+vsboost=hotmail@gnu.org] On Behalf Of
Mike Markowski
Sent: Sunday, 15 March 2015 11:55 AM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Vector Source variable from file

Tom,

I'm new to gnuradio, so let's see if any replies offer better advice. 
But I did something similar to what you ask.  In my case, the value of the
variable is a call to my python code.  You can see what I did in the top two
examples at

   http://udel.edu/~mm/gr/

Both grc file and my code are there.  You can write something that pulls the
numbers from your file.

Good luck,
Mike

On 03/14/2015 07:36 PM, Tom wrote:
> Hi all,
>
> I have a vector source that repeats and points to two variables A + B 
> , within variable A is 1100 is it possible to have variable B point to 
> a file that contains a whole bunch of binary combinations separated 
> line by line.
>
> Ideally I would like to run a flow graph and upon every repeat cycle 
> to go down the list of possible combinations within the file for 
> variable
B.
>
> Cheers

___
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