[Discuss-gnuradio] NRZI decoding

2008-09-09 Thread irene159
Hi, I am trying to get a better understanding of different receiver blocks. In the ais-tools-gnuradio-1.0.2 (http://funwithelectronics.com/sdr/ais.php) source code (aisrcv-usrp.py), once symbols are mapped to bits after demodulation and symbol clock recovery the signal is sent to the following

Re: [Discuss-gnuradio] Different input/output rate

2008-07-21 Thread irene159
Eric Blossom wrote: On Fri, Jul 18, 2008 at 03:19:08PM -0700, irene159 wrote: Hi, I have the same problem. I have already taken a look at gr_simple_framer, but code seems slightly complicated. I would appreciate any explanations/comments on how to code different input and output

Re: [Discuss-gnuradio] Different input/output rate

2008-07-21 Thread irene159
I am trying to extract data from a Turbo Code signal. My block’s input is the signal with synchro sequences between frames. The block processes this input in order to drop FEC bytes and send only useful data on the ouput. The problem is I need a complete frame to process data correctly so any

Re: [Discuss-gnuradio] Different input/output rate

2008-07-18 Thread irene159
Martin Dvh wrote: Hi Holger, The input of my signal block is a bytestream b. The output should also be a bytestream, but with a different number of outgoing items(not a multiple of b). In other words, after the transformation of the inputstream some extra-bytes have to be appended.

Re: [Discuss-gnuradio] Different input/output rate

2008-07-18 Thread irene159
Martin Dvh wrote: Hi Holger, The input of my signal block is a bytestream b. The output should also be a bytestream, but with a different number of outgoing items(not a multiple of b). In other words, after the transformation of the inputstream some extra-bytes have to be appended.

[Discuss-gnuradio] Segmentation fault (core dump)

2008-07-07 Thread irene159
Hello, I have modified gr_constellation_decoder_cb.cc in order to have a second output stream (type float) sending back min_euclid_dist. http://www.nabble.com/file/p18313925/gr_constellation_decoder_cb.cc gr_constellation_decoder_cb.cc Please take a look and let me know if there are any

Re[Discuss-gnuradio] sampling precision

2008-07-04 Thread irene159
Hello, I run into some weird results on the rational_resampler.rational_resampler_ccf output. Look at picture 1 [1] bellow: Signal input : Carrier of 1,4 Mhz sampled at 640 Ksamp/s Interporlation resampler = 2 Decimation resampler = 3 Manual extract: fractional_bw:

Re: [Discuss-gnuradio] two inputs/outputs of different data types

2008-07-03 Thread irene159
Hi, I was just asking myself the same question but I'm not sure I understood your answer. Is it possible to have two output streams of different data types? I want one to be unsignad char and the other one float or double. How is it to be coded? ...: gr_sync_block (...,

[Discuss-gnuradio] Gr_mpsk_re ceiver_cc’s costas loop issue

2008-06-10 Thread irene159
Hello, I have recently been doing some tests, simulating QPSK-modulated transmissions and studying Costas loop performance. When doing this, I noticed a problem related to gr_mpsk_receiver_cc’s costas loop NCO frequency as I already mentioned in post [1]. I have created two test files:

[Discuss-gnuradio] Import issue

2008-06-06 Thread irene159
Hello, Concerning blks2 import (blks2.rational_resampler needed) from gnuradio import blks2 works on python command line but not in python file (ImportError: cannot import name blks2). Where can this come from? Regards, Irene -- View this message in context:

Re: [Discuss-gnuradio] Import issue

2008-06-06 Thread irene159
In my case, it works replacing from gnuradio import blks2 by from gnuradio.blks2impl import rational_resampler but that doesn't explain why command line works from the terminal but not from the file... irene159 wrote: Hello, Concerning blks2 import (blks2.rational_resampler needed

Re: [Discuss-gnuradio] Trace mpsk_receiver_cc()

2008-06-04 Thread irene159
OK, so far I have been able to call gr.mpsk_receiver_cc.freq() from dqpsk.py even if I haven't found were it is coded. print NCO frequency : %f % self.receiver.freq() My purpose is to study mpsk_receiver_cc Costas loop features and I would like to get Costas loop NCO frequency value for

Re: [Discuss-gnuradio] Trace mpsk_receiver_cc()

2008-06-04 Thread irene159
Thank you very much. You have been of great help! -- View this message in context: http://www.nabble.com/Trace-mpsk_receiver_cc%28%29-tp17605464p17648942.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing

Re: [Discuss-gnuradio] Trace mpsk_receiver_cc()

2008-06-04 Thread irene159
Hello again, Sorry, I am not familiar with GNU Radio and I just keep coming up with new questions... I am simulating a transmission using IF - Base Band frequency conversion and a channel_model block introducing noise and frequency offset. As I said I am particularly interested in the Costas

Re: [Discuss-gnuradio] Trace mpsk_receiver_cc()

2008-06-03 Thread irene159
George Nychis wrote: You need to do a make, and make install ... otherwise you don't add your new modifications to the library and install the library for the python code to access. Hi, Thanks for giving me a hand. I tried make and make install in the

Re: [Discuss-gnuradio] Trace mpsk_receiver_cc()

2008-06-03 Thread irene159
Tom Rondeau wrote: Do make install from gnuradio-core/src/lib Tom You got it! Thanks, Irene -- View this message in context: http://www.nabble.com/Trace-mpsk_receiver_cc%28%29-tp17605464p17623536.html Sent from the GnuRadio mailing list archive at Nabble.com.

Re: [Discuss-gnuradio] Trace mpsk_receiver_cc()

2008-06-03 Thread irene159
By the way, in the Simple Gnuradio User Manual v1.0 [1] p.110 appears sub function (11) gr.mpsk_receiver_cc.freq(). I haven't been able to find this function, does it really exist? I would like to have your opinion, is this document compliant to GNU Radio code? Regards, Irene [1] -

[Discuss-gnuradio] Trace mpsk_receiver_cc()

2008-06-02 Thread irene159
Hello, I would like to study the implementation of Costas loop in gr.mpsk_receiver_cc. I need some additional information to be printed by this block. First of all can somebody tell me what code is executed when calling a block? Is it the constructor and the general_work function in .cc file?

[Discuss-gnuradio] Simulate transmission

2008-05-28 Thread irene159
Hello, I would like to simulate a transmission in order to test the configuration of the receiver's Costas loop. I'd like to mix the modulated signal to IF, add some noise and convert back to baseband for demodulation. The frequency value configured for channel selection at reception is to be

Re: [Discuss-gnuradio] Modulation problem ?

2008-05-22 Thread irene159
Steven Clark-2 wrote: hex 00 and 01 are not visible characters, which is why you aren't seeing anything. Looking at the data, it looks like unpacked data (ie only the bottom bit of each byte is being used). If you convert it back to packed data, it may be you'll get your original message

Re: [Discuss-gnuradio] QPSK modulation resampling

2008-05-21 Thread irene159
George Nychis wrote: irene159 wrote: Hello, Just another question concerning the file gr_mpsk_receiver_cc.cc. In the extract of code below, why are phase_error_detector_generic and decision_generic used for all BPSK, QPSK and other modulations? Have optimized algorithms

Re: [Discuss-gnuradio] Modulation problem ?

2008-05-20 Thread irene159
Steven Clark-2 wrote: This is not surprising. It is likely that you are getting some initial garbage (non-standard-ascii characters) coming out, or that you have some bit errors. Don't open it in gedit. Try: python f = open('Resultat.txt') d = f.read() f.close() print(len(d))

Re: [Discuss-gnuradio] Differential QPSK modulation resampling

2008-05-19 Thread irene159
Hello, Just another question concerning the file gr_mpsk_receiver_cc.cc. In the extract of code below, why are phase_error_detector_generic and decision_generic used for all BPSK, QPSK and other modulations? Have optimized algorithms for BPSK and QPSK already been implemented? // Select a

[Discuss-gnuradio] Modulation problem ?

2008-05-19 Thread irene159
Hello, I am testing QPSK modulation. To do so, I have created a text file that I modulate and demodulate with blks2impl dqpsk.py. The problem is the resulting demodulated file, which I can not open: Could not open the file Resultat.txt. gedit has not been able to detect the character coding.

[Discuss-gnuradio] Differential QPSK modulation details

2008-05-16 Thread irene159
Hello, I am using blks2impl dqpsk modulator/demodulator. Focusing on the qpsk demodulator: Since samples_per_symbol value must be an integer =2 and USRP samples at 64 Msamples/s with a 2^(n) possible decimation, if I have a 2100 kbps carrier (=1050 ksym/s) : - How can I possibly obtain a

[Discuss-gnuradio] 3rd order Costas Loop

2008-05-14 Thread irene159
Hello, I would like to know if a 3rd order Costas Loop is already available. I am specially interested in the capability of tracking a received waveform that experiences acceleration (rate of change in frequency) to solve Doppler shifts' issues. Thanks, Irene -- View this message in context:

Re: [Discuss-gnuradio] GNU Radio Companion execute error

2008-04-24 Thread irene159
Hello, I am also facing the “ImportError: cannot import name blks” problem. My OS is Ubuntu 7.10 and I am not sure what my gnuradio version is, I followed the wiki Ubuntu installing instructions [1] and installed gnuradio using: svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio cd gnuradio

RE: [Discuss-gnuradio] GNU Radio Companion execute error

2008-04-24 Thread irene159
Hello, I am also facing the “ImportError: cannot import name blks” problem. My OS is Ubuntu 7.10 and I am not sure what my gnuradio version is, I followed the wiki Ubuntu installing instructions [1] and installed gnuradio using: svn co http://gnuradio.org/svn/gnuradio/trunk gnuradio cd

Re: [Discuss-gnuradio] ais-tools installation problem

2008-04-22 Thread irene159
In the output of './configure --help' are there any options regarding dll's? I think this line is what is fouling you up: checking if package supports dlls... no hth, Jason. No, I didn't see any option concerning dll, options available are: $ ./configure --help Usage:

Re: [Discuss-gnuradio] ais-tools installation problem

2008-04-22 Thread irene159
In the output of './configure --help' are there any options regarding dll's? I think this line is what is fouling you up: checking if package supports dlls... no hth, Jason. No, I didn't see any option concerning dll, options available are: $ ./configure --help Usage:

Re: [Discuss-gnuradio] ais-tools installation problem

2008-04-21 Thread irene159
Don Ward wrote: Try ./configure --help (in your mysql directory) and see if you have options like --enable-static, --enable-shared, --disable-static, and/or --disable-shared. Depending on the defaults, to build a shared library (a *.dll file on Windows---what you need) you may need to

Re: [Discuss-gnuradio] ais-tools installation problem

2008-04-17 Thread irene159
Hello, Well I downloaded mysql-3.23.43, I am not sure I’ve done the right choice. I did do some Internet research before installing it and that’s when I realized that there are many problems with mysql running on Cygwin although this version was said to work. Can somebody confirm? The point is

Re: [Discuss-gnuradio] ais-tools installation problem

2008-04-16 Thread irene159
Hello, You were right; I got the problem solved by adding AM_LDFLAGS=-L/usr/local/lib/mysql to ais-tools-gnuradio-1.0.1\src\Makefile.am. The ./configure and the make seem to run fine now but when I use make check in ais-tools-gnuradio-1.0.1\src\Python I get the following error: $ make check

Re: [Discuss-gnuradio] ais-tools installation problem

2008-04-16 Thread irene159
Hello, I just noticed that I missed some things on the make output [3], specially: *** Warning: linker path does not have real file for library -lmysqlclient. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you

[Discuss-gnuradio] ais-tools installation problem

2008-04-14 Thread irene159
Hello, I would like to run ais-tools-gnuradio-1.0.1 [1] on Cygwin. Can somebody please give me the installation procedure? Are there any requirements to be considered before running the application (specially concerning Google Earth or DB)? I have installed mysql-3.23.43. I have run the standard

[Discuss-gnuradio] libusb-win32 for USRP

2008-04-03 Thread irene159
Hello, I am running GNU Radio on Cygwin and I would like to use USRP hardware. Software requirements are still a confusing for me: - USRP Driver is successfully installed (following gnuradio.org/trac/wiki/USRPWindowsDriverInstall instructions) - libusb-win32-device-bin-0.1.10.1 and sdcc-2.6.0 are

Re: [Discuss-gnuradio] Measure BER

2008-01-21 Thread irene159
Hi! I’ve started performing modulation and demodulation on the same machine but the main purpose is to make them work separately afterwards. I’ve seen some BER values on the forums and I was wondering if an “official” block had already been developed to measure it. 1) Tom, May I please have

[Discuss-gnuradio] Measure BER

2008-01-18 Thread irene159
Hi all, I'm currently working on a GSMK modem, and I would like to calculate the BER of the link. I send data using gr.vector_source_b( ) connected to a GMSK modulator/demodulator and receive the signal in gr.vector_sink_b( ). 1) How can I measure BER from the vector_source and vector_sink ? 2)