Re: Issue in file sink block

2020-11-11 Thread Christophe Seguinot
Hi I've been investigating but did not yet found the origin of this problem. I'm working under GR 3.9/Ubuntu 20.04 the bit sequence is correctly demodulated, whatever the source (txt or random) is. There is a 58 sample delay between bit sou

Re: Issue in file sink block

2020-11-11 Thread Maitry Raval
Dear sir, Thank you for your response. As I have a final application to use only demodulation and data storage using GNU radio as my transmitter is external. after that also I am facing an issue for stored data which is random not as transmitted. so request you to please guide me further in

clang formating

2020-11-11 Thread Volker Schroer
Hi, I just made a pr and got the message that the pr formatting check failed. But looking at the output I don't understand, what's wrong. Even more I'd like to know how I can do the formatting check locally. The coding guide in the wiki is empty. Thanks in advance -- Volker

Re: clang formating

2020-11-11 Thread Ron Economos
On Ubuntu 20.04: sudo apt-get install clang-format-10 Then update your changed files. clang-format-10 -i sourcefile.cc The -i formats the file in place. Otherwise, output is to stdout. Ron On 11/11/20 02:20, Volker Schroer wrote: Hi, I just made a pr and got the message that the pr formatt

Re: clang formating

2020-11-11 Thread Ron Economos
I forgot to mention, you have to run clang-format-10 in tree. It gets the formatting rules from the file .clang-format in the top level directory. Ron On 11/11/20 02:41, Ron Economos wrote: On Ubuntu 20.04: sudo apt-get install clang-format-10 Then update your changed files. clang-format-10

Re: clang formating

2020-11-11 Thread Johannes Demel
Hi, unless the clang-format behavior changed, the function call should be: clang-format --style=file -i path/to/file.cc The `--style=file` option tells clang-format to search for a `.clang-format` file. Cheers Johannes On 11.11.20 11:47, Ron Economos wrote: I forgot to mention, you have to

Re: clang formating

2020-11-11 Thread Ron Economos
It's apparently not documented, but it works without --style-file as long as a .clang-format file exists in a directory at or above your current directory. You can test it with: clang-format --dump-config Ron On 11/11/20 02:53, Johannes Demel wrote: Hi, unless the clang-format behavior chan

Re: clang formating

2020-11-11 Thread Gisle Vanem
Johannes Demel wrote: unless the clang-format behavior changed, the function call should be: clang-format --style=file -i path/to/file.cc The `--style=file` option tells clang-format to search for a `.clang-format` file. Does not work on Windows (using clang-format v10.0.0). In a .bat-file

Re: clang formating

2020-11-11 Thread Johannes Demel
Hi Gisle, `file` is not a placeholder but the literal argument. `--style=file` tells `clang-format` to search for a `.clang-format` file in the current and parent folders. Cheers Johannes On 11.11.20 13:19, Gisle Vanem wrote: Johannes Demel wrote: unless the clang-format behavior changed,

Re: clang formating

2020-11-11 Thread Gisle Vanem
Den 11.11.2020 13.28, skrev Johannes Demel: Hi Gisle, `file` is not a placeholder but the literal argument. `--style=file` tells `clang-format` to search for a `.clang-format` file in the current and parent folders. Oh. But deleting the '%GR_ROOT/.clang-format' and doing a: clang-format.

Re: Ofdm transceiver with more than 16QAM

2020-11-11 Thread pv
I don know how can I measure the SNR with QAM modulation. There is only a MPSK SNR probe. Can you tell me how to measure SNR with MQAM? Thanks for your help, Pedro Viegas Citando Marcus Müller : Hi. this is a typical question like I'd ask it when talking a student through a test for a digita

Re: Import Block "bad import syntax"

2020-11-11 Thread Barry Duggan
Hi Jim, 1) Have you done https://wiki.gnuradio.org/index.php/TutorialPythonFunctions with the changes I suggested? Did it work? 2) Did you create ~/gr-softrock in the same manner as that tutorial? 3) What is your module going to do? Is it just an audio input from a USB dongle such as the 'P

Re: Import Block "bad import syntax"

2020-11-11 Thread Elmore Family
Barry, 1) I tried this and I can specify import testpy without getting a bad syntax error. I generated my softrock module in exactly the same manner but still get the bad syntax error. Note that my document does say import testpy, not import squareme as you mentioned. Also, in order for i

Makefile:127: recipe for target 'test' failed during 'make test' command

2020-11-11 Thread Rupak Paul
Hi there, I am using Ubuntu 16.08 and GNU 3.8. When I run ''make test'' cmd for creating new OOT module, it fails and shows- .. Running tests... Test project /home/rupak/gr-howto/build Start 1: test_howto 1/2 Test #1: test_how