Re: [Discuss-gnuradio] Installation issues with gnuradio on Ubuntu 12.04

2014-05-24 Thread Ron Economos

On 5/23/2014 10:54 PM, Activecat wrote:


On Fri, May 23, 2014 at 11:28 PM, Ron Economos w...@comcast.net 
mailto:w...@comcast.net wrote:


Chose an install directory that makes sense
for you. /opt works well since it has the correct
permissions.

cd gnuradio
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/gnuradio ..
make
sudo make install

This will build GnuRadio and install it in /opt/gnuradio



Will this later cause problem with OOT created with earlier version of 
gr_modtool?
It seems that the /usr/local has been hard-coded into some files 
of the OOT, as shown below.
Hence the OOT installation may fail to put all necessary files 
correctly into /opt/gnuradio.


user1@pc1: ~/gnuradio/gr-mymodule1 $ grep -R /usr/local
cmake/Modules/FindGnuradioRuntime.cmake:PATHS /usr/local/include
cmake/Modules/FindGnuradioRuntime.cmake:PATHS /usr/local/lib
cmake/Modules/FindGnuradioRuntime.cmake:  /usr/local/lib64
cmake/Modules/FindCppUnit.cmake:/usr/local/include
cmake/Modules/FindCppUnit.cmake:/usr/local/lib
cmake/Modules/FindFFTW3.cmake:PATHS /usr/local/include
cmake/Modules/FindFFTW3.cmake:PATHS /usr/local/lib
cmake/Modules/FindFFTW3.cmake:PATHS /usr/local/lib
cmake/Modules/activecatConfig.cmake:  /usr/local/include
cmake/Modules/activecatConfig.cmake:  /usr/local/lib
cmake/Modules/activecatConfig.cmake:  /usr/local/lib64



Custom install locations do require some additional environment
setup. Sylvain gave me a nice shell script for that.

BASE=/opt/gnuradio
export PATH=${PATH}:${BASE}/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${BASE}/lib64
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${BASE}/lib64/pkgconfig
export PYTHONPATH=${PYTHONPATH}:${BASE}/lib64/python2.7/site-packages/

Just change the first line to the directory of  your custom install.
Setting PKG_CONFIG_PATH will resolve finding packages
in OOT builds. Remember to use the same custom install prefix
in the cmake of your OOT builds.

Ron


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


Re: [Discuss-gnuradio] Installation issues with gnuradio on Ubuntu 12.04

2014-05-24 Thread Activecat
On Sat, May 24, 2014 at 2:15 PM, Ron Economos w...@comcast.net wrote:

   Custom install locations do require some additional environment
 setup. Sylvain gave me a nice shell script for that.

 BASE=/opt/gnuradio
 export PATH=${PATH}:${BASE}/bin
 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${BASE}/lib64
 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${BASE}/lib64/pkgconfig
 export PYTHONPATH=${PYTHONPATH}:${BASE}/lib64/python2.7/site-packages/

 Just change the first line to the directory of  your custom install.
 Setting PKG_CONFIG_PATH will resolve finding packages
 in OOT builds. Remember to use the same custom install prefix
 in the cmake of your OOT builds.

 Ron


With above environment variables, do we still need to define the
CMAKE_INSTALL_PREFIX ?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Frequency modulation in GRC

2014-05-24 Thread jason sam
Another question related to my flowgraph  that when i use the' Frequency
Mod' block...then it will take the center frequency as 50Hz(the freq of the
signal coming in)??


On Fri, May 23, 2014 at 1:28 PM, Ron Economos w...@comcast.net wrote:

 I was experimenting with this the other day. I used
 the wide band FM modulator instead, since the
 deviation can be set. Here's the flow graph.

 http://www.w6rz.net/fmtest.grc

 The test audio files. sine01.wav is 0.1 Hz and
 sine15k.wav is 15000 Hz.

 http://www.w6rz.net/sine01.wav

 http://www.w6rz.net/sine15k.wav

 Some C code to generate audio files at other frequencies.

 http://www.w6rz.net/sine.c

 Ron



 On 5/22/2014 9:26 PM, jason sam wrote:

 Hi,
 I have made the flowgraph as attached..It is showing the modulation in
 scope but in fft block it's continuously changing  so I am still unable to
 find out that what are the max and min frequencies??I know how to find that
 in theory but i want to prove it from my results..


 ___
 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] How to change a master clock rate on USRP B210

2014-05-24 Thread jason sam
In the device parameter write 'set_master_clock_rate=30e6'


On Fri, May 23, 2014 at 9:08 PM, raf raf raf...@hotmail.fr wrote:

 Hello All Gnu Radio user,

 To use a 2 TX, I want to change a clock rate to an accepted one, under
 30.72 MHz. I use the API with uhd_usrp_probe and it works only for this
 command. Can you give me the idea or python code to use this argument
 parameter with a python flowgraph?

  --args=master_clock_rate=28

 Thanks.




 ___
 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] Frequency modulation in GRC

2014-05-24 Thread jason sam
Correction not 50 Hz but whatever the rate is after interpolation


On Sat, May 24, 2014 at 12:23 PM, jason sam user0...@gmail.com wrote:

 Another question related to my flowgraph  that when i use the' Frequency
 Mod' block...then it will take the center frequency as 50Hz(the freq of the
 signal coming in)??


 On Fri, May 23, 2014 at 1:28 PM, Ron Economos w...@comcast.net wrote:

 I was experimenting with this the other day. I used
 the wide band FM modulator instead, since the
 deviation can be set. Here's the flow graph.

 http://www.w6rz.net/fmtest.grc

 The test audio files. sine01.wav is 0.1 Hz and
 sine15k.wav is 15000 Hz.

 http://www.w6rz.net/sine01.wav

 http://www.w6rz.net/sine15k.wav

 Some C code to generate audio files at other frequencies.

 http://www.w6rz.net/sine.c

 Ron



 On 5/22/2014 9:26 PM, jason sam wrote:

 Hi,
 I have made the flowgraph as attached..It is showing the modulation in
 scope but in fft block it's continuously changing  so I am still unable to
 find out that what are the max and min frequencies??I know how to find that
 in theory but i want to prove it from my results..


 ___
 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] Frequency modulation in GRC

2014-05-24 Thread Marcus Müller
Ali,

again: there is no center frequency in a baseband simulation. Your
sawtooth-repeat combination will give you a step signal, where the
amplitude is constant for 500 items. All frequencies that you set are
only used to calculate what will happen in one sample.

The frequency mod is but an input amplitude controlled complex sine.
It outputs a signal, which has a momentary phase increase that is
proportional to sensitivity and input amplitude; see the doxygen
documentation for the frequency_modulator block.

Greetings,
Marcus

On 24.05.2014 09:47, jason sam wrote:
 Correction not 50 Hz but whatever the rate is after interpolation


 On Sat, May 24, 2014 at 12:23 PM, jason sam user0...@gmail.com wrote:

 Another question related to my flowgraph  that when i use the' Frequency
 Mod' block...then it will take the center frequency as 50Hz(the freq of the
 signal coming in)??


 On Fri, May 23, 2014 at 1:28 PM, Ron Economos w...@comcast.net wrote:

 I was experimenting with this the other day. I used
 the wide band FM modulator instead, since the
 deviation can be set. Here's the flow graph.

 http://www.w6rz.net/fmtest.grc

 The test audio files. sine01.wav is 0.1 Hz and
 sine15k.wav is 15000 Hz.

 http://www.w6rz.net/sine01.wav

 http://www.w6rz.net/sine15k.wav

 Some C code to generate audio files at other frequencies.

 http://www.w6rz.net/sine.c

 Ron



 On 5/22/2014 9:26 PM, jason sam wrote:

 Hi,
 I have made the flowgraph as attached..It is showing the modulation in
 scope but in fft block it's continuously changing  so I am still unable to
 find out that what are the max and min frequencies??I know how to find that
 in theory but i want to prove it from my results..


 ___
 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] Maximum supported frequency

2014-05-24 Thread Marcus Müller
Hi Mohamed,

 I was sure that is just related to what my machine can process
that's the opposite of what Martin said.
GNU Radio does not care the slightest about how high your sampling rate
is. Some blocks need this information to calculate relative frequence
(ie. frequencies related to the unit sample), but there is absolutely
no restriction that links your theoretical sampling rate to your
processing speed. If you start using hardware, then, of course, you'll
have to make sure that a) your sampling rate matches your application
and your hardware and b) your computer is able to process the samples
fast enough to keep everything running in real time.

Greetings,
Marcus

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


Re: [Discuss-gnuradio] Installation issues with gnuradio on Ubuntu 12.04

2014-05-24 Thread Ron Economos

On 5/23/2014 11:37 PM, Activecat wrote:


On Sat, May 24, 2014 at 2:15 PM, Ron Economos w...@comcast.net 
mailto:w...@comcast.net wrote:


Custom install locations do require some additional environment
setup. Sylvain gave me a nice shell script for that.

BASE=/opt/gnuradio
export PATH=${PATH}:${BASE}/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${BASE}/lib64
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${BASE}/lib64/pkgconfig
export PYTHONPATH=${PYTHONPATH}:${BASE}/lib64/python2.7/site-packages/

Just change the first line to the directory of  your custom install.
Setting PKG_CONFIG_PATH will resolve finding packages
in OOT builds. Remember to use the same custom install prefix
in the cmake of your OOT builds.

Ron


With above environment variables, do we still need to define the 
CMAKE_INSTALL_PREFIX ?



Yes, every time you build something, you need to use
CMAKE_INSTALL_PREFIX with cmake.

BTW, if you're going to use custom install directories,
you should uninstall any old version of GnuRadio in
/usr/local or /usr/. If there are remnants of GnuRadio
left in /usr/local or /usr, you'll most likely have problems.

Ron

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


Re: [Discuss-gnuradio] GSoC participant ; Introduction, progress, plan etc

2014-05-24 Thread Abhishek Bhowmick
New blog posts up related to VOLK kernels. Seeking comments and feedback.
http://abhishekbhowmick.blogspot.in/

On Sun, Apr 27, 2014 at 9:24 PM, Abhishek Bhowmick
abhowmic...@gmail.com wrote:
 Hi everyone,
 I have been selected for GSoC 2014 under GNU Radio. I will be working
 on VOLK over the summer - my project proposal and GSoC page are as
 follows :
 1. 
 https://github.com/abhowmick22/GSoc14-Proposal/blob/master/gsoc-proposal.pdf
 2. 
 https://www.google-melange.com/gsoc/project/details/google/gsoc2014/abhowmick22/5700735861784576

 Here are my essential details :
 Name :   Abhishek Bhowmick
 Google ID : AbhishekBhowmick22
 IRC nick :   abhowmick22
 University (will be joining) :   Carnegie Mellon University, USA
 Field of Study :Computer Science

 For documenting my progress, I will use a blog hosted at Blogger. Here
 is the link to my first post.
 http://abhishekbhowmick.blogspot.in/2014/04/gsoc-2014-performance-optimization-with.html
 I will keep updating the thread periodically with links to further posts.

 I will be using my Github to push the code I write.
 https://github.com/abhowmick22/gnuradio


 Looking forward to working with the community and eager to get started soon.

 Cheers,
 Abhishek

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


[Discuss-gnuradio] cmake problem

2014-05-24 Thread Mostafa Alizadeh
Hi,

I want to ask these questions about how to write cmake lists when we making
gr-xxx projects (modules) with gr_modtool:

1- How could I add dependencies of my project! For example I'm using a c++
library in one of my gr block, so how could I tell cmake to check the
dependency? I read GNURadio tutorial :
http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig
But it's confusing! (I'm using GNURadio 3.7.3)

2- How could I merge all of my gr-xxx modules to a single project with with
which I could cmake all the modules and *making* them? This is like
GNURadio source file which one has to cmake, make, install all the gr
modules together.

I know I must use:
*add_subdirectory(gr-xxx) *
in cmake lists but what are the other changes?

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


Re: [Discuss-gnuradio] Post Binary Slicer question

2014-05-24 Thread Andre Puschmann
Hi,

as I have mentioned a few weeks ago I was working on a GR module that
can be used for receiving and decoding messages sent from TI CC11xx
based devices.

I've now pushed a first version of it to my github repo [1]. It features
a 2-FSK receiver entirely built from stock GR blocks and a deframer with
a message output port that also does de-whitening and CRC checking.

Hope anybody else has use for it.

Cheers
Andre


[1] https://github.com/andrepuschmann/gr-cc11xx


On 02.05.2014 14:46, Andre Puschmann wrote:
 Hi,
 
 By chance I am also working on an OOT module for a CC1100-based device.
 I started out with a Python version as Michael also suggested, but now I
 am migrating it to C++. I actually plan working on it during the EU
 Hackfest next week in Karlsruhe.
 
 John, Jay, perhaps we can create a single module for this as those chips
 are very similar, something like gr-cc110x perhaps.
 
 Cheers,
 Andre
 
 
 
 On 30.04.2014 18:15, John Malsbury wrote:
 Jay,

 As it turns out I am working on an out-of-tree module to work with the
 CC1101, which I think I'll be able to release.  The number of possible
 formats for the frame are relatively few if you know they are using CRC
 and you know the packets aren't fixed length. (use_sequence_number?,
 use_address_field?).  By definition, we know there will be length field
 since these are not fixed length packets.  It would probably just make
 sense to test the handful of options until CRC passes.

 Of course, this changes if the device isn't taking advantage of CC1101s
 packet handling functionality, and instead the MCU is providing more
 than just the payload.  In such a case, there is potentially larger
 feature space for the frame.

 I'll let you know about the CC1101 OOT.

 -John


 On Wed, Apr 30, 2014 at 8:22 AM, Jay Radcliffe jay.radcli...@gmail.com
 mailto:jay.radcli...@gmail.com wrote:

 Maybe I should rephrase: I don't know the entire protocol. I know
 there is a preamble, and I know the sync word.  I know the packets
 are not fixed length, I know there is a CRC. This can all be
 determined from looking at the register settings for the CC1101
 chip.  The format of the data portion of transmission I do not know.
 In order to reverse that I need raw data for analysis. 

 That is how I am handling it right now.  I stream the output of the
 Correlate Access Code to a file sink.  What is in that file though
 is data, not readable binary stream (or readable hex stream). What I
 want is tcpdump like output. 

 Jay Radcliffe
 Twitter: @jradcliffe02
 E-Mail: jay.radcli...@gmail.com mailto:jay.radcli...@gmail.com
 LinkedIn + Resume: http://www.linkedin.com/in/jradcliffe02


 On Wed, Apr 30, 2014 at 9:09 AM, John Malsbury
 john.malsb...@ettus.com mailto:john.malsb...@ettus.com wrote:

 Jay,

 If you stream the output of the correlate access code to file,
 and you leave them unpacked, Bit 1 being set will show where the
 sync word is (I think the bit after).  Of course Bit 0 will be
 the data.  This assumes you're using correlate access code, and
 not correlate access code - tag.  This should allow you to
 store everything including the preamble. 

 Also, if you don't know the protocol, how do you know what the
 preamble is?

 -John


 On Tue, Apr 29, 2014 at 1:43 PM, Jay Radcliffe
 jay.radcli...@gmail.com mailto:jay.radcli...@gmail.com wrote:

 The protocol is unknown at this time.  I need to see the
 packets to figure some of this out. 

 Ideally, I would like to see the entire packet (including
 the preamble and sync word) to start to work my way to the
 format of the packets from there.  I am using the power
 squelch with the gate to limit the captures to just when a
 signal is over a certain strength. In a perfect world, I
 would like to have Binary Slicer - File Sink where the
 file contents are the binary stream (10101010101010 not to
 be confused for a binary file) or hex output (0xAA 0xAA).  I
 could probably tag the preamble in with the Correlate Access
 Code? 

 Jay Radcliffe
 Twitter: @jradcliffe02
 E-Mail: jay.radcli...@gmail.com mailto:jay.radcli...@gmail.com
 LinkedIn + Resume: http://www.linkedin.com/in/jradcliffe02


 On Sun, Apr 27, 2014 at 9:28 PM, John Malsbury
 john.malsb...@ettus.com mailto:john.malsb...@ettus.com
 wrote:

 Jay,

 Thanks for the inquiry.  Is there a specific protocol or
 format you are trying to work with?  Are the frame size
 fixed in length or variable?  The answers to these
 questions will dictate whether you can use an existing
 block or if you 

[Discuss-gnuradio] (no subject)

2014-05-24 Thread SHRIHARSHA BHAT K
Hi
I am trying to establish a simple link between two USRPs. My flow graph is
File_Source-PSK_MOD(BPSK)-USRP_sink
USRP_Source-PSK_Demod-pack_k_bits-File_Sink.
The received data is not matching with the source data. I removed the USRPs
and directly connected the PSK_MOD to PSK_DEMOD in flow gragh and compared
the data. First 50 bits were in error but rest of the data were exactly the
same after demodulation. I tried to add packet encoder in the transmitter
side before modulation and packet decoder after demodulation and ended with
nothing at the file sink. My question is why those first 50 bits are in
error? and why packet encoder doesnt work when the data is transfered over
the air? Any help would be appreciated
Thanks in advance

Warm Regards

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


Re: [Discuss-gnuradio] (no subject)

2014-05-24 Thread zielalaoui
hello SHRIHARSHA,
If your simulation looks good, try and see what's different about the
incoming signal on air as opposed to the simulation. Is the frequency offset
maybe too large? Is the received amplitude correct? Try mapping these into
your simulation and see where things start to fall apart. At this point, you
seem to have the basic setup correct and just need to continue to experiment
with the settings.
The packet decoder will work pefectly if the input signal of the demodulator
is good enough. The sample rate is also an issue, you should find the best
value for your application.
Zakaria




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/no-subject-tp48478p48479.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Announcing NEWSDR Event in Boston on Friday June 6

2014-05-24 Thread Golurk Hameshta
*
* Fourth-Annual *
*   *
* New England Workshop on Software-Defined Radio*
*  NEWSDR 2014  *
*   *
* Friday, 6 June 2014, 8:30 AM - 5:30 PM*
* Boston University, Photonics Center, 9th Floor*
*Boston, MA, USA*
*   *
*  http://www.sdr-boston.org/   *
*

  INVITATION TO PARTICIPATE

You are cordially invited to the 2014 New England Workshop
on Software Defined Radio (NEWSDR 2014), which is the fourth
installment of an annual series of workshops organized by
the Boston SDR User Group (SDR-Boston). This year NEWSDR
will be held on the 9th Floor of the Photonics Center of
Boston University on Friday 6 June 2014.

NEWSDR 2014 also features two technical oral presentation
sessions, several technical poster presentation sessions,
several hardware  demonstrations and SDR test-beds, and an
industry panel discussion, all focusing on the latest
advances in software-defined radio and/or cognitive radio
technology.

Please forward this message to your colleagues that may be
interested in NEWSDR'14.  We hope to see you there!

KEYNOTE SPEAKER:

  * Professor Jeffrey Reed, Virginia Tech
INVITED SPEAKERS:

  * Mr. Marcus Leech, Science Radio Laboratories / Shirleys Bay Radio
Astronomy Consortium

  * Dr. Zoran Zvonar, MediaTek Wireless Inc.
SPONSORS:

  * The MathWorks Inc.
  * National Instruments / Ettus Research
  * Analog Devices Inc.
  * MediaTek Wireless Inc.
  * Boston University, Center for Information and Systems Engineering
ORAL/POSTER PRESENTATIONS:

  * Oral and poster presentations are now being solicited
  * See link at the bottom of this email to submit your abstract
online!
REGISTRATION:

  * Free with advanced online pre-registration (lunch and parking
included)
  * Space is limited, so register soon!
  * See link at the bottom of this email to register online.
ADDITIONAL INFORMATION:

The latest information of this event can be found at the following
website: http://www.sdr-boston.org/ (under Workshops  NEWSDR 2014).
REGISTRATION LINK:

https://docs.google.com/forms/d/14e4GfEDrOaJJ0OLFWwZU4B79aR_Oi2NWkrXETnm1ijY/viewform
ORAL/POSTER ABSTRACT SUBMISSION LINK:

https://docs.google.com/forms/d/1ScEEjxvik8qh0wnMKydudjnCSJI2UBkNhvKeGWnXuYU/viewform
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Maximum supported frequency

2014-05-24 Thread mohamedx
Hi Martin,

I'm not sure that (what I've understood) was the opposite of what Martin
said, but anyway, I really appreciate your answer.
Could you please tell me where I can find more about this question ? and
where I can find the source code related to that sample unit ? so I can
see closely how the things were done.

Regards,
Mohamed




On Sat, May 24, 2014 at 12:44 PM, Marcus Müller-3 [via GnuRadio] 
ml-node+s4n48473...@n7.nabble.com wrote:

 Hi Mohamed,

  I was sure that is just related to what my machine can process
 that's the opposite of what Martin said.
 GNU Radio does not care the slightest about how high your sampling rate
 is. Some blocks need this information to calculate relative frequence
 (ie. frequencies related to the unit sample), but there is absolutely
 no restriction that links your theoretical sampling rate to your
 processing speed. If you start using hardware, then, of course, you'll
 have to make sure that a) your sampling rate matches your application
 and your hardware and b) your computer is able to process the samples
 fast enough to keep everything running in real time.

 Greetings,
 Marcus

 ___
 Discuss-gnuradio mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=48473i=0
 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://gnuradio.4.n7.nabble.com/Maximum-supported-frequency-tp48398p48473.html
  To unsubscribe from Maximum supported frequency, click 
 herehttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=48398code=bW9oYW1lZC5hYm91enJhckBnbWFpbC5jb218NDgzOTh8OTE5NzQwNDQ2
 .
 NAMLhttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 

*Graduate Student at Supélec, MSc, Advanced Wireless Communication Systems,*
*Élève ingénieur à l'INPT en mobilité internationale.*




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Maximum-supported-frequency-tp48398p48481.html
Sent from the GnuRadio mailing list archive at Nabble.com.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] cmake problem

2014-05-24 Thread Marcus Müller
Hi Mostafa,

first things first: If you're trying to use things from the GNU Radio
main tree, refer to [1].

If you want to use external libraries, you will need to modify the
CMakeLists.txt in your module directory and in  your lib/ directory.
In the main CMakeLists.txt you will find a paragraph starting with #
Find *** build dependencies; after that you'll see lines like
find_package(some_library); some_library matches a script
Findsome_library.cmake in the cmake/Modules subdirectory.
You might need to write your own, but most probably someone else has
already done that for you, and you can use his code.
This script will set some variables pointing to the header files and to
the linkable library; you will have to add these to the
include_directories(..) variable and link_directories(..), respectively.
In the lib/CMakeLists.txt, you will need to extend the variables of the
same names, and set the target_link_libraries accordingly (for both the
main library and the test).

To see a modern implementation of this with some interesting external
dependencies, maybe take a look at
http://git.osmocom.org/gr-fosphor/tree/ (CMakeLists.txt,
lib/CMakeLists.txt, cmake/Modules/) .

Greetings,
Marcus

[1]
http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig

On 24.05.2014 17:25, Mostafa Alizadeh wrote:
 Hi,

 I want to ask these questions about how to write cmake lists when we making
 gr-xxx projects (modules) with gr_modtool:

 1- How could I add dependencies of my project! For example I'm using a c++
 library in one of my gr block, so how could I tell cmake to check the
 dependency? I read GNURadio tutorial :
 http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig
 But it's confusing! (I'm using GNURadio 3.7.3)

 2- How could I merge all of my gr-xxx modules to a single project with with
 which I could cmake all the modules and *making* them? This is like
 GNURadio source file which one has to cmake, make, install all the gr
 modules together.

 I know I must use:
 *add_subdirectory(gr-xxx) *
 in cmake lists but what are the other changes?

 best,
 mostafa



 ___
 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] PSK mod/demod: errors in the first 50 bytes (was: Re: (no subject))

2014-05-24 Thread Marcus Müller
Hi Shriharsha,

As Zakaria already pointed out, since real channels are imperfect,
packet losses *must* occur.
The demod will need some samples to lock on to your rx signal, so losses
at start are to be expected.

I can only point you to some reference:
there is a GNU Radio Companion file in
gnuradio/gr-digital/examples/demod/ called dpsk_loopback.grc . That
should work.
You can insert a channel model in between mod and demod, and see what
happens. Increase channel influences (noise power, etc.) until they
match or exceed
what you'd expect from your real-world channel.
Later, split the flowgraph in halves and connect them to your USRP
sink/sources (don't forget to remove the throttle at that point).

Greetings,
Marcus

PS: For the future, when asking a question, please try to apply the
hints from
http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors .
This will make it much easier to help you :)
On 24.05.2014 18:51, zielalaoui wrote:
 hello SHRIHARSHA,
 If your simulation looks good, try and see what's different about the
 incoming signal on air as opposed to the simulation. Is the frequency offset
 maybe too large? Is the received amplitude correct? Try mapping these into
 your simulation and see where things start to fall apart. At this point, you
 seem to have the basic setup correct and just need to continue to experiment
 with the settings.
 The packet decoder will work pefectly if the input signal of the demodulator
 is good enough. The sample rate is also an issue, you should find the best
 value for your application.
 Zakaria




 --
 View this message in context: 
 http://gnuradio.4.n7.nabble.com/no-subject-tp48478p48479.html
 Sent from the GnuRadio mailing list archive at Nabble.com.

 ___
 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] Maximum supported frequency

2014-05-24 Thread Marcus Müller
Hi Mohamed,

I can not really point you to more reference than your basic (discrete)
signal theory textbook[1].
Basically, when processing sampled signals, time stops mattering, since
samples are but numbers. Thus, sample is no unit.
the notion that a digital signal has a frequency is only that it has
periodic properties every N samples --- that doesn't automatically match
to any real world frequency in Hz.
Thus, *every single line* of signal processing in GNU radio is based on
this concept, and there is no explicit code related to this.
But for example, take a look at the signal source: Computational, it
does not even *care* what you enter as frequency and sampling rate. It
just computes values, as fast as it can and as often as it's asked.
These samples, on the other hand, contain values with complex values on
the unit circle (|x| == 1). The rate at which the argument of each
sample increases in comparison to the last sample is the qoutient of
sample rate and desired signal frequency,
$\frac{f_\text{signal}}{f_\text{sample}}$. So if you set
$f_\text{signal} = \num{200}$ and $f_\text{sample} = \num{1000}$, you
will get the very same samples as when you set $f_\text{signal} =
\num{2e5}, f_\text{sample} = \num{1e6}$. GNU Radio doesn't care about
these numbers at all. All GNU Radio itself does is shuffle samples
around. Some blocks use frequencies to calculate what should happen for
one sample. Thus, sample is the unit (if you want to call it like that
at all).

This is the basic Software Radio concept most beginners find hard to
understand. When I started dealing with digital signals, it helped me a
lot to really do the sampling in my head --
to try to be always aware of the fact that I'm now working with a series
of numbers with indices rather than with a function of time. I don't
know if this really helps you...

Greetings,
Marcus

[1] GNU Radio's website has a page of recommended readings:
http://gnuradio.org/redmine/projects/gnuradio/wiki/SuggestedReading
Pick a book from the Digital Signal Processing list.

On 24.05.2014 21:34, mohamedx wrote:
 Hi Martin,

 I'm not sure that (what I've understood) was the opposite of what Martin
 said, but anyway, I really appreciate your answer.
 Could you please tell me where I can find more about this question ? and
 where I can find the source code related to that sample unit ? so I can
 see closely how the things were done.

 Regards,
 Mohamed




 On Sat, May 24, 2014 at 12:44 PM, Marcus Müller-3 [via GnuRadio] 
 ml-node+s4n48473...@n7.nabble.com wrote:

 Hi Mohamed,

 I was sure that is just related to what my machine can process
 that's the opposite of what Martin said.
 GNU Radio does not care the slightest about how high your sampling rate
 is. Some blocks need this information to calculate relative frequence
 (ie. frequencies related to the unit sample), but there is absolutely
 no restriction that links your theoretical sampling rate to your
 processing speed. If you start using hardware, then, of course, you'll
 have to make sure that a) your sampling rate matches your application
 and your hardware and b) your computer is able to process the samples
 fast enough to keep everything running in real time.

 Greetings,
 Marcus

 ___
 Discuss-gnuradio mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=48473i=0
 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://gnuradio.4.n7.nabble.com/Maximum-supported-frequency-tp48398p48473.html
  To unsubscribe from Maximum supported frequency, click 
 herehttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=48398code=bW9oYW1lZC5hYm91enJhckBnbWFpbC5jb218NDgzOTh8OTE5NzQwNDQ2
 .
 NAMLhttp://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





 ___
 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] FS: bladeRF x40

2014-05-24 Thread Joel
Hello all,

Up for sale is a bladeRFx40 in excellent working condition, purchased last
October.

1 x bladeRF x40 (http://www.nuand.com/blog/product/bladerf-x40/)
+ 1 x USB 3.0 SS cable
+ 1 x SMA cable
+ 1 x Acrylic cover kit by SK Pang (
http://skpang.co.uk/catalog/acrylic-cover-for-nuand-bladerf-board-p-1240.html
)

Reason for sale: Purchased 2 units for a recently completed project, and
currently have no need for an extra unit.

Price: £180, inclusive of next day shipping within the UK. Please contact
for worldwide shipping options.

Regards,

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


[Discuss-gnuradio] Nagoya NA-773 Whip Wide-Band Mod for SDR

2014-05-24 Thread Louis Brown
I have seen a few messages asking about small, cheap antennas to use for 
portable SDRs, considering the RF bandwidths can span two decades.  I found an 
SMA female, 12” telescoping whip and made a video showing how to remove the 
loading coil, along with the VSWR obtainable with an appropriate counterpoise 
(i.e. B200 or bladeRF sized PCB).  The OEM antenna (Nagoya NA-773) is very 
inexpensive and easy to mod with basic dremel and soldering skills.  VSWR of 
3:1 is obtainable from 200 MHz through 6 GHz, with the exception of 1.8 - 2.2 
GHz.  I’ll probably do a follow-up experiment to see if tuning can be done by 
receiving via a small, non-resnoant loop on the adjacent RX port.

https://www.youtube.com/watch?v=EFlhSkqZ9dE

Lou
KD4HSO


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