Re: [Discuss-gnuradio] Asking help about "gr-ieee802-11"

2015-01-28 Thread Activecat
hould I solve the problem then? Version info: sgku@mmu2: ~ $ echo $PYTHONPATH /usr/local/lib/python2.7/dist-packages sgku@mmu2: ~ $ uname -a Linux mmu2 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u1 i686 GNU/Linux sgku@mmu2: ~ $ cat /etc/debian_version 7.7 sgku@mmu2: ~ $ gnuradio-config-info -v

Re: [Discuss-gnuradio] Asking help about "gr-ieee802-11"

2015-01-29 Thread Activecat
x27;, fp, pathname, description) 23 finally: 24 fp.close() ImportError: dynamic module does not define init function (init_ieee802_11_swig) On Thu, Jan 29, 2015 at 4:02 PM, Bastian Bloessl wrote: > Hi, > > > On 29 Jan 2015, at 08:37, Activecat wrote: >

Re: [Discuss-gnuradio] Asking help about "gr-ieee802-11"

2015-01-29 Thread Activecat
roblem should have been fixed with the most recent commit > (3 days ago). > > > On 29 Jan 2015, at 09:15, Activecat wrote: > > > > Dear Sir, > > > > Thank you very much for your prompt response. > > I really appreciate your help. > > > > Refer

[Discuss-gnuradio] PSD in dBm/Hz

2015-03-04 Thread Activecat
Dear Sir, I am using USRP to receive signal, and then plot the signal using "WX GUI FFT Sink". I hope to get the vertical axis as "Power Spectral Density in dBm/Hz". Is there any way to do that? Regards. ___ Discuss-gnuradio mailing list Discuss-gnuradi

Re: [Discuss-gnuradio] PSD in dBm/Hz

2015-03-06 Thread Activecat
Dear Sirs, Thanks for the answers. Let me further elaborate. I could get what I want using Matlab, via below steps: 1). Using GRC flowgraph, connect the USRP Source to a File Sink. 2). Copy the file (says, test02.dat) to a PC running Matlab. 3). Using Matlab, run these commands: a). c

[Discuss-gnuradio] Failed to install gnuradio with PyBOMBS

2015-04-01 Thread Activecat
%] Built target _digital_swig make: *** [all] Error 2 Build failed. See output above for error messages. The complete installation log is at https://github.com/activecat/gnuradio/blob/master/installation_log_001.txt I am using Debian 7.8 64bit. Further details of system info is at https

Re: [Discuss-gnuradio] Failed to install gnuradio with PyBOMBS

2015-04-01 Thread Activecat
aprtr_cc_impl.cc.o] Error 1 make[1]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. The complete log is at https://github.com/activecat/gnuradio/blob/master/installation_log_003.txt Please advise, thank

Re: [Discuss-gnuradio] Failed to install gnuradio with PyBOMBS

2015-04-02 Thread Activecat
t; > http://www.w6rz.net/dvbt2_paprtr_cc_impl.cc > > w6rz.net is my personal website. > > Ron > > > On 04/01/2015 07:11 PM, Activecat wrote: > > Dear Sir, > > I have comment out the "#include ", but still has error, as > below: > > [ 80%] Bu

[Discuss-gnuradio] X Window System error

2015-04-08 Thread Activecat
Dear Sir, I've just install gnuradio using pybombs, and manually install the missing python-opengl using apt-get. Unfortunately below error occurs when I execute a flowgraph. Executing: "/home/sgku/Dropbox/gnuradio/gr-activecat/examples/jitter/top_block.py" Using Volk mach

Re: [Discuss-gnuradio] Asking help about "gr-ieee802-11"

2015-04-23 Thread Activecat
libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x6f99a4bee43009171bce9fa5457099aafaf2f753, stripped Thank you very much. On Thu, Jan 29, 2015 at 4:30 PM, Activecat wrote: > Dear Bastian, > > Yes, this solves all the problems. > I just get the current commit and recompile, everything works ! > Thank you ve

Re: [Discuss-gnuradio] Asking help about "gr-ieee802-11"

2015-04-23 Thread Activecat
lly seg faults but you don't see it in GRC). > You can use something like > > gdb python > run wifi_loopback.py > > and then do a backtrace (bt). > > See also > https://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsDebugging > > Best, > Bastian > >

[Discuss-gnuradio] BasicRX daughtercard for Ham Radio

2015-07-14 Thread Activecat
Dear Sir, Referring to [1], the correct daughtercard for HF Communications is LFRX and LFTX. As a Ham radio receiver, could BasicRX be used instead of LFRX? Regards, Activecat. [1]. http://www.ettus.com/content/files/kb/Selecting_an_RF_Daughterboard.pdf

[Discuss-gnuradio] set_mux() not available in gnuradio version 3.7

2013-12-16 Thread Activecat
oxygen-3.4/classusrp__standard__rx.html#aa98b7831a644635f19ee84a7ecd404b2 Thanks. Regards, activecat Email: active...@gmail.com ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] set_mux() not available in gnuradio version 3.7

2013-12-16 Thread Activecat
Yes, I mean, what is teh equivalent command in UHD API ..? How to control the MUX in the UHD API ? "set_mux()" On Tue, Dec 17, 2013 at 12:01 PM, Marcus D. Leech wrote: > On 12/16/2013 10:52 PM, Activecat wrote: > > Dear Sir, > > "bool set_mux( int mux );&q

Re: [Discuss-gnuradio] set_mux() not available in gnuradio version 3.7

2013-12-16 Thread Activecat
On Tue, Dec 17, 2013 at 12:01 PM, Marcus D. Leech wrote: > On 12/16/2013 10:52 PM, Activecat wrote: > > Dear Sir, > > "bool set_mux( int mux );" > > This command is supported by GNU Radio 3.4.2 C++ API > but not GNU Radio 3.7. > > In this case, how

Re: [Discuss-gnuradio] IEEE 802.11 a

2013-12-23 Thread Activecat
You may try your luck here: 1. https://www.cgran.org/wiki/BBN80211 but it runs on gnuradio version 3.1.1 2. MAC code by Uwicore lab http://www.uwicore.umh.es/ is unfortunately for gnuradio version 3.3 3. https://github.com/bastibl/gr-ieee802-11 runs on gnuradio 3.7 Let me know if you

[Discuss-gnuradio] undocumented SBX behavior

2013-12-30 Thread Activecat
Dear Sir, I run this command with SBX daughterboard on N210: /usr/local/lib/uhd/examples/tx_waveforms --freq 500e6 --wave-type SINE --wave-freq 5e3 --rate 10e6 What is performed at the SBX, does it multiply (Frequency Modulation) the 5kHz SINE wave with the 500MHz carrier frequency ..? Than

[Discuss-gnuradio] It must be defined inside the context of a function !

2014-01-15 Thread Activecat
Dear Sir, Below code will produce compilation error: 'input_sizes' does not name a type. This is because input_sizes must be assigned inside a context of a function in c++, right ? std::vector input_sizes; input_sizes.push_back(sizeof(float)); input_sizes.push_back(sizeof(double)); gr_sync_block

Re: [Discuss-gnuradio] It must be defined inside the context of a function !

2014-01-16 Thread Activecat
Regards. On Thu, Jan 16, 2014 at 4:14 PM, Marcus Müller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Activecat, > > you're right. Method calls (or function calls in general) such us > push_back can only take place in functions. That's why constr

[Discuss-gnuradio] wxWidgets

2014-01-18 Thread Activecat
Dear Sir, I am learning wxWidgets in order to use it with gnuradio. I find that WX GUI FFT Sink and WX GUI Scope Sink are programmed in python, not C++. Is this true? If yes, then I may just learn wxPython first. Please advise, thanks. Regards, activecat

[Discuss-gnuradio] gr_modtool makexml fails for block coded in python

2014-01-18 Thread Activecat
tching files in lib/: None found. Question: Does "gr_modtool makexml" work with block coded in python ? Regards, activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] constructor of block is not private

2014-01-22 Thread Activecat
Dear Sir, >From the documentation, the constructor of user-defined block is often private. But how come it is defined as public, refer below code. This is a typical code generated by gr_modtool: Filename: byte_source_impl.h /* -*- c++ -*- */#ifndef INCLUDED_HOWTO_BYTE_SOURCE_IMPL_H#define INCLUD

Re: [Discuss-gnuradio] constructor of block is not private

2014-01-23 Thread Activecat
"private" rather than leaving it in "public" ? Please advise, thanks. activecat On Thu, Jan 23, 2014 at 3:07 PM, Marcus Müller wrote: > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Activecat, > > the _impl classes are usually not instantiated b

[Discuss-gnuradio] External library for low pass filtering

2014-01-25 Thread Activecat
, dspfilterscpp, etc. ? Thank you very much. Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Sine wave of only 3 cycles

2014-01-30 Thread Activecat
Dear Sir, A block of Signal Source (Sine) generates sine wave continuously. How to make it just generates 3 wave-cycle and then stop generating immediately. At the end of the flow-graph there is a File Sink. This captures data for offline processing. Regards, active...@gmail.com _

Re: [Discuss-gnuradio] Sine wave of only 3 cycles

2014-01-30 Thread Activecat
Dear Sirs, Thank you very much. The "head" block solve my problem precisely. Note: The flow graph consists of some other blocks at the middle. Regards, activecat. On Thu, Jan 30, 2014 at 8:18 PM, Marcus Müller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > &g

[Discuss-gnuradio] QT GUI Time Sink Attribute Error

2014-01-30 Thread Activecat
AttributeError: 'gr_top_block_sptr' object has no attribute 'top_layout' >>> Done Please advise, thanks. Regards, activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Sine wave of only 3 cycles

2014-01-30 Thread Activecat
Block terminates the data stream? Regards, activecat On Thu, Jan 30, 2014 at 9:47 PM, Activecat wrote: > Dear Sirs, > > Thank you very much. > The "head" block solve my problem precisely. > > Note: > The flow graph consists of some other blocks at the middle. >

Re: [Discuss-gnuradio] wxGUI libraries in the GRC

2014-01-30 Thread Activecat
u use USRP networked series (eg. N210), make sure your PC has gigabit ethernet port (Fast ethernet does not work if you connect USRP N210 directly to your PC) Regards, activecat On Fri, Jan 31, 2014 at 7:48 AM, Yarlagadda, Anusha (337G) < anusha.yarlaga...@jpl.nasa.gov> wrote: > I just noti

Re: [Discuss-gnuradio] QT GUI Time Sink Attribute Error

2014-01-30 Thread Activecat
Dear Nick, I see, it is a value for "Generate Options" within the "Options" block. I get it, thanks. Regards, activecat On Fri, Jan 31, 2014 at 12:02 PM, Nick Foster wrote: > Upper left corner of your GRC flowgraph. Where it says Generate Options. > Change that to

[Discuss-gnuradio] Unable to stop the flow graph after calling stop()

2014-02-01 Thread Activecat
infinitely... Question: How to stop the flow graph when this->d_complete == true ? Below is my code in file: "lib/integer_source_impl.cc" #include #include "integer_source_impl.h" namespace gr { namespace activecat { integer_source::sptr integer_source::make(cons

Re: [Discuss-gnuradio] Stop GRC flow graph after defined time

2014-02-01 Thread Activecat
Dear Josh, Your method below doesn't work on GNU Radio v3.6.5.1 In this case, how to stop the flow graph in v3.6.5.1 ..? Thanks & regards, activecat Subject: Re: [Discuss-gnuradio] Stop GRC flow graph after defined time Date: Wed, 29 Sep 2010 08:33:49 -0700 User-agent: Mozilla/5.

Re: [Discuss-gnuradio] Stop GRC flow graph after defined time

2014-02-01 Thread Activecat
let the source block's work() method return 0? When it returns 0, the sceduler will still continue to call the source block's work() method repeatly. 3). Under what scenario we will need to use the stop() method ? (In python script we see stop() method quit often, but it see

Re: [Discuss-gnuradio] undocumented SBX behavior

2014-02-02 Thread Activecat
Dear Marcus, At the receiver USRP, does the SBX daughtercard have any mechanism of phase-lock-loop (PLL) ? I guess the daughtercard should have it because PLL is essential for quadrature downconversion. Please advise, thanks. Regards, activecat On Sat, Jan 11, 2014 at 1:19 PM, Marcus Leech

Re: [Discuss-gnuradio] Stop GRC flow graph after defined time

2014-02-02 Thread Activecat
derived from gr::sync_block". Why should sink block be categorised as sync block? Sync block is defined as block that has the same number of input items and output items, but sink block doesn't fulfill this condition (sink block has no output). Regards, activecat Note: My flow graph is very si

Re: [Discuss-gnuradio] Design_core_framework

2014-02-06 Thread Activecat
yes, refer http://gnuradio.org/doc/doxygen/index.html On Thu, Feb 6, 2014 at 8:26 PM, Siva Krishna wrote: > Hi, > I want to know about the design of gnu-radio. Any documents related to > that?. > > > > Thanks and Regards, > Siva Krishna > > ___ > Disc

[Discuss-gnuradio] How to specify a complex number in block: vector_source ?

2014-02-07 Thread Activecat
, activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] How to specify a complex number in block: vector_source ?

2014-02-07 Thread Activecat
Dear Marcus, Thanks, it accepts ( complex(1,2), complex(3,4), complex(5,6) ). The other two are not accepted, message: name 'j' is not defined. Nevertheless, that is good enough. Thanks. Regards, activecat On Sat, Feb 8, 2014 at 2:38 PM, Marcus Müller wrote: > -BEG

Re: [Discuss-gnuradio] How to specify a complex number in block: vector_source ?

2014-02-08 Thread Activecat
on can't understand. > > Greetings, > Marcus > > > On 08.02.2014 08:33, Activecat wrote: > > Dear Marcus, > > > > Thanks, it accepts ( complex(1,2), complex(3,4), complex(5,6) ). > > The other two are not accepted, message: name 'j' is no

[Discuss-gnuradio] gr_modtool makexml bugs

2014-02-08 Thread Activecat
Dear guru, This happens intermittently. Is this a bug? Command: gr_modtool makexml integer_sink2 Output: as below Regards, activecat $ gr_modtool makexml integer_sink2 GNU Radio module name identified: activecat Warning: This is an experimental feature. Don't expect any magic. Searchin

Re: [Discuss-gnuradio] gr_modtool makexml bugs

2014-02-09 Thread Activecat
Dear Martin, Let's refer related files as attached, thanks. List of attached files: integer_source.h integer_source_impl.h integer_source_impl.cc error_message (text file) Regards, activecat On Mon, Feb 10, 2014 at 1:19 AM, Martin Braun wrote: > On 08.02.2014 23:38, Activec

[Discuss-gnuradio] How to get t (time) to calculate output = sin ( 2 * PI * freq * t ) ?

2014-02-10 Thread Activecat
mpl * sin( 2 * PI * wave_freq * t ) } I know we there is a built-in Signal Source block, but I write this to illustrate what I need to do. Regards, activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mail

[Discuss-gnuradio] on the fly set_output_multiple()

2014-02-20 Thread Activecat
Any solution to this? The objective is to create an interpolator block that its interpolation factor could be changed on the fly. Thanks in advance. Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman

Re: [Discuss-gnuradio] on the fly set_output_multiple()

2014-02-20 Thread Activecat
noutput_items equals a value less than 3. This solves the problems ! Question: Does this function work on the fly?set_min_noutput_items() Thank you very much. Regards, Activecat On Fri, Feb 21, 2014 at 3:31 AM, Martin Braun wrote: > On 02/20/2014 01:46 PM, Activecat wrote: > > I need to

Re: [Discuss-gnuradio] Unable to stop the flow graph after calling stop()

2014-03-02 Thread Activecat
Dear Sir, Thank you very much. What if, we want to stop the flow graph in the constructor of a block? In work() we can just return -1. But in constructor, what value should be returned, also -1 ? Regards, Activecat On Sun, Feb 2, 2014 at 9:05 PM, Martin Braun wrote: > On 01.02.2014 13

Re: [Discuss-gnuradio] Unable to stop the flow graph after calling stop()

2014-03-03 Thread Activecat
ithin the constructor) Please advise, thanks. Regards, Activecat On Mon, Mar 3, 2014 at 5:25 PM, Marcus Müller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Activecat, > > the constructor of a block must have been called before the block has > been connec

Re: [Discuss-gnuradio] Unable to stop the flow graph after calling stop()

2014-03-03 Thread Activecat
Dear gurus, I got it, thank you very much ! Regards, Activecat On Mon, Mar 3, 2014 at 9:11 PM, Martin Braun wrote: > On 03/03/2014 12:37 PM, Marcus Müller wrote: > > Hi Activecat, > > > > as Miklos wrote: Let your Constructor throw an exception. > > For a litt

[Discuss-gnuradio] FFTW3 runtime error

2014-03-03 Thread Activecat
ine 18, in import activecat File "/usr/local/lib/python2.7/dist-packages/activecat/__init__.py", line 45, in from activecat_swig import * File "/usr/local/lib/python2.7/dist-packages/activecat/activecat_swig.py", line 26, in _ac

Re: [Discuss-gnuradio] FFTW3 runtime error

2014-03-03 Thread Activecat
The implementation header file is as below: #ifndef INCLUDED_ACTIVECAT_FFT1_IMPL_H #define INCLUDED_ACTIVECAT_FFT1_IMPL_H #include #include namespace gr { namespace activecat { class fft1_impl : public fft1 { private: int d_N; int d_direction; int d_shift

Re: [Discuss-gnuradio] FFTW3 runtime error

2014-03-04 Thread Activecat
Dear Marcus, Thank you very much. As according to your guideline, the runtime error has been solved. With some minor modification to the work() function, now the flow graph executes without any error. Cheers, Activecat On Tue, Mar 4, 2014 at 6:02 PM, Marcus Müller wrote: > -BEGIN

[Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-05 Thread Activecat
multiple() in python seems accepted, is it functional ..? Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-06 Thread Activecat
esn't change on the fly. The questions are: 1). Can we use this to change setting on the fly: set_min_noutput_items() 2). Is there any better workaround for this? Regards, Activecat On Thu, Mar 6, 2014 at 11:36 PM, Tom Rondeau wrote: > On Thu, Mar 6, 2014 at 2:12 AM, Activecat wr

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-07 Thread Activecat
terpolation factor (which is 800), if the set_output_multiple() doesn't work on the fly. If there is no better workaround, we have to stick to this trick at the moment. Regards, Activecat On Fri, Mar 7, 2014 at 6:00 PM, Marcus Müller wrote: > Hi Activecat, > > to answer qu

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-07 Thread Activecat
ut_multiple( d_iFactor ); set_min_noutput_items( d_iFactor ); } } Regards, Activecat On Sat, Mar 8, 2014 at 10:50 AM, Marcus Müller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Activecat, > > On 08.03.2014 03:34, Activecat wrote: > > Dear Marcus, &g

[Discuss-gnuradio] Graph plotting using wxPython

2014-03-07 Thread Activecat
o program this block correctly? (I am new to wxPython) Thanks & regards, Activecat Python code of the block: [code] #!/usr/bin/env python # -*- coding: utf-8 -*- import numpy from gnuradio import gr import wx class plotter1(gr.sync_block):

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-08 Thread Activecat
till doesn't produce correct output when d_iFactor changes on the fly. BTW I thought it is redundant to do this change, because as long as set_min_noutput_items(d_iFactor) works on the fly, the scheduler will not ask for less than iFactor samples. Correct..? Regards, Activecat On Sat, Mar 8

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-08 Thread Activecat
MESSAGE----- > Hash: SHA1 > > Hi Activecat, > > your std::min should be a std::max :) would you try with that? > > On 08.03.2014 12:30, Activecat wrote: > > > BTW I thought it is redundant to do this change, because as long > > as set_min_noutput_items(d_iFactor) wo

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-08 Thread Activecat
Dear Marcus, > 2). Regarding the returning 0 issue, let me share my experience of > > experiments. I am creating a custom interpolation block with its > > interpolation factor can be changed on the fly. Hence it is > > inherited from gr::block. It has one input port and one output > > port. Dur

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-08 Thread Activecat
Dear Marcus, > Meanwhile, as you had advised, I had tried to see the parameters > that forecast() and general_work() are called with. Refer below > verbose message. When the flow chart started, the initial values > are samp_rate=32k, change_rate=64; hence d_iFactor = 32k/64 = 500. > At line 24 the

Re: [Discuss-gnuradio] self.set_min_noutput_items() is not a valid python command in gnuradio ?

2014-03-08 Thread Activecat
=0b in your output; > this indicates some arithmetic error in your work. > However, this leaves the scope of this thread, so I suggest we close > the discussion here. Sure, let's end this thread. Thanks for the help. Thank you very much. Regards, Activecat __

Re: [Discuss-gnuradio] Need help to understand code of sync:decimator block

2014-03-08 Thread Activecat
5,6,7 4th output = average of 4,5,6,7,8 Obviously what you want is not "moving average". If you really want moving average, then only you need "set_history()". Regards, Activecat On Sat, Mar 8, 2014 at 7:03 PM, kunal sankhe wrote: > Hello Marcus, > > Sorry for

[Discuss-gnuradio] Should return the number of input or the number of output?

2014-03-08 Thread Activecat
reated by gr_modtool has the work() function return the number of output items (noutput_items). It sounds contradict. Is there any error happening? Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/m

Re: [Discuss-gnuradio] Should return the number of input or the number of output?

2014-03-10 Thread Activecat
> > On 03/09/2014 04:58 AM, Activecat wrote: > > Dear Sir, > > > > A python sink block created by gr_modtool has below work() function, it > > returns the number of input items. > > > > def work(self, input_items, output_items): > >

Re: [Discuss-gnuradio] Should return the number of input or the number of output?

2014-03-10 Thread Activecat
Dear Martin, Apparently the consistency of code across different source files is more emphasized than its clarity in individual file. Nevertheless that is clear now, thanks. Regards, Activecat On Mon, Mar 10, 2014 at 9:18 PM, Martin Braun wrote: > OK, I admit I was unclear. Let's

Re: [Discuss-gnuradio] Python block, itemsize mismatch

2014-03-10 Thread Activecat
smatch before run-time). > The "float" and "gr_complex" data type in c++ usually match with "numpy.float32" and "numpy.complex64" in python. The "int" in c++ matches "numpy.int32" in python. So far I haven't encountered any exception

Re: [Discuss-gnuradio] Transmit from RF1, receive from RF2

2014-03-10 Thread Activecat
cs/manual/html/general.html#specifying-the-subdevice-to-use http://files.ettus.com/uhd_docs/manual/html/dboards.html Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Should return the number of input or the number of output?

2014-03-11 Thread Activecat
Yes I agree with you all. Everything are now clear and readable. Thank you very much. Regards, Activecat On Tue, Mar 11, 2014 at 5:08 PM, Marcus Müller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Well, it's basically the idea of not writing a special case fo

Re: [Discuss-gnuradio] looping with work() function

2014-03-11 Thread Activecat
n() function, but only the scheduler in the background. Please give specific examples of what you are trying to accomplish. Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] looping with work() function

2014-03-11 Thread Activecat
ain. Meanwhile, you want the block to count the number of inputs between the "start sign" and "ACK", and use this number to plot graph. Is this what you want? If yes then I am able to help you. Let's clarify your requirements first. Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] looping with work() function

2014-03-11 Thread Activecat
ample of such calculation formula. Now I am still in the midst of trying to understand your requirements correctly. Meanwhile, please do not top-post. Refer http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors#How-should-I-format-my-message Regards, Activecat __

Re: [Discuss-gnuradio] about matlab and Gnuradio

2014-03-12 Thread Activecat
On Thu, Mar 13, 2014 at 3:57 AM, Zan wrote: > Dear All, > > I have a general questions about matlab and GNUradio. Both of them are > support USRP N210, but i want to ask what is the strength of each other? I > guess matlab delays more than gnuradio, and has less open code. am I right? > Anyone has

Re: [Discuss-gnuradio] looping with work() function

2014-03-13 Thread Activecat
n. On Thu, Mar 13, 2014 at 1:42 PM, Sumedha Goyal wrote: >> Hi Activecat, > > This is true that I am trying to accomplish the same task that you have > mentioned . But the difference is: > > 1. I pass a threshold value to my "test_demo" block from the > "top_b

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-13 Thread Activecat
Dear Sylvain, >On Fri, Mar 14, 2014 at 2:17 PM, Sylvain Munaut <246...@gmail.com> wrote: > First thing, square waves have infinite bandwidth, the DAC can't > generate them properly, the ADC can't capture them properly and > they'll be modified by the IF filters. The effect of that is to "round > o

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-14 Thread Activecat
Dear Johnathan, On Fri, Mar 14, 2014 at 2:21 PM, Johnathan Corgan wrote: > On 03/13/2014 09:32 PM, Activecat wrote: > >> I try to send square wave from one USRP to another. >> The received signal at the receiver USRP is very different from what >> was being sent. >&

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-14 Thread Activecat
o flow graph, then this flow graph must be able to adjust the local oscillator of the SBX daughtercard, via softare. Does gnuradio flow graph have this capability? Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://li

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-14 Thread Activecat
ersion) produces another complex-based signal which cannot be transmitted through antenna. A physical antenna can only transmit real signal, not complex-based signal. Please clarify, thanks. Regards, Activecat > That is what SDR is all about--the signals are represented as > complex-baseband

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-14 Thread Activecat
Dear Marcus, Please avoid adding more confusions rather than clarities. > The term "upconversion" and "downconversion" are common terms used in the > radio engineering industry, but may not be common among other technical folks. In radio engineering industry, there are more than 1 type of upconv

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-15 Thread Activecat
On Sat, Mar 15, 2014 at 11:14 AM, Marcus D. Leech wrote: > The SBX does analog downconversion, nothing more. It knows nothing about > the incoming signal, and doesn't demodulate it in any way. > > That is what SDR is all about--the signals are represented as > complex-baseband (i/Q) format for pr

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-15 Thread Activecat
On Sat, Mar 15, 2014 at 4:05 PM, Sylvain Munaut <246...@gmail.com> wrote: >> There are no documentation of what SBX performs on incoming or >> outgoing signals. https://www.ettus.com/product/details/SBX > > IMHO Ettus is among the brands where there is the _least_ surprises > just because the exac

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-15 Thread Activecat
On Sat, Mar 15, 2014 at 5:14 PM, Sylvain Munaut <246...@gmail.com> wrote: >> You may refer to previous conversations. Do you agree with him that a >> simple quadrature downconverter doesn't need to care about clock drift >> because it just "simply downconverter and nothing more"? > > Yes ... > > C

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-15 Thread Activecat
. Sorry for any misunderstanding and offense arisen. Thank you very much. Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Failure of sending square wave over USRPs (back-to-back)

2014-03-15 Thread Activecat
I have found the answers. http://nutaq.com/en/blog/multi-channel-synchronization-fpga-based-daq-systems http://nutaq.com/en/blog/brief-overview-frequency-synchronization-ofdm On the Nutaq platforms (ZeptoSDR, PicoSDR) you can control VCXO voltage DAC from GNU Radio (and from FPGA user logic) to im

[Discuss-gnuradio] flowgraph reading keystrokes during execution

2014-03-25 Thread Activecat
Dear Sir, I am thinking of building simple chat application using gnuradio. PC#1 connecting to USRP#1, will send text message to PC#2 via USRP#2. The question is, how to get the user keystrokes from the flowgraph at PC#1 ? I am building the flowgraphs using GRC (Companion). I guess I need to use

[Discuss-gnuradio] std::cin inside work()

2014-03-26 Thread Activecat
Dear sir, Why below custom block doesn't work..? int console1_impl::work( int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) { int *out = (int *) output_items[0]; int x; std::

Re: [Discuss-gnuradio] std::cin inside work()

2014-03-26 Thread Activecat
Thank you very much. On Wed, Mar 26, 2014 at 5:43 PM, Martin Braun wrote: > On 03/26/2014 09:17 AM, Activecat wrote:> Dear sir, >> Why below custom block doesn't work..? > > Activecat, > > first, don't ask open questions like this. How do you know it's no

Re: [Discuss-gnuradio] flowgraph reading keystrokes during execution

2014-03-26 Thread Activecat
Thank you. On Wed, Mar 26, 2014 at 5:54 PM, Martin Braun wrote: > On 03/26/2014 04:26 AM, Activecat wrote: >> Dear Sir, >> >> I am thinking of building simple chat application using gnuradio. >> PC#1 connecting to USRP#1, will send text message to PC#2 via USRP#2. >

[Discuss-gnuradio] GRC vs python flow-graph by hand

2014-04-12 Thread Activecat
Dear Sir, As an amateur I use GRC to create flow-graphs, but I see many other users create their flow-graphs in python by hand. In what kind of cases the flow graphs must be coded by hand ? (where GRC couldn't accomplish the task) ___ Discuss-gnuradio m

Re: [Discuss-gnuradio] GRC vs python flow-graph by hand

2014-04-12 Thread Activecat
unlock), integration with Python libraries and so on. > > > On Sat, Apr 12, 2014 at 9:25 PM, Activecat wrote: > >> Dear Sir, >> >> As an amateur I use GRC to create flow-graphs, but I see many other users >> create their flow-graphs in python by hand. >> >> In wh

Re: [Discuss-gnuradio] GRC vs python flow-graph by hand

2014-04-14 Thread Activecat
t;> On Sun, Apr 13, 2014 at 1:10 AM, Activecat wrote: >> >>> It seems that in normal usage the GRC is able to accomplish most of the >>> tasks without modifying the python flow-graph by hand... >>> >> >> Generally, we move away from GRC when we require

Re: [Discuss-gnuradio] GRC vs python flow-graph by hand

2014-04-14 Thread Activecat
On Mon, Apr 14, 2014 at 10:04 PM, Tom Rondeau wrote: > > On Sun, Apr 13, 2014 at 1:10 AM, Activecat wrote: > >> It seems that in normal usage the GRC is able to accomplish most of the >> tasks without modifying the python flow-graph by hand... >> > > General

Re: [Discuss-gnuradio] Best way to output decoded data to user

2014-04-15 Thread Activecat
On Tue, Apr 15, 2014 at 4:35 PM, Martin Braun wrote: > On 04/15/2014 06:14 AM, Francois Gervais wrote: > > I'm trying to figure out the best way to print the decoded data > > information of packets (received through gnuradio) to the user. File > > outputs are not really user friendly so I'm thinki

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-28 Thread Activecat
When I looked into the attached graphical flowgraph in the first email, the signal was multiplied by zero (constant multiplier) before feeding into file sink and audio sink. In this case what you get was probably amplified noise. Was it zero or something else? On Fri, Apr 25, 2014 at 11:54 PM, M

Re: [Discuss-gnuradio] Testing

2014-04-30 Thread Activecat
You should attached the files where you put the std::cout. The std::cout should be in the work() function. On Wed, Apr 30, 2014 at 11:07 AM, Sara Chérif wrote: > I am testing some blocks to understand the synchronization in ofdm . I > edited c++ files & put std::cout for all variables in > frequ

[Discuss-gnuradio] matplotlib runtime error

2014-05-02 Thread Activecat
160, in __gr_block_handle ) for i in self.__out_indexes], File "/usr/local/lib/python2.7/dist-packages/activecat/image_sink1.py", line 72, in work self.axes1.figure.canvas.draw() #pyplot.draw() File "/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py", l

Re: [Discuss-gnuradio] Testing

2014-05-02 Thread Activecat
On Fri, May 2, 2014 at 5:57 PM, Sara Chérif wrote: > Here is the file . I wrote std::cout in the work() , why I don't see the > output from this file on terminal after rebuilding ?! > It seems like the work() function is not called at all by the scheduler. Probably the ofdm sync block doesn't pr

Re: [Discuss-gnuradio] Should return the number of input or the number of output?

2014-05-03 Thread Activecat
Part of this question has been partially discussed, as below. On Mon, Mar 10, 2014 at 9:18 PM, Martin Braun wrote: > OK, I admit I was unclear. Let's try from scratch: > - The return function from work() or general_work() is the amount of > items that were *produced*. > Says, now I need to crea

Re: [Discuss-gnuradio] Should return the number of input or the number of output?

2014-05-04 Thread Activecat
On Sun, May 4, 2014 at 4:39 PM, Marcus Müller wrote: > Hi Activecat, > it's a sink. As Martin said, keep it a sync block. Overriding forecast > doesn't even make sense; why should the scheduler ask the block "I'd like > to have 2000 output items from you, how

Re: [Discuss-gnuradio] Should return the number of input or the number of output?

2014-05-04 Thread Activecat
On Mon, May 5, 2014 at 3:45 AM, Marcus Müller wrote: > Hi Activecat, > > On 04.05.2014 12:32, Activecat wrote: > > This sink block needs to produce an 8-bit integer from every 9 elements > it > > receives. > Ok, this explains where the mutual confusion stems from: >

Re: [Discuss-gnuradio] Python chaos

2014-05-05 Thread activecat
Tom Rondeau-2 wrote > Plus, PyQWT has stopped development and has even stated that they will > not support QWT6, which is a shame and will eventually cause us and > anyone else trying to use PyQWT real issues in the future. I've been > looking for an alternative to it. Will this affect gnuradio mo

[Discuss-gnuradio] apps/ directory

2014-05-07 Thread Activecat
Refer http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules#Structure-of-a-module "The apps/ subdir contains any complete applications (both for GRC and standalone executables) which are installed to the system alongside with the blocks." Question: I intend to store my flow-graphs i

  1   2   3   >