Re: [Discuss-gnuradio] RTTY receiver

2019-06-12 Thread barry
Hi Kyeong, 1) In lib/radioteletype/baudot_encode_bb.h I tried replacing "static const char" with "static const signed char", but it caused complications in radioteletype/baudot_encode_bb.cc, so I took an alternate approach: /* * modified by Barry Duggan KV4FV * 11 June 2019 * with Raspberry

[Discuss-gnuradio] Serial to parallel conversion

2019-06-12 Thread Sneha vasan
Hi Everyone, I am currently trying to transmit and receive random signal using ofdm modulation. So I generated the transmit signal using the MATLAB. Transmit this signal to USRP and receive it. So in order to demodulate the signal using ofdm scheme, Firstly I am trying to convert this signal fro

Re: [Discuss-gnuradio] Output files in the VITA 49 format

2019-06-12 Thread Marcus D. Leech
On 06/12/2019 09:08 AM, Sara Kim wrote: Okay, thanks! Is it possible to use the included file meta sink instead, and get what I need out of it? Also, I wanted to include the frequency at which data was collected. How would I include that information? https://www.gnuradio.org/doc/doxygen-3.7.4.

[Discuss-gnuradio] Examine data stream

2019-06-12 Thread barry
I would like to examine a stream of bytes coming from a demodulator and slicer as shown in the attached flow graph. It should be a series of 1's and 0's with 11 samples per Baudot symbol. Looking at the Time Sink, it seems to be working. Any suggestions? Thanks, Barry Duggan KV4FV Fri May

Re: [Discuss-gnuradio] Store in a variable the output of the grinspector's blocks.

2019-06-12 Thread Daniel Andres Palacios
Thanks Marcus, thats a good idea. I got the message from the debug block but, is there a way to iterate over that message recieved? When I pass pmt.is_vector(message) i got True, but then I can't get a specific object in the vector because it hasn't a get attribute. sorry for the insistence, I kin

Re: [Discuss-gnuradio] RTTY receiver

2019-06-12 Thread CEL
Hi Barry, On Wed, 2019-06-12 at 06:59 -0400, ba...@dcsmail.net wrote: > Hi Kyeong, > > 1) In lib/radioteletype/baudot_encode_bb.h I tried replacing "static > const char" with "static const signed char", but it caused complications > in radioteletype/baudot_encode_bb.cc, so I took an alternate a

Re: [Discuss-gnuradio] Serial to parallel conversion

2019-06-12 Thread CEL
You want a vector to stream (not to "stream*s*") block. The reality is that what OFDM block diagrams typically show as "parallel to serial" block is usually not actually there in software or hardware architecture. Authors just put these in there to say "hey, look, we consider these consecutive dat

Re: [Discuss-gnuradio] Store in a variable the output of the grinspector's blocks.

2019-06-12 Thread CEL
From the top of my head: for i in range(pmt.length(message)): value = pmt.vector_ref(message, i) PMT is not a beautiful construct in Python, sorry :( Best regards, Marcus On Wed, 2019-06-12 at 10:56 -0500, Daniel Andres Palacios wrote: > Thanks Marcus, thats a good idea. I got the message

Re: [Discuss-gnuradio] Store in a variable the output of the grinspector's blocks.

2019-06-12 Thread CEL
Oh, or try from pmt.pmt_to_python import pmt_to_python as p2p vector = p2p(message) for elem in vector: do_stuff_with_elem On Wed, 2019-06-12 at 10:56 -0500, Daniel Andres Palacios wrote: > Thanks Marcus, thats a good idea. I got the message from the debug block but, > is there a way to it

Re: [Discuss-gnuradio] Serial to parallel conversion

2019-06-12 Thread rear1019
On Wed, 12 Jun 2019 at 15:00:29 +0200, Sneha vasan wrote: > I am currently trying to transmit and receive random signal using > ofdm modulation. > So I generated the transmit signal using the MATLAB. Transmit this > signal to USRP and receive it. So in order to demodulate the signal > using ofdm

Re: [Discuss-gnuradio] RTTY receiver

2019-06-12 Thread Barry Duggan
Hi Marcus, I wasn't careful in getting the filenames right, but the intent and the execution were there :) If you look at bitglue/gr-radioteletype/lib/baudot_encode_bb_impl.h, the tables have a '-1' to indicate characters which do not have a corresponding Baudot code. In bitglue/gr-radiotel

Re: [Discuss-gnuradio] RTTY receiver

2019-06-12 Thread Barry Duggan
Here is my current status. I performed the following commands in the /home/pi/gr-radioteletype/build directory: pi@raspberrypi:~/gr-radioteletype/build $ make clean pi@raspberrypi:~/gr-radioteletype/build $ cmake ../ -- Build type not specified: defaulting to release. -- Boost version: 1.62.0

Re: [Discuss-gnuradio] RTTY receiver

2019-06-12 Thread Ron Economos
How did you install GNU Radio itself? If you used apt-get, then you need to install in /usr, not /usr/local. You can test where GNU Radio is installed with: which gnuradio-companion To install in /usr, use this cmake invocation: cmake -DCMAKE_INSTALL_PREFIX=/usr ../ Ron On 6/12/19 17:26, Ba

[Discuss-gnuradio] Making the fractional resampler faster

2019-06-12 Thread Eugene Grayver
The fractional resampler is frequently the most computationally expensive block in a transmitter (and even in a receiver). It is also notoriously difficult to parallelize.GR comes with a few options for non-integer resampling: polyphase, mmse, rational. I benchmarked all of them on a varie

Re: [Discuss-gnuradio] RTTY receiver

2019-06-12 Thread Kyeong Su Shin
Hello Barry: I replicated this on my Pi, and "sudo ldconfig" fixed it. Could you try that, if you haven't already The runtime path of the swig source library is set to "" like in yours, but it does not prevent the script from running (at least on my machine (tm)). (I always run "sudo ldconf

Re: [Discuss-gnuradio] RTTY receiver

2019-06-12 Thread Adrian Musceac
Hi Ron, Why do you think this would be the case? On Debian systems, Python can use site-packages from /usr/local as well, I have several GR modules installed in /usr/local and they work just fine. Moreover, you can have two versions of the same thing, one from the distro and one built manually, a

Re: [Discuss-gnuradio] Serial to parallel conversion

2019-06-12 Thread Kyeong Su Shin
Hello Sneha: To add to others' response, I would like to suggest checking out existing examples on the Internet. Just search "GNU Radio OFDM receiver" or something in those lines with your favorite search engine, and you will see some examples and tutorials regarding this. There's usually a bi

Re: [Discuss-gnuradio] Examine data stream

2019-06-12 Thread Kyeong Su Shin
Hello Barry: I am not sure how you would like to examine the data stream, but what I would first try is adding a 'File Sink' at the end of the flow graph to dump the stream into a file. If the input format of the data (to the File Sink block) is in 'Bytes', then you can simply use xxd (or your