Re: [Discuss-gnuradio] Upgrading Gnuradio/GRC

2016-09-07 Thread madengr
If you built it from source, then "sudo make uninstall" from the "build" directory. Lou John B. Wood wrote > Hello, everyone. Short of starting with a fresh Fedora or Ubuntu OS > build what's the quickest way to remove an older Gnuradio build prior to > installing a later version? -- Vi

Re: [Discuss-gnuradio] Transients at burst rising edge

2016-08-29 Thread madengr
How are you generating the bursts at baseband? I fill a vector source with (1+1j)*(numpy.ones() + numpy.zeros()) at the appropriate length for the sample rate, then let that repeat. I'm getting nice, clean rising edges on my pulses (run into an oscilloscope). Maybe the first pulse is distorted,

Re: [Discuss-gnuradio] AUTOMATIC START AND STOP FILE RECORDING

2016-08-26 Thread madengr
You can dynamically change the name of the file sink while the flowgraph is running. For example, you would change it from "/dev/null" to "~/my_data.bin". You would start the flow, then in python loop, wait so many ms, poll the time, then change the file sink name. Lou Ernest wrote > Hi All,

Re: [Discuss-gnuradio] Interleaved sampling without interleaved clocks?

2016-07-21 Thread madengr
In the spirit of voiding the warranty, physically invert the LVDS clock input and output traces at the ADS62P48 with haywire and x-acto knife; the FPGA may then not know the difference. Use it as sub-device A:AB at the full 200 Msps, then interleave the complex parts into a real stream once in GR.

[Discuss-gnuradio] Interleaved sampling without interleaved clocks?

2016-07-20 Thread madengr
Posting this to GR (as opposed to USRP) since it seems more theory. Say I have an X300 and want to get DC - 200 MHz BW from a single daughter card by combining two real sampled streams. The X300 ADCs (or within the dual channel ADCs themselves) clocks can't be interleaved. An argument is that on

Re: [Discuss-gnuradio] B200/mini GPIO

2016-06-01 Thread madengr
Yes, specifically copy uhd/host/examples/init_usrp/CMakeLists.txt over to your build directory, then replace "init_ursp" with "gpio". Then just: cmake . make Marcus D. Leech wrote > The best thing to do is to use the existing UHD build infrastructure to > compile UHD examples. > > Modify, th

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
Never mind, ignore that. Still seems to be working strangely. madengr wrote > So if I swap positions of the "throttle" and "vector to stream", and > setting throttle for rate of 30 and 1024 items, then it works fine. It > seems the throttle has to be imme

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
So if I swap positions of the "throttle" and "vector to stream", and setting throttle for rate of 30 and 1024 items, then it works fine. It seems the throttle has to be immediately after the file source, otherwise it gets fouled up. Lou madengr wrote > Try this: > &

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
If you are working off a file source, then you should be able to use the "head" block to limit the number of samples read from the file. For example, if you want to average 32 spectrums of length 1024, then you need 32*1024 samples in the "head". Sorry, no idea how to change the default time plot

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
But the throttle should roughly slow it down to a real-time rate. The top half of my grc file updates about 1 spectrum/second via a throttle, and writes those vectors to disk. If I read back the the file also through a throttle, it should have about the same rate, but it's much slower. Note to d

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-31 Thread madengr
Yes, but I have a throttle after that file source, so it should be updating about 1 vector/second (each vector is 1024 samples). It's happening about 1/8 that speed, so something does not seem quite right. Lou Marcus D. Leech wrote > Files don't have any inherent sample-rate. Regardless of what

Re: [Discuss-gnuradio] accumulate spectrum

2016-05-30 Thread madengr
Try this: https://www.dropbox.com/s/7xsg4arx5h3gvah/spectrum.grc?dl=0 The integrate with decimation is what you want. Starting at 32 ksps with a 1024 length FFT length yields 31.25 vector/sec. Then an integrate with decimation by 32 averages down to 0.98 vector/sec. However when I try reading

Re: [Discuss-gnuradio] run a loop within GR

2016-05-17 Thread madengr
I have a drive test app here which polls the B200 GPS every second while running the GR flow: https://github.com/madengr/drive_test/blob/master/apps/drive.py Lou Jason Matusiak wrote > I have a python script I built up for GR that runs on my E310. As part > of the startup, it checks

Re: [Discuss-gnuradio] HF transmitter hardware solutions

2016-04-06 Thread madengr
Active loop >> LFRX>> N210 >> LFTX >> 20W PA >> SG-230 tuner >> inverted L. Pics here: https://www.qrz.com/lookup I don't have any GR code for a full transceiver, more experimental, either always RX or TX. I believe John Petrich has been working on a full transceiver in GRC. Lou KD4HSO Dani

Re: [Discuss-gnuradio] radio astronomy fast radio burst help requested

2016-04-01 Thread madengr
Dan, This is HF, but similar concept of a low cost receiver, with integrated GPS, tacked onto a single board computer. https://www.kickstarter.com/projects/1575992013/kiwisdr-beaglebone-software-defined-radio-sdr-with Lou -- View this message in context: http://gnuradio.4.n7.nabble.com/radi

Re: [Discuss-gnuradio] radio astronomy fast radio burst help requested

2016-04-01 Thread madengr
What would it take to get phase coherency, say at 1 GHz, on a global scale; short of running cables? I assume with a moderate priced GPSDO one can get 10E-12 stability, so that would be 0.01 Hz frequency stability at 1 GHz. Does that mean you can integrate for 10 seconds and stay within 0.1 radia

[Discuss-gnuradio] GRCon16 links

2016-03-30 Thread madengr
I see a link here: http://gnuradio.org/grcon-2016/ Is registration open? It says it starts today 3/30/16, but no link. Thanks, Lou -- View this message in context: http://gnuradio.4.n7.nabble.com/GRCon16-links-tp59207.html Sent from the GnuRadio mailing list archive at Nabble.com. ___

Re: [Discuss-gnuradio] comparing SDR upconverters, thermal stability

2016-03-30 Thread madengr
If you can synthesize the LO for the upconverter using the RTL XO as a reference, the drift may tend to cancel. I say "may" as this is a trick used in dual or triple down conversion chains. If you can alternate between low and high sided IFs, then the drifts will move in the opposite directions (

Re: [Discuss-gnuradio] Handling of IQ files

2016-03-20 Thread madengr
Yes, pretty much. With the DFT (and the continuous one) you are correlating the input waveform with harmonically related, complex sinusoids; essentially for each harmonic you mix it down to DC then sum (integrate). The FFT is different (I actually don't know how it works, other than it operates o

Re: [Discuss-gnuradio] dive into gnu-radio

2016-03-19 Thread madengr
You are not in the same boat, by far. I'm an EE RF/MW hardware guy with zero formal software training (other than a FORTRAN undergrad course requirement; if that hints to my age). SDR is a rather new field that requires a LOT of cross discipline; it's software + radio. I have been messing with

Re: [Discuss-gnuradio] Capture peaks in gnu radio

2016-02-15 Thread madengr
I did something similar here: https://github.com/madengr/ham2mon/blob/master/apps/estimate.py It estimates the channel centers above a threshold and returns the indices into the FFT. Lou Edward wrote > Hello all, > Is there any suggestion how to capture or save only several peaks > &

Re: [Discuss-gnuradio] power amplifiers on TX

2016-01-11 Thread madengr
I'm running an N210 + LF TX/RX to 25W on HF, but also using separate RX and TX antennas with adequate isolation ( https://www.qrz.com/db/KD4HSO ). The LF-TX is direct sampling so you don't have the issue of LO leakage when you are not transmitting (i.e. zeros into sink). With the I/Q conversion d

Re: [Discuss-gnuradio] Baudline sink ist missing

2015-12-04 Thread madengr
The baudline sink is in gr-baz last time I used it: https://github.com/balint256/gr-baz Alternately, you can create a FIFO, point the GR file sink to it, then have baudline read from it. I have some notes here: https://rfpoweramp.wordpress.com/2014/04/20/baudline-tips/ Lou Rebecca wrote >

Re: [Discuss-gnuradio] Frequency discriminator using a frequency to voltage converter

2015-11-06 Thread madengr
Hmm.. maybe it is. I have done it in (shudder) LabView and it's nice since noise reduces at 1/N instead of 1/sqrt(N); N is number of averages. Maybe I'll try it tonight with just discrete blocks to compare them side by side. Just something that can't be done with a normal spectrum analyzer. Tha

Re: [Discuss-gnuradio] Frequency discriminator using a frequency to voltage converter

2015-11-05 Thread madengr
Could this be modified to, optionally, do the (complex) average after the FFT. That would give a coherent average assuming no samples are dropped prior to FFT. Nice for digging signals out of the noise compared to a normal spectrum analyzer type average. Lou Marcus Müller-3 wrote > Because I

Re: [Discuss-gnuradio] Sigidwiki

2015-09-15 Thread madengr
Wow thanks. That's awesome. I think the 10 Bd Russian XPA signal stole some riffs from Dream Theater. http://www.sigidwiki.com/wiki/CIS_20-MFSK_XPA Lou -- View this message in context: http://gnuradio.4.n7.nabble.com/Sigidwiki-tp56045p56065.html Sent from the GnuRadio mailing list archive

[Discuss-gnuradio] HAM2MON update

2015-08-16 Thread madengr
Added AM demodulation for VHF air-band reception, via “-d 0” option switch for NBFM (default) and “-d 1“ for AM. OP25 via gr-dsd next on agenda; maybe at hackfest. https://github.com/madengr/ham2mon Lou -- View this message in context: http://gnuradio.4.n7.nabble.com/HAM2MON-update-tp55492

Re: [Discuss-gnuradio] USRP B210 GPIO

2015-08-06 Thread madengr
Is the UHD GPIO API available in Python yet? Lou Martin Braun-2 wrote > On 05.08.2015 10:32, > mleech@ > wrote: >> The B2xx GPIO J504 GPIO has the same API as X3xx. > > ...and the example is also the same (gpio.cpp). > > Cheers, > Martin -- View this message in context: http://gnura

Re: [Discuss-gnuradio] GRC FFT Plot

2015-08-04 Thread madengr
in noise marker mode. Just use a CW tone. Lou Jan wrote > Actually, you were right at first madengr. My transmitter is USRP1 with > WBX > 50-2200 while my receiver is USRP N200 with TVRX2 and spectrum analyzer. > Can you give me suggestions on how I can match the amplitude

Re: [Discuss-gnuradio] GRC FFT Plot

2015-08-03 Thread madengr
I misread you question and thought you were receiving with the USRP. Same procedure, just don't let the transmitted signal go past +/- 1.0 or you will clip the DAC. In practice keep it backed off 6 dB or more to allow for crest factor. Lou madengr wrote > 1) Send in a CW tone from

Re: [Discuss-gnuradio] GRC FFT Plot

2015-08-03 Thread madengr
1) Send in a CW tone from a signal generator of known power (dBm) 2) Read the level from GR FFT (dB) 3) Figure out the amount you need to offset (dB) 4) Multiply your samples by a constant value of 10**(offset_dB/20.0) 5) The GR FFT will now be calibrated to an absolute power (dBm). Note if you c

[Discuss-gnuradio] gr-op25 gone?

2015-07-24 Thread madengr
Anybody know what happended to http://op25.osmocom.org/ ? It's down and so is the repository at git://op25.osmocom.org/op25.git Looks to have been down for at least 3 weeks. Is there a backup of the repository somewhere? Thanks, Lou -- View this message in context: http://gnuradio.4.n7.nab

[Discuss-gnuradio] ham2mon GR based scanner

2015-07-22 Thread madengr
Throught I'd share my GR based scanner with curses GUI. Locks on and demodulates N number of NBFM channels and logs audio to disk. Uses gr-osmosdr source so should work with a variety of devices. https://github.com/madengr/ham2mon https://www.youtube.com/watch?v=BXptQFSV8E4 -- View

[Discuss-gnuradio] Optimum decimation for maximizing dynamic range

2015-07-16 Thread madengr
Is there an optimum hardware decimation to maximize receiver dynamic range? For example, if I have an X310 at 200 Msps with 14 bit ADC receiving a low frequency tone (LFRX board), those samples are truncated to 16 bits prior to Ethernet. If I'm decimating by 800 (from 200 Msps to 250 ksps) in the

Re: [Discuss-gnuradio] Scanning desired frequenies

2015-06-16 Thread madengr
Well googling that error points to something with the B200. I ran it last night with latest UHD/GR and it runs fine. Python has no issues with 1000 length list of floats. Lou Ashraf Younis wrote > Amazing, this seems to do what I needed. Thank you. It seems my list is > too > big because I get

Re: [Discuss-gnuradio] Scanning desired frequenies

2015-06-15 Thread madengr
This scans the B200 through GSM channels, compares to a calibrated threshold, and logs if it exceeds the threshold. You would just populate the Python list with your frequencies and iterate through them. Note this uses the old message queues, which as been deprecated, and I have not figured out a

Re: [Discuss-gnuradio] Install GNURadio from Source

2015-06-10 Thread madengr
FWIW I keep on-line notes here if you want to do everything the hard way (i.e. manually install dependencies and build from source): https://rfpoweramp.wordpress.com/category/sdr/gnu-radio/ Lou Richard Bell wrote > Hi all, > > ... > > What is causing this problem? > > v/r, > Rich > >

Re: [Discuss-gnuradio] Install GNURadio from Source

2015-06-10 Thread madengr
You probably shouldn't put code into /usr/local/bin as that is reserved for binaries, and you shouldn't build as root. I clone stuff into /usr/local/src, so do this: sudo mkdir /usr/local/src sudo chmod 777 /usr/local/src cd /usr/local/src git clone –recursive https://github.com/gnuradio/gnuradi

Re: [Discuss-gnuradio] GR-UHD features incoming

2015-05-06 Thread madengr
Martin, Thanks for this. While your at itcould you add a field in GRC UHD source block to enable/disable the DC RX offset correction, as well as a message to control it? http://files.ettus.com/manual/classuhd_1_1usrp_1_1multi__usrp.html#a7beb49c1a04a81b3e7569db482453746 It actually works in

Re: [Discuss-gnuradio] GNU Radio on Air Gapped Computer

2015-04-30 Thread madengr
Similar issues here. On Fedora, you can use reposync to mirror a repository to disc, transfer to DVD, then you can point yum to that when installing/updating packages on your gapped machine. I believe you can do something similar for a git repository, burn to DVD, then point it your DVD when clon

Re: [Discuss-gnuradio] RMS value of a signal changes with PAPR

2015-04-14 Thread madengr
Now that's disturbing that the analyzer is giving a false readings over integrated BW measurements, even when it claims it's in RMS mode, although that's maybe opposed to peak detector mode. It's still probably defaulting to a LOG detector, and you can measure multi-tone signals, but each tone mus

Re: [Discuss-gnuradio] RMS value of a signal changes with PAPR

2015-04-13 Thread madengr
Tomaz, Looks like you are measuring power on the spectrum analyzer with bandwidth integration, and it's giving you -95 dBm in both cases, which is good if it;s doing teh math, but what happens when you put the analyzer in linear mode? Or leave it in log mode, open up the RBW >> 100 kHz and put it

Re: [Discuss-gnuradio] Insert messages in queues?

2015-04-13 Thread madengr
Martin, Yes, pop them outside the block, but also outside of the flow graph. Exactly reverse of the last example "Posting from External Sources" here: http://gnuradio.org/doc/doxygen/page_msg_passing.html "The last feature of the message passing architecture to discuss here is how it can be use

Re: [Discuss-gnuradio] Insert messages in queues?

2015-04-12 Thread madengr
Thanks Martin. Looking at the gr-blocks/examples/msg_passing, the tutorial link, and qa_msg, I only find examples of posting messages. Those make sense, but is there an equivalent to _post method that pulls messages? http://gnuradio.org/doc/doxygen/classgr_1_1basic__block.html#a8501714cb14c1a08b4

[Discuss-gnuradio] Insert messages in queues?

2015-04-11 Thread madengr
If I'm using a block that has a message port output, is there a way to put those messages into a message queue? For instance: self.message_queue = gr.msg_queue() self.msg_connect((self.gsm_control_channels_decoder, 'msgs'), (message_queue, 0)) I have used gr.msg_queue() with blocks.messa

Re: [Discuss-gnuradio] Empty volk directory when I git gnuradio

2015-04-04 Thread madengr
Actually now I see it would probably be: git pull --recurse-submodules=on git submodule update -- View this message in context: http://gnuradio.4.n7.nabble.com/Empty-volk-directory-when-I-git-gnuradio-tp53073p53155.html Sent from the GnuRadio mailing list archive at Nabble.com. _

Re: [Discuss-gnuradio] Empty volk directory when I git gnuradio

2015-04-04 Thread madengr
Can you you add the --recursive in the README? I assume a standard "git pull" will be sufficient in the future or do we also need to do a "git submodule update"? Thanks, Lou -- View this message in context: http://gnuradio.4.n7.nabble.com/Empty-volk-directory-when-I-git-gnuradio-tp53073p531

Re: [Discuss-gnuradio] Extracting and storing certain parameters from continuous IQ data

2015-03-11 Thread madengr
I saw from your other thread that you were channelizing and decimating, and I assume you are logging this to disk for extended periods. I'm doing a similar thing here: https://github.com/madengr/nbfm_rec Although I'm not using a channelizer, only because there is no band plan for

Re: [Discuss-gnuradio] Extracting and storing certain parameters from continuous IQ data

2015-03-11 Thread madengr
level every second and logs it with GPS data: https://github.com/madengr/drive_test Lou Ali Riaz wrote > Hello everyone, > > So I was trying to capture continuous IQ data from my USRP N200, and this > needs to be done for about a week, but because the amount of data is > gi

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

2015-03-06 Thread madengr
Equivalent function here, which could be encapsulated into a GR block if you don't need speed: http://docs.scipy.org/doc/scipy-dev/reference/generated/scipy.signal.periodogram.html I suppose it boils down to the difference between an FFT just normalized to bandwidth, and the FFT of the autocorrel

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

2015-03-05 Thread madengr
Do you mean adding a text label on the vertical axis, or scaling the spectrum? For the latter, you would have to feed the USRP a known (calibrated) noise source that is well above the USRP noise floor such as an HP 346 noise source. Then read the value from the spectrum and just re-scale the samp

[Discuss-gnuradio] fxpt_nco vs rotator ?

2014-12-30 Thread madengr
I'm experimenting with very fine frequency measurements (i.e. uHz resolution) at high sample rates. For instance, down-converting all the WWV signals from a 100 Msps chunk of HF spectrum to near 0 Hz then comparing their drift. I have a handle on the DDC within the USRP and the sig_source_c withi

Re: [Discuss-gnuradio] GRC display category [none]

2014-12-15 Thread madengr
Can you do that for Ettus RFnoc? I noticed that has no category either. Lou -- View this message in context: http://gnuradio.4.n7.nabble.com/GRC-display-category-none-tp51628p51635.html Sent from the GnuRadio mailing list archive at Nabble.com. ___

Re: [Discuss-gnuradio] trouble reexecuting a microphone audio source

2014-12-12 Thread madengr
Huh, good question, I just use CTRL-C for GR programs launched from the terminal, and had no issues with hardware. If you set the GRC option block to NO GUI, I don't recall if it even runs the flow; it may just generate the top_block.py and you must manually launch from the terminal. In general,

Re: [Discuss-gnuradio] trouble reexecuting a microphone audio source

2014-12-11 Thread madengr
Just a thought; when you stop your flow graph, are you using the big red X button in the GRC menu bar (the improper method), or closing the WXGUI sink window (the proper method)? I was doing it the wrong way for quite some time and that caused issues with hardware access. Lou Thomas Early wro

Re: [Discuss-gnuradio] Install: qa_volk_test_all fails

2014-11-25 Thread madengr
Sorry, the boostrapping was a guess on my part, as I recall having a similar issue a while back and seeing this: http://lists.gnu.org/archive/html/discuss-gnuradio/2013-07/msg00486.html Lou West, Nathan wrote > On Tue, Nov 25, 2014 at 10:50 AM, West, Nathan > < > natw@.okstate > > wrote: > >

Re: [Discuss-gnuradio] Install: qa_volk_test_all fails

2014-11-25 Thread madengr
No, do not type: Run volk_profile Type this: volk_profile Try my other suggestion if the above does not work. My guess is the VOLK tests won't work since this is your first time installing gnuradio, and you have not run the volk_profile. In which case you need to bootstrap by installing it first

Re: [Discuss-gnuradio] Install: qa_volk_test_all fails

2014-11-25 Thread madengr
I assume this is your first install and VOLK has not been profiled already, in which case you need to do a: sudo make install sudo ldconfig volk_profile make test Cocacola93 wrote > openbts@nujmee:~/gnuradio/build$ Run volk_profile > Run: command not found -- View this message in context:

Re: [Discuss-gnuradio] Install: qa_volk_test_all fails

2014-11-24 Thread madengr
Run volk_profile then rerun the tests. Lou Cocacola93 wrote > On Ubuntu 14.04LTS 32bit, I tried installing using gnuradio-3.7.5 > The build completed, but several of the build tests fail > 98 % tests passed,4 test failed out of 193 > > The following tests FAILED: > 1 - qa_volk_test_all

Re: [Discuss-gnuradio] QT GUI Time Sink text scale bug

2014-11-24 Thread madengr
Marcus, OK; dumb question. How do I apply that, other an editing the source manually? I tried the following, but it didn't like it: cd /usr/local/src/gnuradio/ patch < 0001-qtgui-fixed-non-changing-from-sec-to-ms.patch Thanks, Lou Marcus Müller wrote > -BEGIN PGP SIGNED MESSAGE- > Ha

Re: [Discuss-gnuradio] Received Signal Power question

2014-11-24 Thread madengr
I assume m.data is a list of FFT magnitude-squared data; it can't be complex otherwise math.log10() won't work. It must be magnitude-squared since it is using 10*math.log10(), otherwise it needs to be 20*math.log10(). It finds the minimum out of all the bins and calls that the noise floor. For e

Re: [Discuss-gnuradio] Inconsistant Gain in X310

2014-11-21 Thread madengr
Might want to post this over on the Ettus list, as I am having issue with the X310 and LFRX and have a few threads on there with examples of diagnosing it. The DC compensation seems to be always on (bad since the LRFX is DC coupled), and the digital gain setting seems broke. These may be related

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-17 Thread madengr
If you are using an "if" statement to switch between filename and /dev/null, try putting the filename construction in the "if" statement, instead of a separate variable. That may make it evaluate every time the "if" statement is called. My example used the LO frequency as part of the filename, an

[Discuss-gnuradio] ARRL FMT with GNU Radio

2014-11-15 Thread madengr
y and sampling offsets next time. http://youtu.be/_brT8AElZi0 https://github.com/madengr/fmt Thanks, Lou KD4HSO -- View this message in context: http://gnuradio.4.n7.nabble.com/ARRL-FMT-with-GNU-Radio-tp51330.html Sent from the GnuRadio mailing list archive at Nabbl

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-12 Thread madengr
Here is the file: https://dl.dropboxusercontent.com/u/49570443/fmt.grc Lou madengr wrote > I'll post an example GRC file tonight that shows the dynamic recording > with time stamped file. I'm going to try the ARRL Frequency Measurement > test tonight, and wrote a

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-12 Thread madengr
See my note about dynamic recording of file names: http://rfpoweramp.wordpress.com/category/sdr/gnu-radio/ The file sink is either being directed to "filename" or "/dev/null". You can dynamically change that during the flow with a boolean check box. In your case, instead of the check box, you wo

Re: [Discuss-gnuradio] Markup GRC Flowgraph

2014-11-05 Thread madengr
Try a CTRL-F and search for "note" block. I think it's under the misc folder also. It only lets you do one line. Lou Richard Bell wrote > Hi all, > > I would like to know if there is any way to add textboxes to a GRCs > flowgraph for notes and documentation? > > Thanks, > Rich -- View t

[Discuss-gnuradio] Adding offset to frequency messsage?

2014-11-01 Thread madengr
I'm using the freq message output of the QT GUI Frequency Sink to drive the freq message input of the Frequency Translating FIR Filter. Since I have set the the Center Frequency of the QT Frequency Sink to 7E6 Hz, that means I need to subtract that value before I send it to the channelizer so it o

Re: [Discuss-gnuradio] PSK demodulation of a sub-carrier sent over FM

2014-10-22 Thread madengr
Raydel Abreu (CM2ESP) wrote > However I would like to know how can I demodulate a PSK transmission which > is carried over a typical FM signal. IIRC you would just do the WBFM demod, then the PSK demod. See the gr-rds: https://github.com/bastibl/gr-rds Lou -- View this message in context: h

Re: [Discuss-gnuradio] Installing GNU Radio

2014-10-22 Thread madengr
If you want to do it the hard way, i.e. installing the dependencies from scratch and building from source, I keep an updated list here; ignore the date: http://rfpoweramp.wordpress.com/category/sdr/gnu-radio/ -- View this message in context: http://gnuradio.4.n7.nabble.com/Installing-GNU-Radi

Re: [Discuss-gnuradio] help accessing fft bins in python script

2014-10-17 Thread madengr
k1gto wrote > Is there any way to access the fft bins from python without writing a > custom block? See this: http://ha5kfu.sch.bme.hu/fft_test Lou KD4HSO -- View this message in context: http://gnuradio.4.n7.nabble.com/help-accessing-fft-bins-in-python-script-tp50854p50891.html Sent from th

Re: [Discuss-gnuradio] GnuRadio File sink Operation, Need help

2014-09-05 Thread madengr
I'll flip you $0.01; I found the new tutorials to be really helpful, and this one specifically shows how to write a block that inserts stream tags (the preceding tutorial shows how to write a block): http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_Programming_Topics Although ad

Re: [Discuss-gnuradio] PSK demodulator and Doppler

2014-09-03 Thread madengr
Just curious, any estimate on how much temperature drift in PPM you are getting? Thanks, Lou KD4HSO Mike Willis wrote > ...and there is also some > frequency drift with satellite temperature as it enters or comes out of > eclipse. -- View this message in context: http://gnuradio.4.n7.nabb

Re: [Discuss-gnuradio] beginner

2014-08-31 Thread madengr
Regarding doing it in C; everything seems to be mostly there to do it in Python as a native GR application. 1) A QT-GUI text input box would be needed to buffer-up the transmit text as it is typed, convert to varicode then drop the bytes into the transmit stream, interrupting the continuous 010101

Re: [Discuss-gnuradio] beginner

2014-08-31 Thread madengr
ZeroMQ has just been implemented in GR: http://zeromq.org If you check out the latest GR from Github you'll see the blocks in GRC. I have not tried it. Here is more info: http://gnuradio.org/redmine/versions/42 I was playing around with receiving data from the GR flow into Python via message

Re: [Discuss-gnuradio] beginner

2014-08-31 Thread madengr
I have not seen a whole PSK31 modem implemented. Looks like there is a decoder here: https://github.com/bitglue/gr-psk31 and here: http://sdradventure.wordpress.com/2011/10/15/gnuradio-psk31-decoder-part-1/ I experimented with an encoder here: https://www.youtube.com/watch?v=7IzxZKL2uUE It woul

Re: [Discuss-gnuradio] GR, USRP, and GPIB measurements

2014-08-25 Thread madengr
1) What you are doing is correct. What's the power of your signal generator? I was using -40 dBm, and as Marcus says, that is strong, but you'll need to have a good SNR since the noise bandwidth is ~250 kHz. Several posts ago you stated running -8 dBm into the WBX. You may have damaged the WBX

Re: [Discuss-gnuradio] Summing members of a vector

2014-08-23 Thread madengr
Maybe you can convert the vector to stream, then integrate with decimation by 64. Thanks, Lou KD4HSO -- View this message in context: http://gnuradio.4.n7.nabble.com/Summing-members-of-a-vector-tp50042p50069.html Sent from the GnuRadio mailing list archive at Nabble.com.

Re: [Discuss-gnuradio] GR, USRP, and GPIB measurements

2014-08-23 Thread madengr
1) I set the gain of the WBX to 15 dB, which is why our values do not match. If I use 0 dB WBX gain I get the following for a -40 dBm tone: 400 MHz, k=-30.6 900 MHz, k=-25.5 1.8 GHz, k=-19.2 There should be no computational differences between the GUI and frequency sinks. 2) The channel gain i

Re: [Discuss-gnuradio] GR, USRP, and GPIB measurements

2014-08-15 Thread madengr
You don't need to take the FFT to get the power. See my attached example (in GR 3.7). Just take the output from the USRP, complex_to_mag_squared, integration with decimation to 1 Hz, 10*log10() + k, and probe at 1 Hz rate. I'm using an N210 + WBX with gain=15 dB. That gives me a calibration fac

Re: [Discuss-gnuradio] Received Signal Power

2014-08-14 Thread madengr
Use complex_to_maq_squared, integrate with decimate, then 10*log() + K, and into a time sink or signal probe. K is a calibration factor in dB that you obtain by feeding your hardware with a known power level, typically a signal generator. Lou KD4HSO Md. Anjum wrote > Hello, > > I have transmit

Re: [Discuss-gnuradio] New GR Tutorials Posted

2014-08-11 Thread madengr
I stumbled upon these a couple weeks ago; they look really good! If we find any needed corrections, do we post them to this thread? Thanks, Lou KD4HSO Tom Rondeau-2 wrote > Hi everyone, > > I would like to invite you all to check out and beta test our new GNU > Radio > Tutorials: > > http://g

Re: [Discuss-gnuradio] GR, USRP, and GPIB measurements

2014-08-11 Thread madengr
You need to be careful with the WBX as input power above -20 dBm could damage the 2nd stage RX amplifier. Per the data sheets, the absolute maximum input power of the 2nd stage amp is below the saturated output power of the 1st stage amp. 1a) Yes, only valid for linear range. 1b) The device is al

Re: [Discuss-gnuradio] GR, USRP, and GPIB measurements

2014-08-09 Thread madengr
I updated the repo with results for the N210+WBX: https://github.com/madengr/usrp_rf_tests Our single tone sweep results look very similar. Your IMD plot should be in dBc; plot the difference in power between one of the test tones and one of the IMD3 products. Mine don't do below -50 dBc

Re: [Discuss-gnuradio] Demodulating a MPT1327 signal

2014-08-09 Thread madengr
Thanks, Lou KD4HSO madengr wrote > Post your GRC file. I tried it just as you implemented and it is working > here. I would have choose different sample rates and topology, but > nonetheless it works. Gain of 100 (dB) should not be a valid UHD value as > it tops out at 81 for the B

[Discuss-gnuradio] RF drive test app using GR

2014-08-08 Thread madengr
s for power and altitude. I may switch it to GeoJason maps as that may work nicer for logging multiple channels at once. What I'd really like to do is to have it transmit and key a repeater, then log the power, but I don't think repeater operators would tolerate the kerchunking. https://git

Re: [Discuss-gnuradio] Demodulating a MPT1327 signal

2014-08-06 Thread madengr
Post your GRC file. I tried it just as you implemented and it is working here. I would have choose different sample rates and topology, but nonetheless it works. Gain of 100 (dB) should not be a valid UHD value as it tops out at 81 for the B200, and 31 for the WBX. It still works though. Can y

Re: [Discuss-gnuradio] GR, USRP, and GPIB measurements

2014-08-06 Thread madengr
1) I have not calculated P1dB or IP3, yet. I will have to do that. I find it's easier to look at a graph of IMD3 levels since it is more intuitive that working from the IP3, which is more useful for calculations. 2) 0 dBFS would be the DAC swinging full scale; i.e. -1 to +1 float value (DAC vo

Re: [Discuss-gnuradio] Help To Compute Average

2014-08-03 Thread madengr
I believe you need to use a probe. I'm doing something similar in the attached *.grc. I use complex_to_mag_squared then integrate with decimation down to 100 Hz. Take the Log10 and offset to get it in dBm, resulting in an RSSI (Received Strength Signal Indicator) The Probe Signal pulls the RSSI

[Discuss-gnuradio] GR, USRP, and GPIB measurements

2014-08-02 Thread madengr
t via Linux GPIB while controlling the GR flow, and plotting the results, which makes a handy piece of test gear on the bench. I plan on doing the RX side next, where results must be pulled from the GR flow via messages or probes. https://github.com/madengr/usrp_rf_tests Thanks, Lou KD4HSO --

Re: [Discuss-gnuradio] TX-POWER USRP N210 AND WBX DOUGHTERBOARD

2014-07-22 Thread madengr
I should note that want I really want to do is automate this measurement and generate a series of curves that show TX_gain setting vs. intermod, for several frequencies, at -3 dB from full scale. The state of GPIB support under Linux doesn't seem to be that great though. I suppose though that you

Re: [Discuss-gnuradio] TX-POWER USRP N210 AND WBX DOUGHTERBOARD

2014-07-22 Thread madengr
As Martin said, it really helps to have a spectrum analyzer. What I'll do is generate a CW tone (sinusoid) of 0.707 Vp; that is 3 dB backed off from DAC full scale power. Then I'll increase the TX gain setting until the TX image rejection starts to become poor. This will typically be 15 dBm for

Re: [Discuss-gnuradio] Why am I dropping data over the UDP network?

2014-07-16 Thread madengr
Marcus, What OS are you using? I had the same issue (UDP not getting through on receive side) with Fedora 20, even with Firewall "supposedly" turned off (i.e. Trusted Zone selected). Manually adding the port exemption (I believe I used port 65000) let the UDP through and it worked. Lou KD4HSO

Re: [Discuss-gnuradio] state of offline signal analysis tools in 2014?

2014-07-16 Thread madengr
Peter, Have you tried Baudline? It's not open source, but it is free, and will do allot of what you want. Looks like there will be a new version soon with 64-bit support and I/Q demod. It's also quite easy to pipe GR file sink to it via a FIFO (gr-baz has a sink for just that), but it will also

Re: [Discuss-gnuradio] Why am I dropping data over the UDP network?

2014-07-11 Thread madengr
Funny that I was doing the exact same thing last night, and I'm also getting warnings on the receive end at only 500 ksps on a home LAN. Should the stream be vectorized before the UDP sink, and if so how long? I tried both stream and vectors but still get the warnings. Lou KD4HSO Ward, Marcus

Re: [Discuss-gnuradio] UHD not working after clean pybombs install

2014-07-11 Thread madengr
You may need the rtprio also. See notes at below link I have been keeping: http://rfpoweramp.wordpress.com/2014/06/10/setting-up-the-usrp-b200/ Note there is something screwed up with Worpress and quotes pasted from the Linux shell, so be careful if pasting in that text. Lou KD4HSO John Meloc

Re: [Discuss-gnuradio] Passing messages to block values?

2014-07-08 Thread madengr
Martin, After git pull, do I have to remove the build directory and rebuild the entire code, or can I do a: sudo make uninstall cmake ../ make make test sudo make install to just recompile the changed files. As a general rule, say going from 3.7.3 to 3.7.4, it's unclear to me when I should rebu

Re: [Discuss-gnuradio] FM RX AND TX NOT WORKING

2014-07-07 Thread madengr
I'm using 3.7 so I can't run your flowgraph, but you are using a NBFM to demodulate WBFM at 93.5 MHz. Use the FM Demod block. You also don't need the translating filter after the UHD source, unless you plan on increasing the source sample rate to offset-tune from the LO feedthrough. Your FFT sin

[Discuss-gnuradio] Passing messages to block values?

2014-07-07 Thread madengr
GR 3.7.4 now has a message output on the QT GUI Frequency Sink. Is there way in GRC to pass this message to a value field within a block? For instance, pass it to the Center Frequency value in the UHD Source block to retune the hardware? Is there a way to disable the frequency re-centering when

Re: [Discuss-gnuradio] Getting overflows at 50 Msps (not sure why)

2014-06-16 Thread madengr
Orin, Just curious what USB 3.0 chipset and OS you are using, and if you can go over 50 Msps? I am able to get 45 Msps UHD Benchmark with the VLI VL80x, but not over that. Thanks, Lou KD4HSO -- View this message in context: http://gnuradio.4.n7.nabble.com/Getting-overflows-at-50-Msps-not-su

  1   2   >