Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 140, Issue 9

2014-07-10 Thread gsm voip

On 09-Jul-2014, at 9:31 pm, discuss-gnuradio-requ...@gnu.org wrote:

> Send Discuss-gnuradio mailing list submissions to
>   discuss-gnuradio@gnu.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> or, via email, send a message with subject or body 'help' to
>   discuss-gnuradio-requ...@gnu.org
> 
> You can reach the person managing the list at
>   discuss-gnuradio-ow...@gnu.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Discuss-gnuradio digest..."
> 
> 
> Today's Topics:
> 
>   1. Morse code (CW) decoder for GNURadio (Vanush Vaswani)
>   2. Re: unable to install gnuradio-3.4.2 (Ralph A. Schmid, dk5ras)
>   3. Re: No 'source' in Gnuradio Companion (Andre-John Mas)
>   4. BER measurement for QAM transmission with USRP   wirelessly
>  (Sun Wenbin)
>   5. 'Counts' in WX Scope Plot (jsam45)
>   6. Re: 'Counts' in WX Scope Plot (Marcus M?ller)
> 
> 
> --
> 
> Message: 1
> Date: Tue, 8 Jul 2014 20:10:34 +1000
> From: Vanush Vaswani 
> To: "discuss-gnuradio@gnu.org" 
> Subject: [Discuss-gnuradio] Morse code (CW) decoder for GNURadio
> Message-ID:
>   
> Content-Type: text/plain; charset=UTF-8
> 
> Dear all, I am looking for a morse code decoder for gnuradio, does
> anyone have a link?
> 
> Regards
> Vanush
> 
> 
> 
> --
> 
> Message: 2
> Date: Tue, 8 Jul 2014 11:19:24 +0200
> From: "Ralph A. Schmid, dk5ras" 
> To: 'Marcus M?ller' ,
>   
> Subject: Re: [Discuss-gnuradio] unable to install gnuradio-3.4.2
> Message-ID: <04c301cf9a8d$b631ffb0$2295ff10$@schmid.xxx>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Usually 3.4.2 is used when OpenBTS together with an USRP1 should work. BTDT
> :)
Yes correct Ralph, but when I am trying to install with downgraded python 
(before it was up and running on 2.6 while 12.04 comes with 2.7 pre installed) 
seeing lot of problems, I think main issue is with auto tools, as I upgraded 
python to 2.7 again but did not ./bootstrap, but direct ./configure, make and 
sudo make install, everything seems fine now
Thanks guys
> 
> 
> Ralph.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> From: discuss-gnuradio-bounces+ralph=schmid@gnu.org
> [mailto:discuss-gnuradio-bounces+ralph=schmid@gnu.org] On Behalf Of
> Marcus M?ller
> Sent: Monday, July 7, 2014 4:22 PM
> To: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] unable to install gnuradio-3.4.2
> 
> 
> 
> Hello um, nameless!
> 
> I could imagine that a lot of tools, possibly including py_compile have
> changed significantly since 3.4.2 (October 2011), although you also are
> using a strongly outdated Ubuntu, so things might still match.
> 
> The problem is that most people on here are actively developing and using
> recent versions of GNU Radio with state of the art operating systems, so it
> might be hard for us to reproduce your issue. You should try to downgrade
> your python and see if that helps, that's the only idea I can think of right
> now. There was an issue that was fixed around mid-2011 with the automake
> tools that revolved around the --destdir flag, but I can't really remember;
> that fix should, however, be included in Ubuntu 12.04.
> 
> There's too many things that changed since 3.4.2 since then. By the way: I'm
> not totally clear why you actually would want to use 3.4.2; the build system
> is intimidating compared to the current, CMake-based one, making error
> search a lot more painful, and many aspects of GNU Radio should still be
> compliant to 3.6.5, which is the preferred version to use if you're bound to
> the old pre-3.7 API.
> 
> All the best,
> Marcus
> 
> 
> 
> On 07.07.2014 15:36, gsmandvoip wrote:
> 
> Hi list,
> try to install older version of gnuradio (3.4.2 with gcc-4.4 on ubuntu
> 12.04) but after successful make, when trying make install, getting
> following errors:
> 
> 
> test -z "/usr/local/lib/python2.7/dist-packages/gruel/pmt" || /bin/mkdir -p
> "/usr/local/lib/python2.7/dist-packages/gruel/pmt"
> /usr/bin/install -c -m 644 pmt_swig.py
> '/usr/local/lib/python2.7/dist-packages/gruel/pmt'
> ../../../py-compile: Missing argument to --destdir.
> make[7]: *** [install-pmt_swig_pythonPYTHON] Error 1
> 
> 
> tried on Google a lot but no luck, please point out whats going wrong
> here???
> 
> 
> 
> 
> 
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org  
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> 
> 
> --
> 
> Message: 3
> Date: Tue, 8 Jul 2014 09:19:30 -0400
> From: Andre-John Mas 
> To: Martin Braun 
> Cc: "discuss-gnu

Re: [Discuss-gnuradio] gr-bluetooth

2014-07-10 Thread Martin Braun
On 07/10/2014 12:05 AM, Orin Lincoln wrote:
> I have encountered a segmentation fault issue in the
> gr::bluetooth::multi_block code (which all the other gr-bluetooth blocks
> use) that did not appear while running the included QA code (though I'm
> not sure how reliable the test code was). I've spent the past couple
> days trying to track down with GDB what exactly is going wrong, so that
> I can fix it (the code looks fine to me, nothing is standing out as a
> big issue). From what I've gathered so far, it appears the issue is with
> "gr_vector_void_star& out", an input to multi_block::channel_samples().
> I don't have a lot of experience with debugging, so if anyone has any
> suggestions about what to look for when tracking down segmentation
> faults (my understanding is that
> memory is being accessed which should not be accessed by the process), I
> would appreciate them.

If you build GNU Radio with debug symbols and follow the instructions on
http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsDebugging,
you can figure out exactly where the segfault is happening; that'll help
you fix the problem.

M

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


Re: [Discuss-gnuradio] 'Counts' in WX Scope Plot

2014-07-10 Thread Martin Braun
On 07/10/2014 05:33 AM, Vanush Vaswani wrote:
> I think 'Magnitude' is better than counts, which is just confusing.

There's a difference: 'Counts' implies the digital nature of the signal,
and 'Magnitude' cannot be negative. 'Amplitude' would work, but again,
that doesn't imply amplitude-discrete steps.

M

> 
> On Wed, Jul 9, 2014 at 7:19 PM, Sylvain Munaut <246...@gmail.com> wrote:
>> On Wed, Jul 9, 2014 at 11:09 AM, jsam45  wrote:
>>> The vertical axis in Scope Plot is labelled as Counts. What does it mean? 
>>> How
>>> is it related to the physical parameters of the signal like amplitude/power?
>>
>> It's dependent on your hardware.
>>
>> Basically 'count' is just the raw value and what that value means is
>> whatever the source block returned. It can be normalized between -1.0
>> and 1.0 or represent the raw adc value, and then what voltage the
>> represents depends on the ADC reference used in your hw. What power it
>> represent at the input depends on the total gain in the rx chain from
>> input to ADC ...
>>
>> All of that is out-of-scope for GR, you have to calibrate it out if
>> you want absolute/known units.
>>
>> Cheers,
>>
>>Sylvain
>>
>> ___
>> 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] Change the x-axis min and max values for QT GUI time sink block

2014-07-10 Thread jason sam
Yes i know that but it is used for zooming..actually my sink is not
showing the complete waveform as the time period of waveform is
greater than the max value on time axis,so i want to know how can i
expand my time axis??
Regards,
Ali

On Thu, Jul 10, 2014 at 2:19 PM, Martin Braun  wrote:
> On 07/09/2014 06:30 AM, jason sam wrote:
>> Hi all,
>> In WX GUI time sink when we roll the mouse over the plot we can change
>> the range of y-axis and x-axis but in QT GUI time sink it is not
>> changing in this way.We can set the range for y-axis in block
>> parameters but how can I change the x-axis min and max values for QT
>> GUI time sink block during run time??
>> regards,
>> Ali
>
> Hey Ali,
>
> you can just select the portion you want to see with the mouse.
>
> M
>
>
> ___
> 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] Change the x-axis min and max values for QT GUI time sink block

2014-07-10 Thread Martin Braun
On 07/10/2014 11:42 AM, jason sam wrote:
> Yes i know that but it is used for zooming..actually my sink is not
> showing the complete waveform as the time period of waveform is
> greater than the max value on time axis,so i want to know how can i
> expand my time axis??

You can set the number of points to show in the setup dialog.

M
> Regards,
> Ali
> 
> On Thu, Jul 10, 2014 at 2:19 PM, Martin Braun  wrote:
>> On 07/09/2014 06:30 AM, jason sam wrote:
>>> Hi all,
>>> In WX GUI time sink when we roll the mouse over the plot we can change
>>> the range of y-axis and x-axis but in QT GUI time sink it is not
>>> changing in this way.We can set the range for y-axis in block
>>> parameters but how can I change the x-axis min and max values for QT
>>> GUI time sink block during run time??
>>> regards,
>>> Ali
>>
>> Hey Ali,
>>
>> you can just select the portion you want to see with the mouse.
>>
>> M
>>
>>
>> ___
>> 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] Change the x-axis min and max values for QT GUI time sink block

2014-07-10 Thread Tom Rondeau
On Wed, Jul 9, 2014 at 12:30 AM, jason sam  wrote:

> Hi all,
> In WX GUI time sink when we roll the mouse over the plot we can change
> the range of y-axis and x-axis but in QT GUI time sink it is not
> changing in this way.We can set the range for y-axis in block
> parameters but how can I change the x-axis min and max values for QT
> GUI time sink block during run time??
> regards,
> Ali
>

Use the menu. Middle-click (or whatever the equivalent of a middle mouse
click, "Button3", is on your machine) to get access to the menu options.
Then you can set the "Number of Points" to display.

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


Re: [Discuss-gnuradio] 'Counts' in WX Scope Plot

2014-07-10 Thread Tom Rondeau
On Thu, Jul 10, 2014 at 5:23 AM, Martin Braun 
wrote:

> On 07/10/2014 05:33 AM, Vanush Vaswani wrote:
> > I think 'Magnitude' is better than counts, which is just confusing.
>
> There's a difference: 'Counts' implies the digital nature of the signal,
> and 'Magnitude' cannot be negative. 'Amplitude' would work, but again,
> that doesn't imply amplitude-discrete steps.
>
> M
>

I generally agree with Martin, though I'm also generally not pedantic about
this sort of thing. One issue to point out here, though, is that you /can/
change this. If you open up the options of the scope sink, the last
parameter is "Y Axis Label" and you can set it to whatever unit you like.
"Monkeys", for example.

Tom



> > On Wed, Jul 9, 2014 at 7:19 PM, Sylvain Munaut <246...@gmail.com> wrote:
> >> On Wed, Jul 9, 2014 at 11:09 AM, jsam45 
> wrote:
> >>> The vertical axis in Scope Plot is labelled as Counts. What does it
> mean? How
> >>> is it related to the physical parameters of the signal like
> amplitude/power?
> >>
> >> It's dependent on your hardware.
> >>
> >> Basically 'count' is just the raw value and what that value means is
> >> whatever the source block returned. It can be normalized between -1.0
> >> and 1.0 or represent the raw adc value, and then what voltage the
> >> represents depends on the ADC reference used in your hw. What power it
> >> represent at the input depends on the total gain in the rx chain from
> >> input to ADC ...
> >>
> >> All of that is out-of-scope for GR, you have to calibrate it out if
> >> you want absolute/known units.
> >>
> >> Cheers,
> >>
> >>Sylvain
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Error installing out-of-tree-module

2014-07-10 Thread Alex Weihkopf
Hello,

 

I have created two out-of-tree modules on my main computer. When I try to install them on another computer, one installation succeeds but the second module won't install.

 

I have no clue what the problem is. The error after 'cmake ../' and 'make' is:

 

...



[ 64%] Generating custom_ofdm_project_14_03_2014_swig_doc.i
[ 67%] Generating custom_ofdm_project_14_03_2014_swig.tag
[ 70%] Swig source
/usr/local/include/gnuradio/swig/runtime_swig.i:39: Error: Unable to find 'gnuradio/runtime_types.h'
/usr/local/include/gnuradio/swig/runtime_swig.i:71: Error: Unable to find 'gnuradio/endianness.h'
/usr/local/include/gnuradio/swig/feval.i:74: Error: Unable to find 'gnuradio/feval.h'
/usr/local/include/gnuradio/swig/feval.i:88: Error: Unable to find 'gnuradio/py_feval.h'
/usr/local/include/gnuradio/swig/tags.i:28: Error: Unable to find 'gnuradio/tags.h'
/usr/local/include/gnuradio/swig/block_gateway.i:42: Error: Unable to find 'gnuradio/block_gateway.h'
make[2]: *** [swig/custom_ofdm_project_14_03_2014_swigPYTHON_wrap.cxx] Error 1
make[1]: *** [swig/CMakeFiles/_custom_ofdm_project_14_03_2014_swig.dir/all] Error 2
make: *** [all] Error 2

 

Why does the second installation fail?

 

Regards,

Alex




 


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


Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 140, Issue 9

2014-07-10 Thread Marcus Müller
Hi GSM voip,

thanks for letting us know!

Greetings,
Marcus

Just a side note:
Please do not answer to the Digest, but to the individual thread itself,
or open up a new one. It's fairly hard to understand what you are
referring to, otherwise.


On 10.07.2014 09:23, gsm voip wrote:
> On 09-Jul-2014, at 9:31 pm, discuss-gnuradio-requ...@gnu.org wrote:
>
>> Send Discuss-gnuradio mailing list submissions to
>>  discuss-gnuradio@gnu.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> or, via email, send a message with subject or body 'help' to
>>  discuss-gnuradio-requ...@gnu.org
>>
>> You can reach the person managing the list at
>>  discuss-gnuradio-ow...@gnu.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Discuss-gnuradio digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Morse code (CW) decoder for GNURadio (Vanush Vaswani)
>>   2. Re: unable to install gnuradio-3.4.2 (Ralph A. Schmid, dk5ras)
>>   3. Re: No 'source' in Gnuradio Companion (Andre-John Mas)
>>   4. BER measurement for QAM transmission with USRP  wirelessly
>>  (Sun Wenbin)
>>   5. 'Counts' in WX Scope Plot (jsam45)
>>   6. Re: 'Counts' in WX Scope Plot (Marcus M?ller)
>>
>>
>> --
>>
>> Message: 1
>> Date: Tue, 8 Jul 2014 20:10:34 +1000
>> From: Vanush Vaswani 
>> To: "discuss-gnuradio@gnu.org" 
>> Subject: [Discuss-gnuradio] Morse code (CW) decoder for GNURadio
>> Message-ID:
>>  
>> Content-Type: text/plain; charset=UTF-8
>>
>> Dear all, I am looking for a morse code decoder for gnuradio, does
>> anyone have a link?
>>
>> Regards
>> Vanush
>>
>>
>>
>> --
>>
>> Message: 2
>> Date: Tue, 8 Jul 2014 11:19:24 +0200
>> From: "Ralph A. Schmid, dk5ras" 
>> To: 'Marcus M?ller' ,
>>  
>> Subject: Re: [Discuss-gnuradio] unable to install gnuradio-3.4.2
>> Message-ID: <04c301cf9a8d$b631ffb0$2295ff10$@schmid.xxx>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Usually 3.4.2 is used when OpenBTS together with an USRP1 should work. BTDT
>> :)
> Yes correct Ralph, but when I am trying to install with downgraded python 
> (before it was up and running on 2.6 while 12.04 comes with 2.7 pre 
> installed) seeing lot of problems, I think main issue is with auto tools, as 
> I upgraded python to 2.7 again but did not ./bootstrap, but direct 
> ./configure, make and sudo make install, everything seems fine now
> Thanks guys
>>
>> Ralph.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> From: discuss-gnuradio-bounces+ralph=schmid@gnu.org
>> [mailto:discuss-gnuradio-bounces+ralph=schmid@gnu.org] On Behalf Of
>> Marcus M?ller
>> Sent: Monday, July 7, 2014 4:22 PM
>> To: discuss-gnuradio@gnu.org
>> Subject: Re: [Discuss-gnuradio] unable to install gnuradio-3.4.2
>>
>>
>>
>> Hello um, nameless!
>>
>> I could imagine that a lot of tools, possibly including py_compile have
>> changed significantly since 3.4.2 (October 2011), although you also are
>> using a strongly outdated Ubuntu, so things might still match.
>>
>> The problem is that most people on here are actively developing and using
>> recent versions of GNU Radio with state of the art operating systems, so it
>> might be hard for us to reproduce your issue. You should try to downgrade
>> your python and see if that helps, that's the only idea I can think of right
>> now. There was an issue that was fixed around mid-2011 with the automake
>> tools that revolved around the --destdir flag, but I can't really remember;
>> that fix should, however, be included in Ubuntu 12.04.
>>
>> There's too many things that changed since 3.4.2 since then. By the way: I'm
>> not totally clear why you actually would want to use 3.4.2; the build system
>> is intimidating compared to the current, CMake-based one, making error
>> search a lot more painful, and many aspects of GNU Radio should still be
>> compliant to 3.6.5, which is the preferred version to use if you're bound to
>> the old pre-3.7 API.
>>
>> All the best,
>> Marcus
>>
>>
>>
>> On 07.07.2014 15:36, gsmandvoip wrote:
>>
>> Hi list,
>> try to install older version of gnuradio (3.4.2 with gcc-4.4 on ubuntu
>> 12.04) but after successful make, when trying make install, getting
>> following errors:
>>
>>
>> test -z "/usr/local/lib/python2.7/dist-packages/gruel/pmt" || /bin/mkdir -p
>> "/usr/local/lib/python2.7/dist-packages/gruel/pmt"
>> /usr/bin/install -c -m 644 pmt_swig.py
>> '/usr/local/lib/python2.7/dist-packages/gruel/pmt'
>> ../../../py-compile: Missing argument to --destdir.
>> make[7]: *** [install-pmt_swig_pythonPYTHON] Error 1
>>
>>
>> tried on Google a lot but no luck, please point out whats going wrong
>> here???
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org  
>> https://lists.gnu.org/mailman/list

Re: [Discuss-gnuradio] Error installing out-of-tree-module

2014-07-10 Thread Martin Braun
You didn't copy the build/ dirs too, by any chance?

M

On 07/10/2014 04:41 PM, Alex Weihkopf wrote:
> Hello,
>  
> I have created two out-of-tree modules on my main computer. When I try
> to install them on another computer, one installation succeeds but the
> second module won't install.
>  
> I have no clue what the problem is. The error after 'cmake ../' and
> 'make' is:
>  
> ...
> [ 64%] Generating custom_ofdm_project_14_03_2014_swig_doc.i
> [ 67%] Generating custom_ofdm_project_14_03_2014_swig.tag
> [ 70%] Swig source
> /usr/local/include/gnuradio/swig/runtime_swig.i:39: Error: Unable to
> find 'gnuradio/runtime_types.h'
> /usr/local/include/gnuradio/swig/runtime_swig.i:71: Error: Unable to
> find 'gnuradio/endianness.h'
> /usr/local/include/gnuradio/swig/feval.i:74: Error: Unable to find
> 'gnuradio/feval.h'
> /usr/local/include/gnuradio/swig/feval.i:88: Error: Unable to find
> 'gnuradio/py_feval.h'
> /usr/local/include/gnuradio/swig/tags.i:28: Error: Unable to find
> 'gnuradio/tags.h'
> /usr/local/include/gnuradio/swig/block_gateway.i:42: Error: Unable to
> find 'gnuradio/block_gateway.h'
> make[2]: *** [swig/custom_ofdm_project_14_03_2014_swigPYTHON_wrap.cxx]
> Error 1
> make[1]: ***
> [swig/CMakeFiles/_custom_ofdm_project_14_03_2014_swig.dir/all] Error 2
> make: *** [all] Error 2
>  
> Why does the second installation fail?
>  
> Regards,
> Alex
>  
> 
> 
> ___
> 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 don't found portaudio

2014-07-10 Thread Rodrigo Farias
Hi,
I'm installing version 3.7.3 on Ubuntu 14.04.

Cmake output:
.
.
.
-- Configuring gr-audio support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-audio support.
--   Override with -DENABLE_GR_AUDIO=ON/OFF
-- Found ALSA 1.0.27.2
-- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so
-- checking for module 'portaudio'
--   package 'portaudio' not found
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   date_time
--   program_options
--   filesystem
--   system
--   thread
.
.
.

I have this packages:
dpkg --get-selections | grep portaudio
libportaudio0install
libportaudio2:amd64install
libportaudiocpp0:amd64install
portaudio19-devinstall

Have I to install some more package?


Thanks you for your attention.

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


[Discuss-gnuradio] For Sale USRP N210 w/Daughterboards

2014-07-10 Thread Dean Ferraro
I'm selling my USRP N210 (Rev 4) along with the following daughterboards
together as a kit.

BasicRX 1-250 Mhz Rx
BasicTX 1-250 Mhz Tx
LFRX 0-30 Mhz Rx
WBX  0-2200 Mhz Tx/Rx
XCVR2450  2.4-2.5 GHz, 4.9-5.9 GHz Tx/Rx

Also includes MIMO cable, a few bulk head cables, power supply
extra hardware (screws / nuts etc..)

All in excellent condition.

$1800 for all +$25 for shipping/insurance within the US.

If interested please email me off list.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] How to reset the phase for subsequent sweeps from VCO?

2014-07-10 Thread Marcus Müller
Hi Khalid,

the VCO is phase-continous, so the starting phase of your sweep should
be continous with the end phase of your last sweep.
The block does not offer a way to reset its phase; out of the top of my
head there's also no easy "workaround" for this, only rather complex
solutions like constantly calculating the argument of the vco output,
sample_and_hold that argument on the sawtooth minimum, and dividing the
VCO output by the output of phase_modulator with the  sampled value as
input (which should shift everything by the -phase(t=t_sawtooth_minimum) ).

I think it might be easier for you to just copy the functionality of
vco_fc, but that would require programming a block in C++ or python
(preferably C++, because you could just copy&paste 90% of the
functionality from the original vco_fc.h, vco_fc_impl.{cc,h}), and I
don't know if that suits your level of GNU Radio knowledge.

With best regards,
Marcus Müller

On 10.07.2014 19:27, khalid.el-darymli wrote:
> Hi,
>
> I am using the VCO block in GRC to generate complex-valued sweeps with BW
> of 50 KHz and a sweep time of 1 second. The VCO is driven by the  sawtooth
> signal generator in GRC.
>
> The problem I am facing is that subsequent sweeps do not start at the same
> time. Each new sweep seems to have a random phase shift relevant to the
> other. Please see the attached figure which demonstrates the case for seven
> subsequent sweeps. This figure was generated in Matlab after saving the
> output of VCO to a binary file in GRC. Then, for the sampling frequency of
> 50 KHz, individual sweeps were resolved and superimposed on each other.
>
> My question is, how do I reset the phase of the VCO at the beginning of
> each new sweep?
>
> Thank you.
>
> Best regards,
> Khalid
>
>
>
> ___
> 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] Change the x-axis min and max values for QT GUI time sink block

2014-07-10 Thread Martin Braun
On 07/09/2014 06:30 AM, jason sam wrote:
> Hi all,
> In WX GUI time sink when we roll the mouse over the plot we can change
> the range of y-axis and x-axis but in QT GUI time sink it is not
> changing in this way.We can set the range for y-axis in block
> parameters but how can I change the x-axis min and max values for QT
> GUI time sink block during run time??
> regards,
> Ali

Hey Ali,

you can just select the portion you want to see with the mouse.

M


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


Re: [Discuss-gnuradio] How to reset the phase for subsequent sweeps from VCO?

2014-07-10 Thread Martin Braun
On 07/10/2014 07:27 PM, khalid.el-darymli wrote:
> Hi,
> 
> I am using the VCO block in GRC to generate complex-valued sweeps with
> BW of 50 KHz and a sweep time of 1 second. The VCO is driven by the 
> sawtooth signal generator in GRC.
> 
> The problem I am facing is that subsequent sweeps do not start at the
> same time. Each new sweep seems to have a random phase shift relevant to
> the other. Please see the attached figure which demonstrates the case
> for seven subsequent sweeps. This figure was generated in Matlab after
> saving the output of VCO to a binary file in GRC. Then, for the sampling
> frequency of 50 KHz, individual sweeps were resolved and superimposed on
> each other.
> 
> My question is, how do I reset the phase of the VCO at the beginning of
> each new sweep?

The block doesn't let you do that, and it probably shouldn't -- a "VCO"
has, by definition, a continuous phase.
If you want full control, you could use the phase_modulator block; but
remember you need to calculate what the phase is for a sweep beforehand
(you know integrate and that math stuff).

M


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


[Discuss-gnuradio] how to measure ber and snr

2014-07-10 Thread ??????????????
hi ,
how to measure ber and snr in gnuradio ?is there any blocks about this?
thanks,
bzs___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Change the x-axis min and max values for QT GUI time sink block

2014-07-10 Thread jason sam
Thanx got it!

On Thu, Jul 10, 2014 at 6:22 PM, Tom Rondeau  wrote:
> On Wed, Jul 9, 2014 at 12:30 AM, jason sam  wrote:
>>
>> Hi all,
>> In WX GUI time sink when we roll the mouse over the plot we can change
>> the range of y-axis and x-axis but in QT GUI time sink it is not
>> changing in this way.We can set the range for y-axis in block
>> parameters but how can I change the x-axis min and max values for QT
>> GUI time sink block during run time??
>> regards,
>> Ali
>
>
> Use the menu. Middle-click (or whatever the equivalent of a middle mouse
> click, "Button3", is on your machine) to get access to the menu options.
> Then you can set the "Number of Points" to display.
>
> Tom
>

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