Re: [Discuss-gnuradio] Sound input using mic / line in problem

2009-07-07 Thread Karthik Vijayraghavan
On Fri, Jul 3, 2009 at 1:05 PM, John Gilmore wrote: > > gr-audio-oss and gr-audio-jack. The sound module being used is > > snd_hda_intel. > > In my experience, there seem to be endless permutations of problems > with snd_hda_intel ("HD Audio"). Even in newer Linux releases like > Ubuntu 9.04. I

[Discuss-gnuradio] Sound input using mic / line in problem

2009-07-03 Thread Karthik Vijayraghavan
I am trying to run the audio_to_file.py example file to capture some audio signals. I plan to feed some slowly changing voltage signals through my mic/line in audio input and use those along with the USRP signals (after doing the necessary fractional resampling). I tried running the example with t

[Discuss-gnuradio] Amount of data lost per overrun in USRP1

2009-05-05 Thread Karthik Vijayraghavan
I am using a USRP1 to digitize 4 channels of data at a decimation of 32 using 2 LFRX. My computer can keep up with the digitizing for the most part but I get a relatively small number of overruns as well. I am using the trunk rev 10882 with default values for the fusb parameters. 1. What is the am

[Discuss-gnuradio] grc gr_delay.xml bug

2009-04-20 Thread Karthik Vijayraghavan
Hi, I think the gr_delay.xml should use gr.skiphead(int delay). Right now it uses gr.head(int delay) which just copies "delay" samples and signals done. Regards, Karthik ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/m

Re: [Discuss-gnuradio] Installing GNU radio

2008-12-16 Thread Karthik Vijayraghavan
> checking for GSL... no > gnuradio-core requires package gsl, not found. > Not building component gnuradio-core. > . > . > . > > I am using fedora 6. Any guidance or comments will be appreciated. > > Changkyu Seol You need the GNU scientific library "gsl" package since it is a pre-requisite for i

Re: [Discuss-gnuradio] Curious about USRP's durability

2008-11-27 Thread Karthik Vijayraghavan
On Thu, Nov 27, 2008 at 3:47 PM, Mir Ali <[EMAIL PROTECTED]> wrote: > Hi friends, > > Can anyone tell me how durable the USRPs are? Can I put them ON for hours > without worrying about damaging them in the process. I observed that the > daughter boards heat up after a while though not to a very hig

Re: [Discuss-gnuradio] Impedance Issue with the USRP/LFRX

2008-11-20 Thread Karthik Vijayraghavan
What is the output impedance of your preamplifier? I do similar data acquisition with the LFRX and I pass my signals through an op-amp buffer and through a 50ohm series resistor at the output so I get a gain of 0.5. That has always worked for me. You could test this out by hooking up a signal gene

Re: [Discuss-gnuradio] Where to start Beginners question

2008-11-19 Thread Karthik Vijayraghavan
On Wed, Nov 19, 2008 at 6:35 PM, Anand Gudimanchi <[EMAIL PROTECTED]> wrote: > Hello Experts, > > I am a beginner just to seek answers more from basics. Worse i am new to > Python and RF. So please can someone help me where to look for the signals > coming and out and where to look for documentatio

Re: [Discuss-gnuradio] Questions on writing your own block

2008-11-19 Thread Karthik Vijayraghavan
On Wed, Nov 19, 2008 at 10:08 AM, Jason Uher <[EMAIL PROTECTED]> wrote: > Hey all, > > I have written my own blocks in the past following the instructions > at http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html > and had success. However, today I am trying to implement a copy of >

Re: [Discuss-gnuradio] Accessing data in sink

2008-11-10 Thread Karthik Vijayraghavan
On Mon, Nov 10, 2008 at 4:04 PM, Mayank Goel <[EMAIL PROTECTED]> wrote: > Hi, > > I am confused about how to access the data that is present in the sink. I > mean that I need to send the sink data into some other component and need to > access all the contents. > > How can I do that? > > Thanks >

Re: [Discuss-gnuradio] Help: How to convert a *.mat file to binary file?

2008-11-07 Thread Karthik Vijayraghavan
On Fri, Nov 7, 2008 at 3:58 AM, Jorg Lotze <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-07 at 02:06 -0800, slimchao wrote: > > Hallo Everyone, > > > > I have generated some samples of a sinesoid from Matlab and want to > convert > > it to a binary file and use it as a source signal to the LFTX > d

Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format

2008-11-07 Thread Karthik Vijayraghavan
On Fri, Nov 7, 2008 at 6:21 AM, Bruhtesfa Godana <[EMAIL PROTECTED]> wrote: > Hey slimchao, > > Thanks for the reply! I tried gr.file_sink(). > It writes something in a txt file, but when I open it it is not in readable > format. > Is there something that I can do to make it a readable .txt forma

Re: [Discuss-gnuradio] Error while compiling a processing block

2008-10-31 Thread Karthik Vijayraghavan
ff ();" to "randsig_source_ff_sptr > randsig_make_source_ff (double sampling_freq);", and "randsig_source_ff > ();" > to "randsig_source_ff (double sampling_freq);" > > The same error messages are present. > > > > Karthik Vijayraghavan wr

Re: [Discuss-gnuradio] Error while compiling a processing block

2008-10-31 Thread Karthik Vijayraghavan
On Fri, Oct 31, 2008 at 6:16 PM, Francesco B. <[EMAIL PROTECTED]> wrote: > > Excellent! I've now got ./bootstrap functioning properly, and have narrowed > the error messages down to two in make, one of which seems like it may have > been triggered by the other: > > randsig_source_ff.h: In function

Re: [Discuss-gnuradio] LFRX not picking up close to DC

2008-10-31 Thread Karthik Vijayraghavan
> Thanks, that worked! For archival purposes here is the piece of code that > worked for me. It disables the DC offset correction from all 4 ADCs > > self.rx_src = usrp.source_c() > self.rx_src.set_dc_offset_cl_enable(int(0),int(15)) > > I hooked up a 2Hz sine wave with no DC offset to the USRP and

Re: [Discuss-gnuradio] usrp cant be built error while installing gnuradio 3.1.3

2008-10-31 Thread Karthik Vijayraghavan
> > --here are few lines from the run of > the > > command--- > Component usrp requires guile, which was not found. > You need this dependency, "

Re: [Discuss-gnuradio] LFRX not picking up close to DC

2008-10-29 Thread Karthik Vijayraghavan
On Wed, Oct 29, 2008 at 3:55 AM, Eric Blossom <[EMAIL PROTECTED]> wrote: > On Wed, Oct 29, 2008 at 03:41:19AM -0700, Karthik Vijayraghavan wrote: > > I am trying to use the LFRX daughterboard to record very low frequency > > signals in the range of ~DC to about 10Hz. To te

[Discuss-gnuradio] LFRX not picking up close to DC

2008-10-29 Thread Karthik Vijayraghavan
I am trying to use the LFRX daughterboard to record very low frequency signals in the range of ~DC to about 10Hz. To test this I hooked up a function generator to the USRP with an output impedance of 50 ohm. Since I wanted to get 4 channels simultaneously I loaded the "std_4rx_0tx.rbf" image and lo

[Discuss-gnuradio] updating 2D arrays or passing 2D arrays to blocks

2008-10-20 Thread Karthik Vijayraghavan
I am working on am imaging application where I get 3 inputs. A raw_signal which I need to image, an X signal and a Y signal. The X and Y signals tell me where I need to plot the signal that I receive. They correspond to voltages of a raster scanning system. The raw_signal goes into my block and bec

Re: [Discuss-gnuradio] ImportError: libgnuradio-core.so.0

2008-10-18 Thread Karthik Vijayraghavan
On Fri, Oct 17, 2008 at 9:07 PM, ML <[EMAIL PROTECTED]> wrote: > Hi there... > > > > I have this error appear when I try to run any examples: > > > > Traceback (most recent call last): > > File "./dial_tone.py", line 23, in > > from gnuradio import g

Re: [Discuss-gnuradio] error while loading shared libraries: libusrp.so.0

2008-10-13 Thread Karthik Vijayraghavan
after doing "make install" try a sudo /sbin/ldconfig Karthik On Mon, Oct 13, 2008 at 12:00 PM, Eric Blossom <[EMAIL PROTECTED]> wrote: > On Mon, Oct 13, 2008 at 11:45:43AM -0700, brandie wrote: >> >> I have the same problem in 3.1.3. >> I can see all these files but can not link the lib in C++. >

Re: [Discuss-gnuradio] Error with rev. 9728: libusrp2.so does not exist

2008-10-07 Thread Karthik Vijayraghavan
On Tue, Oct 7, 2008 at 3:01 PM, Kyle Pearson <[EMAIL PROTECTED]> wrote: > I downloaded rev. 9728 from the svn today and after installing it when > I tried to run find_usrps I got the following error: > > find_usrps: error while loading shared libraries: libusrp2.so.0: > cannot open shared object fi

[Discuss-gnuradio] Re: Accessing typedefs from python using swig

2008-10-05 Thread Karthik Vijayraghavan
Explicitly adding the typedef definition to the .i file solved the problem. Karthik On Sun, Oct 5, 2008 at 1:39 AM, Karthik Vijayraghavan <[EMAIL PROTECTED]> wrote: > This is probably more of a swig question. While writing my own block, > I have a couple of typedefs which I store i

Re: [Discuss-gnuradio] Adding my blocks to GRC

2008-10-05 Thread Karthik Vijayraghavan
Thanks ... that worked! Karthik On Fri, Oct 3, 2008 at 10:25 PM, Josh Blum <[EMAIL PROTECTED]> wrote: > #1st attempt at a guide to this > > http://gnuradio.org/trac/wiki/GNURadioCompanion#AddingCustomBlocks > > Karthik Vijayraghavan wrote: >> >> I installed gnur

[Discuss-gnuradio] Accessing typedefs from python using swig

2008-10-05 Thread Karthik Vijayraghavan
This is probably more of a swig question. While writing my own block, I have a couple of typedefs which I store in a separate .h file and include in the code for my block. What should I do to be able to access these types from within python? I have tried including the .h files in the swig .i files

Re: [Discuss-gnuradio] error in ./configure

2008-10-02 Thread Karthik Vijayraghavan
You need to have the "dev" packages for the dependencies. Do you have them? Karthik On Thu, Oct 2, 2008 at 6:54 PM, Prasant Misra <[EMAIL PROTECTED]> wrote: > > I downloaded the tarball gnuradio-3.1.3. > > When I run the ./configure, I get the error message: > > configure: error: cannot find usab

[Discuss-gnuradio] Adding my blocks to GRC

2008-09-30 Thread Karthik Vijayraghavan
I installed gnuradio from the trunk for using grc which is now bundled with gnuradio. I am trying to add my own block to the list of blocks that are available in grc. I saw a list of templates in gnuradio/grc/data/platforms/python/blocks/ . There are a whole bunch of block-templates there and I thi

[Discuss-gnuradio] Re: Dynamically changing parameters of a block

2008-09-28 Thread Karthik Vijayraghavan
On Sun, Sep 28, 2008 at 11:22 AM, Richard Jaeger <[EMAIL PROTECTED]> wrote: > Karthik: > > Here are some code segments that I borrowed and put together from > several of the gnu-radio examples. > > #Complex Multiply Block > > self.mc_2 = gr.multiply_const_cc(gain_2) > . > . > > #Gain Control Slider

[Discuss-gnuradio] Dynamically changing parameters of a block

2008-09-26 Thread Karthik Vijayraghavan
Suppose I have myblock = gr.multiply_const_ff(var_value) sitting somewhere in my flowgraph. I want the user to be able to change the value of var_value by using a slider. I know how to make a slider, but I am not able to find information on how to dynamically change the block at runtime. One option

[Discuss-gnuradio] Detecting end of a stream of samples in a block

2008-05-14 Thread Karthik Vijayraghavan
Hi All, I am trying to write a block which operates only if the number of input samples is a multiple of some fixed number "M". In general_work I have a statement int k = (int) ninput_items[0]/M //number of samples in input stream if (k<1) return 0; When I do "return 0", I am assuming that this

Re: [Discuss-gnuradio] Re: Re: Read samples from two channels and write to file

2008-04-24 Thread Karthik Vijayraghavan
On Thu, Apr 24, 2008 at 9:04 AM, George Nychis <[EMAIL PROTECTED]> wrote: > > > Diana Iosifescu wrote: > > > > fftsink.fft_sink_c(panel,title="ChRXB-A",fft_size=fftsize_N,sample_rate=rx_rate/sw_decim) > > TypeError: __init__() takes at least 3 non-keyword arguments (2 given) > > Exception exceptio

Re: [Discuss-gnuradio] Read samples from two channels and write to file

2008-04-23 Thread Karthik Vijayraghavan
On Wed, Apr 23, 2008 at 5:38 AM, Diana Iosifescu <[EMAIL PROTECTED]> wrote: > Hello, > I am a student at the University of Aveiro, Portugal and I have just > started working at a project with GNU Radio and the USRP board. > I have a question regarding the sample acquisition. > I need to read th

Re: [Discuss-gnuradio] how is the FPGA taking effect in USRP???!!!

2008-03-18 Thread Karthik Vijayraghavan
On Mon, Mar 17, 2008 at 9:07 PM, Eric Blossom <[EMAIL PROTECTED]> wrote: > On Mon, Mar 17, 2008 at 08:59:54PM -0700, Bill Stevenson wrote: > > Hello, everyone > > > > I dug up the wfm_rcv_gui.py example file in order to penetrate the > > principle of GNURadio. But I have 2 questions about it: > >

[Discuss-gnuradio] USRP and gnuradio as a data acquisition system

2008-02-25 Thread Karthik Vijayraghavan
Hi, I am trying to use the USRP and gnuradio as a data acquisition system for feedback control of my physics experiments on atomic force microscopy (AFM). I am using the LFRX and LFTX daughterboards for my system. The bandwidth that I am interested is DC ~ 1-2 MHz. I'll be getting in 4 analog inp

Re: [Discuss-gnuradio] Problem: Accessing RX-B of the basic Rx daughterboard

2008-02-11 Thread Karthik Vijayraghavan
Jason, Ah this is exactly what I have been grappling with as well. Basically you need to set the MUX _such that_ you can access the two setting simultaneously. If you have the gnuradio source you, look at the file gnuradio-examples/multi-antenna/multi_scope.py which tells you how you can look at 4

Re: [Discuss-gnuradio] Problem: Accessing RX-B of the basic Rx daughterboard

2008-02-11 Thread Karthik Vijayraghavan
Ah this is exactly what I have been grappling with as well. Basically you need to set the MUX _such that_ you can access the two setting simultaneously. If you have the gnuradio source you, look at the file gnuradio-examples/multi-antenna/multi_scope.py For more than one signal, you can no longer

[Discuss-gnuradio] Re: How to install python-numpy&&libboost on Ubuntu system

2008-02-01 Thread Karthik Vijayraghavan
Hi, I compiled gnuradio from source in Ubuntu 7.10 and I was having the same problems as you until I realized that you need to install the development packages for almost all the dependencies. There are some where you don't need the -dev packages, but it doesn't hurt to install them. So go ahead a