Re: [Discuss-gnuradio] question about Simple Transmitter
hi, I amplified using Bamp = gr.multiply_const_cc(8192) but still doesn't work. Regards, Mehdi Eric Blossom wrote: On Fri, Jun 13, 2008 at 07:50:45AM -0700, mehdimolu wrote: hi, I wrote the code below to transmit a file. although i don't receive any error but I don't see any thing on the spectrum analyzer around 2.4G. it looks that it doesn't transmit any thing. can some one tell me what is the problem The output of the dbpsk modulator is on the unit circle. You need to mulitiple the output by a constant to get it into a reasonable range for transmission. Try multiplying by 8192 using gr.multiply_const_cc. Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- View this message in context: http://www.nabble.com/question-about-Simple-Transmitter-tp17825212p17859684.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Getting samples from Gnuradio to c++
Can anyone please help me? I want to capture samples from Gnuradio and get them to a c++ application in real-time. I then want to calculate the ambiguity function and display it on a contour plot. What is the best way to do this? What I have in mind is to use Qwt with Qt for this, but then I will need to get the samples to c++ in real-time. Thank you very much. Sebastiaan Heunis ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Getting samples from Gnuradio to c++
Sebastiaan Heunis wrote: Can anyone please help me? I want to capture samples from Gnuradio and get them to a c++ application in real-time. I then want to calculate the ambiguity function and display it on a contour plot. What is the best way to do this? What I have in mind is to use Qwt with Qt for this, but then I will need to get the samples to c++ in real-time. Write your samples to a UDP_sink, with the packets addressed to localhost (127.0.0.1). Then you can write a simple UDP reader in C++ to get the data in realtime. @(^.^)@ Ed ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] question about Simple Transmitter(2)
hi, When I run the code, I don't receive error but uU appears on my desktop. I want to run a transmitter which transmits a file. I don't see anything around center frequency. please somebody guide me. I am really confused. the code is #!/usr/bin/env python from gnuradio import gr, gru, modulation_utils from gnuradio import usrp from gnuradio import eng_notation from gnuradio.eng_option import eng_option from optparse import OptionParser from gnuradio import blks2impl from gnuradio import blks2 import random, time, struct, sys # from current dir #from transmit_path import transmit_path #import fusb_options def build_graph(): payload_bytesize = 16 mysamples_per_symbol = 3 myexcess_bw = 0.35 mygray_code = True myverbose= False mylog= False txfreq = 2.5e9 interpolation = 16 chan = 1 gain = 1 fg = gr.top_block () #in this step we need to define the file we want to transmit Bsrc = gr.file_source (gr.sizeof_char, /home/usrp2user/PDF/payload.pdf, False) Bframing = gr.simple_framer ( payload_bytesize ) Bdbpsk = blks2.dbpsk_mod(mysamples_per_symbol, myexcess_bw, mygray_code, myverbose, mylog) Bamp = gr.multiply_const_cc(8192) Busrptx = usrp.sink_c(0) Busrptx.set_interp_rate(interpolation) subdev_spec = usrp.pick_tx_subdevice(Busrptx) # choose daughterboard A as your Tx. Busrptx.set_mux(usrp.determine_tx_mux_value(Busrptx, subdev_spec)) subdev = usrp.selected_subdev(Busrptx,subdev_spec) # now we got the chosen(last line) daughterboard subdev.set_freq(txfreq) subdev.set_enable(True) #enabling transmit :just in flex boards # x=subdev.gain_range() subdev.set_gain(subdev.gain_range()[1]) #subdev.set_gain(gain) Busrptx.tune(subdev._which, subdev, txfreq) #usrp.sink_c.tune(Busrptx, chan, subdev, txfreq) #usrp.sink_c.set_pga(0,pga_gain_in_db) fg.connect(Bsrc, (Bframing, 0)) #fg.connect((Bframing, (Bdbpsk, 0)) #fg.connect((Bdbpsk, 1), Busrptx) fg.connect(Bframing, Bdbpsk) fg.connect(Bdbpsk, Bamp) fg.connect(Bamp, Busrptx) return fg if __name__ == '__main__': fg = build_graph () fg.run() -- View this message in context: http://www.nabble.com/question-about-Simple-Transmitter%282%29-tp17866181p17866181.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] question about Simple Transmitter(2)
On Mon, Jun 16, 2008 at 10:52 AM, mehdimolu [EMAIL PROTECTED] wrote: hi, When I run the code, I don't receive error but uU appears on my desktop. I want to run a transmitter which transmits a file. I don't see anything around center frequency. please somebody guide me. I am really confused. the code is You're in luck as there was recently a whole USRP FAQ put together. Check it out here, it may hold some of the answers you're looking for: http://gnuradio.org/trac/wiki/UsrpFAQ/Gen Brian PS - The top level of the USRP FAQ can be found here if you have more questions: http://gnuradio.org/trac/wiki/UsrpFAQ ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Getting samples from Gnuradio to c++
On Mon, Jun 16, 2008 at 10:31:51AM -0400, Ed Criscuolo wrote: Sebastiaan Heunis wrote: Can anyone please help me? I want to capture samples from Gnuradio and get them to a c++ application in real-time. I then want to calculate the ambiguity function and display it on a contour plot. What is the best way to do this? What I have in mind is to use Qwt with Qt for this, but then I will need to get the samples to c++ in real-time. Write your samples to a UDP_sink, with the packets addressed to localhost (127.0.0.1). Then you can write a simple UDP reader in C++ to get the data in realtime. -- or -- Use usrp_rx_cfile and specify a file that goes somewhere you like. E.g., a named pipe (see man mkfifo), or you could write to stdout on Linux like this: $ usrp_rx_cfile -R A -f freq -d decim -g gain /proc/self/fd/1 | my-c++-app [We could of course change the interface so that it would write to stdout if no file was specified...] Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] USRP FAQ on Wiki
On Sun, Jun 15, 2008 at 01:21:45AM +0530, Rakesh Peter wrote: Hey Folks The USRP Documentation by Firas has been now wiki-fied at http://www.gnuradio.org/trac/wiki/UsrpFAQ Its now upto everyone in the community to take it up and contribute to make it bigger and better ! I totally believe better piece of documentation can take this project to places... Can we have some more initiatives ?? How about regular screencast sessions showing off the technology behind the implementations and howto's for usage ? Is it possible to work out something without putting too much load on the core developers ? Everyone, please do contribute your share of cents ! Regards, rax Thanks Rakesh! I was wondering if it might be possible to add prev up next links to make more-or-less linear browsing available too, like info. Perhaps a one row table at the top or bottom of the page with the links? Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Getting samples from Gnuradio to c++
Hi, To process data in C++ coming from the USRP in real time, See: http://gnuradio.org/trac/wiki/UsrpFAQ/CppInterface Regards, Firas -- View this message in context: http://www.nabble.com/Getting-samples-from-Gnuradio-to-c%2B%2B-tp17862380p17868150.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] USRP FAQ on Wiki
On Sat, Jun 14, 2008 at 12:51 PM, Rakesh Peter [EMAIL PROTECTED] wrote: The USRP Documentation by Firas has been now wiki-fied at http://www.gnuradio.org/trac/wiki/UsrpFAQ Firas, thanks for your untiring effort to get this underway with your initial documentation. It's important that, with a fast-moving target like GNU Radio and USRP, the documentation be in a form that is easily updatable. The wiki concept allows a community of contributors to review and update this content in small pieces with minimal effort, without having to explicitly coordinate amongst themselves beforehand. Rakesh, by wikifying this content, you've really kicked off a sustainable effort. Thanks again to both of you for making the USRP more accessible. Open source efforts thrive on volunteer labor and you've made it far easier for people to contribute to documentation. -- Johnathan Corgan Corgan Enterprises LLC http://corganenterprises.com/ ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] How hard would it be?
Hi, I'm a grad student looking into gnuRadio/USRP for a project and had a question. Looking everything over, it's all very intimidating. None of the people I work with are coders, nor do we have a lot of experience with RF hardware. We're hoping to basically output RF range signals (sine waves) for jamming type purposes. How difficult would you all estimate it would be to get such a basic system running? Thanks! -- View this message in context: http://www.nabble.com/How-hard-would-it-be--tp17869377p17869377.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Broken USRP report
Hi everybody, I've got really no idea of what happened.. I have been working a few hours with my USRP, then I switched it off for about an hour. Then I came back, re-plugged power into it and I got 'Unable to find USRP#0'. I checked the led and it was not flashing. The fuse F501 seems ok (I can still measure a 6V tension past it with my tester) The fan spins as always. It's quite a new bought one: Ser=2687 Can anyone help with suggestion to figure out the problem? thanks vincenzo ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Getting samples from Gnuradio to c++
You can create a named pipe with mkfifo /tmp/fifo. Connect your gnuradio stream to a gr.file_sink(item_size, '/tmp/fifo'). And in your c++ program, you can read from the fifo just like a regular file. -Josh Sebastiaan Heunis wrote: Can anyone please help me? I want to capture samples from Gnuradio and get them to a c++ application in real-time. I then want to calculate the ambiguity function and display it on a contour plot. What is the best way to do this? What I have in mind is to use Qwt with Qt for this, but then I will need to get the samples to c++ in real-time. Thank you very much. Sebastiaan Heunis ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Spectrum Inversion
Hi, -- Posted via http://www.ruby-forum.com/. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Spectrum Inversion
Hi, I have recorded a signal that is spectrum inverted. I've heard that it's possible to restore the signal by swapping I and Q, but I remember that there was a minus to intruduce in-between. Could you please help me, giving me the exact transformation to apply, and eventually the associated limitations. Thank you, Pepito -- Posted via http://www.ruby-forum.com/. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Broken USRP report
USB interface seems ok: when I connect the broken USRP, dmesg output is usb 1-4: new high speed USB device using ehci_hcd and address 4 usb 1-4: configuration #1 chosen from 1 choice when I disconnect it is: usb 1-4: USB disconnect, address 4 what other tests can I run? what does the led blinking actually mean? thanks for help vincenzo ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Small Intel Based Computers for GNURadio
Hello, I occasionally travel and want to take GNURadio with me. I wonder what laptops or small form factor systems (like ITX) work well with GNURadio. My current laptop, a Z60t, uses a 1.7 Pentium M. It is okay for most GNURadio apps but I get USRP overruns on other apps. My Core 2 Duo Desktop does better but it is too big. A Quad Core Laptop would be great but there seems to be only a few products based on Desktop Chips. I see there are some Intel ITX boards that will take a Core 2 Duo and seem to be a luggable or mobile solution. 73 Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] How hard would it be?
On Mon, Jun 16, 2008 at 10:27:50AM -0700, KevinZ wrote: Hi, I'm a grad student looking into gnuRadio/USRP for a project and had a question. Looking everything over, it's all very intimidating. None of the people I work with are coders, nor do we have a lot of experience with RF hardware. We're hoping to basically output RF range signals (sine waves) for jamming type purposes. How difficult would you all estimate it would be to get such a basic system running? Thanks! Independent of GNU Radio, even trying to have a sensible conversation about jamming without a basic grip on RF or how receivers work or the characteristics of the system you're trying to jam, is a pretty big stretch. There are lots of textbooks on jamming and anti-jamming. You might want to take a look at one or two to get yourself familiar with the domain. Look for titles containing words such as jamming, electronic countermeasures, or electronic warfare. Artech House and SciTech publish a bunch of them. http://www.scitechpublishing.com http://www.artechhouse.com/Default.asp?Search=1Frame=SubjectList.asp It's an interesting area. Have fun! Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] using gnuradio as a amateur radio
Hi all, I'm using gnuradio to receive and transmit to 2 meters amateur radio, and when I went to buy the cable, I didn't know what impedance should I use w/ the usrp. 50 ohm or 75 ohm? Can I connect an amplifier to the basic-tx without any problem? thanks rafael diniz -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Ciência da Computação @ Unicamp Rádio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x2FF86098 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- signature.asc Description: This is a digitally signed message part. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] using gnuradio as a amateur radio
On Mon, Jun 16, 2008 at 05:48:05PM -0300, rafael2k wrote: Hi all, I'm using gnuradio to receive and transmit to 2 meters amateur radio, and when I went to buy the cable, I didn't know what impedance should I use w/ the usrp. 50 ohm or 75 ohm? Can I connect an amplifier to the basic-tx without any problem? thanks rafael diniz Please explain to me how you are planning on transmitting on 2 meters using the basic tx daughterboard and how you are planning on controlling out of band emissions. Thanks, Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Small Intel Based Computers for GNURadio
Eric Blossom wrote: On Mon, Jun 16, 2008 at 03:00:31PM -0400, Eric Cottrell wrote: Hello, I occasionally travel and want to take GNURadio with me. I wonder what laptops or small form factor systems (like ITX) work well with GNURadio. My current laptop, a Z60t, uses a 1.7 Pentium M. It is okay for most GNURadio apps but I get USRP overruns on other apps. My Core 2 Duo Desktop does better but it is too big. A Quad Core Laptop would be great but there seems to be only a few products based on Desktop Chips. I've been happy with a whole series of X* ThinkPads. Last I checked they're shipping with Core 2 Duos in them, which gives you a pretty serious 64-bit platform. I'd probably opt for a 7200 RPM drive and 2 GB of RAM. Hello, I looked at the T and X series and I may get a T. The new X61 with the dock does not look too bad. I looked at the X300 but it is targeted more for low power. I should hurry up or I will not be able to get one with Windows XP. The thing I keep forgetting about a luggable box is you likely need to lug a display, keyboard, and mouse as well. I still bought a new battery for the Z60t and while browsing decided to buy the new 1.6 GHz Intel Atom Motherboard and a Apex MI-100 mini-ITX case. Mainly to play with for a possible car computer but I will try GNURadio. I plan to load Debian on it. I came close to buying a PS3 for GNURadio use but it is not quite ready. I am happy with the Thinkpad series and use a 600e and a 600x for other radio stuff. It looks like the new series from Lenovo is the Ideapad. They can use the Thinkpad name only for a limited time and they want to give it up early. 73 Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Spectrum Inversion
Pepito31 Pepito31 wrote: Hi, I have recorded a signal that is spectrum inverted. I've heard that it's possible to restore the signal by swapping I and Q, but I remember that there was a minus to intruduce in-between. Could you please help me, giving me the exact transformation to apply, and eventually the associated limitations. You can invert the spectrum of a complex signal by doing ONE and ONLY ONE of the following: swapping I and Q negating I negating Q Matt ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio