Re: [Discuss-gnuradio] Creation of a block (PSDU 29 octets) using message passing technique

2012-09-20 Thread Jose Torres Diaz
Hi Josh, I've been playing around with this block and indeed it was missing in the .i file . I included as: %include "extras_swig.i" //add on 21 Sept %include "extras_blobs.i" //add on 21 Sept <-- I added this line also Also, I tried to change other parameters, but the problem still ther

[Discuss-gnuradio] Building blocks of gnuradio-companion - GR file sink

2012-09-20 Thread Hussain, Mushabbar
Hi, We are trying to build a simulated model using the building blocks of gnuradio-companion tool. In the GRC model one of the blocks is the GR file sink block which is intended for storage of the data. Now the issue is that if the program is run for a longer period of time(say 40-60m mins) the

Re: [Discuss-gnuradio] frequent phase slip with the new digital.costas_loop_cc

2012-09-20 Thread Kyle Zhou
On 21/09/2012, at 12:45 AM, Tom Rondeau wrote: > On Thu, Sep 20, 2012 at 9:56 AM, Kyle Zhou wrote: >> I adapted my codes from gnuradio-3.3 to the new 3.6 version. >> One of the changes is the new digital.costas_loop_cc is now implemented >> based on control_loop. >> The costas loop is used for

[Discuss-gnuradio] tunnel.py problem

2012-09-20 Thread usrp n210
At first we able to run the tunnel.py with setting gr0 and then ping to specific machine. Now when we increase the distance little bit we are unable to ping the machine however if we use uhd_fft to see the signal we get the signal.please provide me some pointer related to this issue means how shoul

Re: [Discuss-gnuradio] gr_block::set_history()

2012-09-20 Thread Kyle Zhou
> I have a general work function for which I will use GNU Radio's history functionality. In the block's constructor, I call set_history( m ). I cast the input buffer in the standard way: const float *in = (const float *) input_items[0]; My question is wheere in[0] refers to in the buffer. It

Re: [Discuss-gnuradio] Why is my USRP N210 front panel LED E light blinking rapidly all the time?

2012-09-20 Thread Nick Foster
It's fine, ignore it. The LED is reflecting the fact that the internal oscillator is unlocked from the reference, which is normal when the device isn't being used. When you initialize it again next time, it'll lock up. --n On Thu, Sep 20, 2012 at 4:43 PM, LD Zhang wrote: > Hello, > > As a new u

[Discuss-gnuradio] Why is my USRP N210 front panel LED E light blinking rapidly all the time?

2012-09-20 Thread LD Zhang
Hello, As a new user I have just made the uhd_fft.py to display something. I use the LFRX daughter board for initial testing. I have a concern with the front panel LED E light. While the uhd_fft.py is working, both the LED C and E lights are on solidly which is expected. When shutting off the uhd_

Re: [Discuss-gnuradio] frequent phase slip with the new digital.costas_loop_cc

2012-09-20 Thread Kyle Zhou
On 21/09/2012, at 12:45 AM, Tom Rondeau wrote: > On Thu, Sep 20, 2012 at 9:56 AM, Kyle Zhou wrote: >> I adapted my codes from gnuradio-3.3 to the new 3.6 version. >> One of the changes is the new digital.costas_loop_cc is now implemented >> based on control_loop. >> The costas loop is used for p

[Discuss-gnuradio] gr_block::set_history()

2012-09-20 Thread cjpatton
I have a general work function for which I will use GNU Radio's history functionality. In the block's constructor, I call set_history( m ). I cast the input buffer in the standard way: const float *in = (const float *) input_items[0]; My question is wheere in[0] refers to in the buffer. It woul

Re: [Discuss-gnuradio] Creation of a block (PSDU 29 octets) using message passing technique

2012-09-20 Thread Josh Blum
On 09/20/2012 03:28 AM, Jose Torres Diaz wrote: > Hi Josh, > > I checked the code again. I am almost there, at this stage I don't get any > error using gnuradio::block in my .cc file (see below): > > : gnuradio::block ("test_temporal", > gr_make_io_signature (0, 0, 0), //This is a sour

Re: [Discuss-gnuradio] UHD replacement for write_fpga_reg

2012-09-20 Thread Colin Stagner
Josh, Thanks for your help, everything works now! The set_user_register() function appears to work perfectly with my USRP1. I'm going to submit my design to our sponsor for approval. If they approve, I will make it available for download in a few weeks once I finish cleaning up the code. Colin

Re: [Discuss-gnuradio] how to test sse2 support using cmake

2012-09-20 Thread Josh Blum
On 09/20/2012 09:37 AM, Kyle Zhou wrote: > Thanks Nick. Yes, I would like to migrate to volk and avoid all the > hassles. Need to take some time to learn volk first. Can I assume > volk can perform most of the intrinsics of sse2? Regards KZ On Checkout the next branch (which has the latest in v

Re: [Discuss-gnuradio] Using two daughter boards in USRP1.

2012-09-20 Thread Josh Blum
On 09/20/2012 09:46 AM, Sajjad Safdar wrote: > Hello, I am trying to use two daughter boards in one USRP1. I have > RFX400 on one side A and TVRX on side B. When i try to use two > seprate terminals to test the daughter cards in such a way that > RFX400 is transmitting and TVRX is recieving on th

Re: [Discuss-gnuradio] 2 complex receive channels on usrp n210

2012-09-20 Thread Anisha Gorur
I am getting complex data around my center frequency, but only on one channel, RXA shows the data, while RXB is just zeros. In my code, I have just added a few lines from rx_samples_to_file.cpp to rx_multi_samples.cpp to make rx_multi_samples write out to a file. This is with the subdevice specs A:

Re: [Discuss-gnuradio] frequent phase slip with the new digital.costas_loop_cc

2012-09-20 Thread Tom Rondeau
On Thu, Sep 20, 2012 at 9:56 AM, Kyle Zhou wrote: > I adapted my codes from gnuradio-3.3 to the new 3.6 version. > One of the changes is the new digital.costas_loop_cc is now implemented based > on control_loop. > The costas loop is used for phase recovery of a QPSK signal. > But I noticed that w

[Discuss-gnuradio] frequent phase slip with the new digital.costas_loop_cc

2012-09-20 Thread Kyle Zhou
I adapted my codes from gnuradio-3.3 to the new 3.6 version. One of the changes is the new digital.costas_loop_cc is now implemented based on control_loop. The costas loop is used for phase recovery of a QPSK signal. But I noticed that with the new version, the output experiences a lot of phase s

[Discuss-gnuradio] Using two daughter boards in USRP1.

2012-09-20 Thread Sajjad Safdar
Hello, I am trying to use two daughter boards in one USRP1. I have RFX400 on one side A and TVRX on side B. When i try to use two seprate terminals to test the daughter cards in such a way that RFX400 is transmitting and TVRX is recieving on the same USRP1 device using uhd_fft and benchmark_tx.p

Re: [Discuss-gnuradio] how to test sse2 support using cmake

2012-09-20 Thread Kyle Zhou
Yes, I did look at it. but that is too overwhelming to me so far. need to work harder :( On 17/09/2012, at 9:40 PM, Robert McGwier wrote: > How about looking at the libvolk components and see how SSE is done and mimic? > > On Sep 17, 2012 12:51 AM, "Kyle Zhou" wrote: > I have a block which dep

Re: [Discuss-gnuradio] how to test sse2 support using cmake

2012-09-20 Thread Kyle Zhou
Thanks Nick. Yes, I would like to migrate to volk and avoid all the hassles. Need to take some time to learn volk first. Can I assume volk can perform most of the intrinsics of sse2? Regards KZ On 18/09/2012, at 2:04 AM, Nick Foster wrote: > Kyle, > > This sounds like a job for VOLK! > > Seri

Re: [Discuss-gnuradio] GNURadio server is down?

2012-09-20 Thread Johnathan Corgan
On Thu, Sep 20, 2012 at 6:20 AM, Tom Rondeau wrote: > Looks like there was some interruption at our hosting service. I > received some emails in the middle of the night. But it's back up and > working now. > Best I could tell it was temporary network outage. Johnathan _

Re: [Discuss-gnuradio] GNURadio server is down?

2012-09-20 Thread Tom Rondeau
On Thu, Sep 20, 2012 at 4:42 AM, Ting Wu wrote: > Hi all, > > > > I cannot connect to GNURadio home page http://gnuradio.org/ > > And I cannot install GNURadio by build-gnuradio script. > > Is there something wrong? > > > > Wu Wu, Looks like there was some interruption at our hosting service. I

Re: [Discuss-gnuradio] variable sink in GRC

2012-09-20 Thread Martin Neerot
Hi! Use Probe Sink and Function Probe blocks. Martin On Thu, Sep 20, 2012 at 6:07 AM, widya agsari wrote: > i want to use variable sink block in GRC but i can`t find the block, could > you tell me how i find that? ___ Discuss-gnuradio mailing list D

[Discuss-gnuradio] GNURadio server is down?

2012-09-20 Thread Ting Wu
Hi all, I cannot connect to GNURadio home page http://gnuradio.org/ And I cannot install GNURadio by build-gnuradio script. Is there something wrong? Wu ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/li

Re: [Discuss-gnuradio] Creation of a block (PSDU 29 octets) using message passing technique

2012-09-20 Thread Jose Torres Diaz
Hi Josh, In order to add more information, I checked the the file asrp_swig.cc, which generates the error (line 8800) and I have the following: SWIGINTERN PyObject *_wrap_asrp_test_temporal_sptr_detail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; boost::shared

Re: [Discuss-gnuradio] Creation of a block (PSDU 29 octets) using message passing technique

2012-09-20 Thread Jose Torres Diaz
Hi Josh, I checked the code again. I am almost there, at this stage I don't get any error using gnuradio::block in my .cc file (see below): : gnuradio::block ("test_temporal", gr_make_io_signature (0, 0, 0), //This is a source - no inputs gr_make_io_signature(0, 0, 0),