Simulation halts using repeat block in GRC with a picture and the grc file.
I am trying to use a repeat block to increase the number of samples per bit of a data source. It only runs once if the repeat number is anything but 1. I have a attached a simple example of my code.Thanks...Tom repeatNumberTest.grc Description: Binary data
Re: Python Block : no access to code
Excuse my ignorance of Linux/Gnuradio but copying the EPY block to an other directory doesn't make sense because I can't change where this file is being place and/or looked for. I tried moving it to a directory where the grc and py files are located but I get the error "no such file or directory" and then it seems to generate another named EPY.py block that I don't have permission to access.1) How do I move/copy it correctly ? and/or how do I tell gnuradio-companion where to lookf ro the file?2) I don't see where I can change the "Block ID Field". I also tried the "Creating Python OOT with gr-modtool - GNU Radio " Creating Python OOT with gr-modtool - GNU Radiobut when I follow all the steps and open gnuradio-companion there isn't a "customModule" dropdown selection in the block library.Thanks...Tom | | | | | | | | | | | Creating Python OOT with gr-modtool - GNU Radio | | | On Thursday, February 1, 2024 at 02:21:18 PM CST, Paul Atreides wrote: Tom:1) This is really more of a Linux file system permissions issue, but I would guess that if you copy the EPY block to any directory in /home/user, you will be in good shape. If you still get the error, you may need to change the permissions of the actual python file, a quick Google search or stackoverflow will tell you how to do that. When you place an embedded block in GNURadio companion, The block ID is automatically populated by default with the block type and an index (just like every other block), because there are block contents for that particular index of the embedded block, a random stream characters is generated to associate the text file as the contents for that block. In GNURadio 3.10 you can change the generated name of the embedded block by editing the block ID field when you create the embedded block in GNURadio companion. Hope this helps On Feb 1, 2024, at 14:38, tom sutherland wrote: I am running a VirtualBox Ubuntu 22.043 with Radioconda/gnuradio-companion. I have a python block that I want to use but when I try to open it, I get the error /usr/bin/env: ‘/tmp/epy_block_0_nlgw0hml.py’: Permission denied. Its a directory/file that I don't have access to. 1) How do I fix this issue?2) Why does the Python Block, name = MyBlock, save anything to such a non-descriptive name like epy_block_0_nlgw0hml.py ? Thanks...Tom
Python Block : no access to code
I am running a VirtualBox Ubuntu 22.043 with Radioconda/gnuradio-companion. I have a python block that I want to use but when I try to open it, I get the error /usr/bin/env: ‘/tmp/epy_block_0_nlgw0hml.py’: Permission denied. Its a directory/file that I don't have access to. 1) How do I fix this issue?2) Why does the Python Block, name = MyBlock, save anything to such a non-descriptive name like epy_block_0_nlgw0hml.py ? Thanks...Tom
gr-lora CMake error
Has anyone downloaded and installed gr-lora from https://github.com/BastilleResearch/gr-lora/ ? I follow the instructions but get this error when I run cmake ../ "CMake error at CMakeLists.txt:128 (message): GNURadio Runtime required to compile lora" I am using Ubuntu 22.04.3 LTS and GNURadio Companion 3.10.1.1 (Python 3.10.12)I can't find a solution searching the web.Thanks...Tom GitHub - BastilleResearch/gr-lora: GNU Radio OOT module implementing the LoRa PHY, based on https://github.com/matt-knight/research/tree/master/2016_05_20_jailbreak | | | | | | | | | | | GitHub - BastilleResearch/gr-lora: GNU Radio OOT module implementing the... GNU Radio OOT module implementing the LoRa PHY, based on https://github.com/matt-knight/research/tree/master/201... | | |
Re: Some GRC files run with no errors but don't plot
Any solution to the problem of running out of date in one path?Tom On Thursday, October 12, 2023 at 11:02:06 AM CDT, discuss-gnuradio-requ...@gnu.org wrote: Send Discuss-gnuradio mailing list submissions to discuss-gnuradio@gnu.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.gnu.org/mailman/listinfo/discuss-gnuradio or, via email, send a message with subject or body 'help' to discuss-gnuradio-requ...@gnu.org You can reach the person managing the list at discuss-gnuradio-ow...@gnu.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Discuss-gnuradio digest..." Today's Topics: 1. Some GRC files run with no errors but don't plot (tom sutherland) 2. Re: Some GRC files run with no errors but don't plot (Marcus Müller) -- Message: 1 Date: Thu, 12 Oct 2023 11:36:24 + (UTC) From: tom sutherland To: "discuss-gnuradio@gnu.org" Subject: Some GRC files run with no errors but don't plot Message-ID: <1055450876.6185365.1697110585...@mail.yahoo.com> Content-Type: text/plain; charset="utf-8" I have a simple grc file that shows the difference in Interpolation and Decimation using the Rational Re-sampler blocks. The program runs once, a "Time Sink" shows the signals(once) and then stops plotting and the Frequency Sink does not show a frequency plot at all. I've had other programs that do similar things, runs but nothing shows, once and freezes or for a few cycles and stops. Any thoughts on causes and /or how to solve/debug it would be appreciated. I am running GRC 3.10.5.0 on a Windows 10 Enterprise 12th Gen i7 machine with 32GB RAM. I've attached the grc/py and plot files. Thanks...Tom -- next part -- An HTML attachment was scrubbed... URL: <https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20231012/233cf07a/attachment.htm> -- next part -- A non-text attachment was scrubbed... Name: RationalResamplerInterpAndDecimation.grc Type: application/octet-stream Size: 7734 bytes Desc: not available URL: <https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20231012/233cf07a/attachment.obj> -- next part -- A non-text attachment was scrubbed... Name: RationalResamplerInterpAndDecimation.png Type: image/png Size: 83107 bytes Desc: not available URL: <https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20231012/233cf07a/attachment.png> -- next part -- A non-text attachment was scrubbed... Name: RationalResamplerInterpAndDecimation.py Type: application/octet-stream Size: 10462 bytes Desc: not available URL: <https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20231012/233cf07a/attachment-0001.obj> -- next part -- A non-text attachment was scrubbed... Name: 1697110214110blob.jpg Type: image/png Size: 255699 bytes Desc: not available URL: <https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20231012/233cf07a/attachment-0001.png> -- Message: 2 Date: Thu, 12 Oct 2023 13:59:07 +0200 From: Marcus Müller To: discuss-gnuradio@gnu.org Subject: Re: Some GRC files run with no errors but don't plot Message-ID: Content-Type: text/plain; charset=UTF-8; format=flowed I think I can explain! Both sinks need to always consume the same number of input items from all their inputs. So, even if you disabled the time sink, the upper sink would quickly grind to a halt, because the "lowest rate" Rational Resampler (interp=1,decim=4) would not be able to produce the samples needed to keep up with the "highest rate" resample (interp=4, decim=1). Both resamplers work on the same input, just that the lowest-rate one takes 16× the amount of input to produce the same amount of output as the highest-rate one. Since both share the same input, and that input has a finite buffer, this can't work for long. So, your flow graph has an architectural shortcoming, either way. The time sink hits that bug you've built quicker, because it has no throttle in the way. Best, Marcus -- Subject: Digest Footer ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- End of Discuss-gnuradio Digest, Vol 252, Issue 6
Re: Python tutorials (was: Re: Discuss-gnuradio Digest, Vol 250, Issue 16)
To answer your question* below, here is an example that may clarify what I am asking. Example: I have a 'vector source' of 63 floating point numbers, [1.2, 4.5, 2.3, 8.1 ...], that is outputting one floating point point number. It sends out one number at each sample time (Can I assume one sample at a time i.e. it only sends 1 32bit number at a time). If I create a python block that takes the input value. I want a "work" function that can calculate the average of the current input value and 5 previous inputs. I have these questions: Questions:1) How do I save the previous values in "memory" that are used to generate the new average? A) Does/can the python module store old previous values? If so how? B) How much delay does the the python code cause? i.e If I have the original data and "delay" data and plot them on a time sync are the aligned? C) Can the output of the python block ever send data back to an another block that was in the signal path before it, i.e. feedbackThanks...Tom *Ref: > Does it work on each sample or can you send it an array? Is the Python in/out > synchronized with the data stream? It's not clear what you mean here. "the data stream" is what you're processing here. Cheers, Marcus On Sunday, August 20, 2023 at 08:16:23 PM CDT, SHAKTHIVEL S 2021 Batch,PES University wrote: Hi Marcus,I got small doubt after looking at your reply, the self.consume takes (inputport , len(in0)) as arguments but the input length depends on the number of output_items / input_items as in0 = input_items[0][:len(output_items[0])] which inturn depends on the noutput_items / ninput_items variable , right? My doubt is ,aren't the below functions in top_block.py define the default length of input vectors / value of ninput_items? def start(self, max_noutput_items=1000): """ Start the flowgraph with the given number of output items and return. """ top_block_start_unlocked(self._impl, max_noutput_items) def stop(self): """ Stop the flowgraph """ top_block_stop_unlocked(self._impl) def run(self, max_noutput_items=1000): """ Start the flowgraph with the given number of output items and wait. """ self.start(max_noutput_items) self.wait() Thanks and regardsShakti On Sun, Aug 20, 2023 at 4:02 PM Marcus Müller wrote: Hi Shakti, hi Tom, first off: a friendly reminder to **not** forget to change the subject line when replying to digest emails, see the sentence you literally replied to: When replying, please edit your Subject line so it is more specific than "Re: Contents of Discuss-gnuradio digest..." Anyways, what Shakti recommends makes not too much sense, sorry! All the files are "exported from wiki", in other words, the original version is in the very wiki with the tutorials in it. That's why it says that in the file name :) https://wiki.gnuradio.org/index.php?title=Usage_Manual To address Tom's questions: > If I use the "input" to the block, how many samples are processed each time > the Python code is called? As many as you process. That's up to your code! In a general block, you need to call `self.consume` (or `consume_each`) yourself to tell the runtime how much of the available input you consumed. You need to return the number of samples you have produced at the end of your (`general_`) work method. In the sync block (and fixed-rate decimator and interpolators), what you return inherently defines how much you consumed, so don't call `consume` or `consume_each` in that case. > Does it pass a byte, float, complex, vector, etc... on at a time? No, but that's really clearly illustrated in the Python tutorial! Seehttps://wiki.gnuradio.org/index.php?title=Creating_Your_First_Block#Editing_Work_Function : As you can see, `input_items` is a vector of vectors, each row containing the input items from one of the input ports your block has, and then each vector there is many items. > Does it work on each sample or can you send it an array? Is the Python in/out > synchronized with the data stream? It's not clear what you mean here. "the data stream" is what you're processing here. Cheers, Marcus On 20.08.23 05:03, SHAKTHIVEL S 2021 Batch,PES University wrote: Hi, You may check in the docs folder in the GitHub page under usage-manual, Handling flowgraphs.txt and types of blocks.txt files until someone who is expert answer your questions. Hope that helps. Thanks.. Shakti On Sun, Aug 20, 2023, 04:54 tom sutherland wrote: I've gone through the Python tutorial but have some questions. If I use the "input" to the block, how many samples are proce
Re: Discuss-gnuradio Digest, Vol 250, Issue 16
0:08:51 +0200 From: Marcus Müller To: discuss-gnuradio@gnu.org Subject: Re: Using a signal as a parameter in a block? Message-ID: <41d0ac35-16ce-dff0-5eb7-7d0b4202c...@gnuradio.org> Content-Type: text/plain; charset=UTF-8; format=flowed Hi Tom, You are assuming the "delay" input of the Delay block was sample-synchronous – it's not! Messages are asynchronous to samples by design. Repeating the same message hence doesn't do what you want: What you're trying to do, keep the delay constant for 1023 samples, then change it, keep it constant… but that would require that the delay block "waits" for a new message for every sample it processes. It doesn't (and it can't). I think in your situation, learning how to write a Python (or C++, if that's easier for you) block to do in one place what you want to happen here would be the only solution – and not too hard. Best regards, Marcus On 17.08.23 14:59, tom sutherland wrote: > I want to use the output value of a signal generator as the delay value of a > delay block. > Is there a way to pass the output of a signal generator(saw tooth) to the > delay block? I > have attached an initial grc file and a picture of what I want to do. Any > help would be > appreciated. > Thanks...Tom > PS Do you know if I need to sign up for any workshops, etc.. at the GNURadio > Conference > next month or do I just show up and take a seat? I've already registered. > > Inline image > > -- Message: 3 Date: Fri, 18 Aug 2023 13:41:16 +0530 From: Sowji Srinithi To: discuss-gnuradio@gnu.org Subject: Re: Discuss-gnuradio Digest, Vol 250, Issue 15 Message-ID: Content-Type: text/plain; charset="utf-8" Qt GUI: Could not restore geometry: restoreGeometry(self, geometry: Union[QByteArray, bytes, bytearray]): argument 1 has unexpected type 'NoneType' [INFO] [UHD] linux; GNU C++ version 12.3.0; Boost_107400; UHD_4.4.0.0+ds1-4 Traceback (most recent call last): File "/home/sowjanya/Downloads/fm_example.py", line 238, in main() File "/home/sowjanya/Downloads/fm_example.py", line 216, in main tb = top_block_cls() ^^^ File "/home/sowjanya/Downloads/fm_example.py", line 84, in __init__ self.uhd_usrp_source_0 = uhd.usrp_source( RuntimeError: LookupError: KeyError: No devices found for -> Empty Device Address how to fix this error How to fix the above error On Thu, 17 Aug 2023 at 21:37, wrote: > Send Discuss-gnuradio mailing list submissions to > discuss-gnuradio@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > or, via email, send a message with subject or body 'help' to > discuss-gnuradio-requ...@gnu.org > > You can reach the person managing the list at > discuss-gnuradio-ow...@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Discuss-gnuradio digest..." > > > Today's Topics: > > 1. Using a signal as a parameter in a block? (tom sutherland) > > > -- > > Message: 1 > Date: Thu, 17 Aug 2023 12:59:58 + (UTC) > From: tom sutherland > To: "discuss-gnuradio@gnu.org" > Subject: Using a signal as a parameter in a block? > Message-ID: <661605185.819399.1692277198...@mail.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > I want to use the output value of a signal generator as the delay value of > a delay block. Is there a way to pass the output of a signal generator(saw > tooth) to the delay block? I have attached an initial grc file and a > picture of what I want to do. Any help would be appreciated.Thanks...TomPS > Do you know if I need to sign up for any workshops, etc.. at the GNURadio > Conference next month or do I just show up and take a seat? I've already > registered. > > > > > -- next part -- > An HTML attachment was scrubbed... > URL: < > https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20230817/353462d6/attachment.htm > > > -- next part -- > A non-text attachment was scrubbed... > Name: 1692277050668blob.jpg > Type: image/png > Size: 41672 bytes > Desc: not available > URL: < > https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20230817/353462d6/attachment.png > > > -- next part -- > A non-text attachment was scrubbed... > Name: rampAsDelayInput.grc > Type: application/octet-stream > Size: 4072 bytes > Desc: not available > URL: < > https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/202308
Using a signal as a parameter in a block?
I want to use the output value of a signal generator as the delay value of a delay block. Is there a way to pass the output of a signal generator(saw tooth) to the delay block? I have attached an initial grc file and a picture of what I want to do. Any help would be appreciated.Thanks...TomPS Do you know if I need to sign up for any workshops, etc.. at the GNURadio Conference next month or do I just show up and take a seat? I've already registered. rampAsDelayInput.grc Description: Binary data
Fw: Help Feedback with GNURadio Companion
Is there a tutorial, example or guide to creating feedback loop (PLL, Costas, etc...) using Companion/python? Thanks...Tom
[Discuss-gnuradio] Keeping an index into a file or data being read
How do I keep up with how many values in a file or streamed value (from RTL device) that have been read into my flow graph? Normally in C/C++, Matlab etc... I would just have a counter of some variety. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Determine index of max value in FFT
How do you determine the index of the maximum value of the output of a FFT? e.g. I have a FFT and then a "ComplexToMag^2" block and I want to know the max value and its corresponding index (i.e. for a 4096 point FFT the index occured at 63).Thanks...Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Create a "virtual" variable using outputs from another block
Is there a way to take the output from ablock and make it appear as though that signal is a variable? e.g. take theoutput from a “signal source” block and sink it into a block that creates a“variable” named ‘myfreqvar”. Then use “myfreqvar” as a parameter in otherblocks. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Costas loop lock?
I am using a Costas loop for carrier recovery with QAM16 data. The carrier is only 2khz. The I/Q output of the Costas loop seems to track (the original sin/cos of the modulating carrier's Frequency Phase) steadily for a long period (minutes) and then the Phase moves off, normally in +/- 45 or 90 degrees in one or both of the phases. Any thoughts on why this occurs or how I can fix this issue? Thanks...Tom___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help: Display Freezes
I notice for some reason the scope display goes dim and seems to continue to display signals but you can not change any sliders or change scope tabs and if you try to stop it from the scope display(pressing the X in the upper left corner) it says The window, My Scope is not responding. Forcing this application to quit will cause you to lose any unsaved changes. I have a throttle in the flow graph. This behavior seems to happen after adding a block to the flow graph, it doesn't just suddenly appear. Thanks...Tom___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help: Feedback causing Flow graph loops
I am trying to make a simple PLL using a VCO but I get an error RuntimeError:flow graph has loops!. Anyway around that? Thanks...Tom___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help: Constellation Receiver
I have gotten the Constellation Receiver block so it seems to run without errors but I don't see much out. I assume I am suppose to be feeding it a complex baseband I/Q signal. What do the output OUT, SYMBOL, Error, Phase Freq represent? I am getting signals out of the Error/phase/freq outputs but nothing out of Out or Symbol. Const Recv. Parameters: (suggestions anyone?) Loop bandwidth == 6.28/100 Min Freq Deviation == 0.6 Max Freq Deviation == 0.9 Tom REF: Tom, I am trying to use the Constellation Receiver Block and one of the Parameters is Constellation Object. Is this a pointer to an object and how/what creates this object? I have looked at the qam.py file but don't follow how this relates to placing a block down in gnuradio companion. In GRC u can use 1) from gnuradio import digital (Using Import block) 2) my_const_obj = digital.constellation_qpsk() (Using variable block). To see other options for creating the constellation object see http://gnuradio.org/doc/doxygen/classgr_1_1digital_1_1constellation.html 3) In constellation receiverconstellation Object parameter add my_const_obj.base() -Adeel Sent from Yahoo! Mail on Android ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] help: Constellation receiver Object Types
I wanted to use the Constellation Receiver Block for QAM16 but the Class Reference only shows 8PSK, BPSK, DPSK PSK, and QPSK. Can this be used for 16QAM? Thanks...Tom___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help: Constellation Receiver::Object
I am trying to use the Constellation Receiver Block and one of the Parameters is Constellation Object. Is this a pointer to an object and how/what creates this object? I have looked at the qam.py file but don't follow how this relates to placing a block down in gnuradio companion. Thanks...Tom Sent from Yahoo! Mail on Android ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help Pybombs
I have in stalled pybombs. I looked at all the projects in the recipe directory and have run ./pybombs install gr-ham and a few others but can't figure out what it is installing and WHERE did it put it. I thought it was installing some examples but I can't find anything. Thanks...Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help: QAM Constellation and PolyPhase Clock
I have simple 16QAM Modulator block and am plotting the constellation with and without the a polyphase clock block . The constellation directly out of the modulator is not 16 points or even blobs but random looking points. I put it into a QAM Demod block and it demodulates it correctly. The constellation plot of the polyphase clock block shows 16 distinct points but when demodulated is quite noisy. Can anyone explain: 1) Why is the output of the QAM Modulator block not show as 16 points? 2) Why would the corrected QAM Modulation not give better demodulation output? I have attached the ConstellationQuestion.grc file. Thanks...Tom ContstellationQuestion.grc Description: Binary data ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help: System hanging up
I have project with a sine wave signal source, mixers, QAM de/modulators, etc. and have a couple of scope with multiple channels and a couple of WX GUI FFT sinks. I have a throttle on a scope input close to the front end of the signal chain. Everything seems to run for a 20-30 seconds, and then it freezes. Anyone have a suggestion as to what may cause if to freeze? Thanks...Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] wav file source question
I don't know how to post the answer to the discussion group correctly so I just sent this to you. I got the same errors. I can write a wav file, I can play the wav file using any other audio player but GNUradio wav source block gives me the same no samples.. error. I got around this by using the File Source and File Save blocks using *.wav as the names. It seemed to work. Tom S. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] help QAM16 Encoding / Transmission
I want to QAM16 encode a band limited (0-3khz) signal on one computer. I want to connect this computer to another computer running a QAM16 Decoder program. The QAM16 encoded signal needs to be able to be sent over the audio channel(single channel) of the computer. How can take the complex output of the QAM16 module and mix it so that it can be sent over a single audio channel? Need also to demodulate it on the other side. Thanks...Tom Mixer_QAM DecodeOnly.grc Description: Binary data Mixer_QAM EncodeOnly.grc Description: Binary data ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Help QAM decoding
I have audio block feeding a 16QAM modulator block and that directly connected to a 16QAM demodulator block. This connection is complex where I am assuming the I-Q is being passed as a complex number. I want to feed the output of the 16QAM modulator back out an audio output block then pass it back in via a Audio Input block and then through the 16QAM demodulator. Questions: 1) How would I would I pass out the modulated 16QAM signal? ( I was thinking about taking the magnitude of the complex(I-Q) signal out of the 16QAM module) 2) If I read back the 16QAM modulated signal, it will be a real signal. How do I produce the I-Q channels for feeding the 16QAM demodulator. Thanks...Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] help QAM
I have a simple 16QAM project. I want to do audio but for right now I have a signal source constant input to the QAM module. I am trying to display the constellation diagram but it's not displaying what I think it should. I have a few questions 1) I would think that inputing a constant value into the QAM module would produce a single point, it doesn't, it puts up a grouping of 8 points of the 16 possible locations. I am trying to verify the input verses output. 2) The QAM module expects a char type which I assume is 4 bits. If I have 8-bit (byte) data from a audio source, how do I feed the QAM module? 3) How do I setup a QAM-Demod module to produce an output? I don't seem to get anything out that resembles the input. Thanks...Tom___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Simple QAM project
I am new to linux and GNURadio. I don'g follow where the 1 bit/byte is coming from. Does the audio source not deliver 8bit/sample or how do you figure that out? I don't see anything such as gnuradiodigitalgeneric_mod_demod.py in my directories. Thanks for the help. Tom -- Tom, There are few changes required in ur FG 1: PSK/QAM Modulator takes packed byte input (8 bits per byte) instead of 1 bit per byte see gnuradiodigitalgeneric_mod_demod.py 2: Constellation sink work only for PSK modulation M=2,4,8. To see output constellation of QAM-16 u will have to first downsample it to 1 sample_per_symbol and then use wx-scope-sink in XY-Mode Down-sampling can be done using symbol-timing blocks or manually (delay+keep1inN combination) as in attached FG -Adeel From: Adeel Anwar adeela...@gmail.com To: tom sutherland alphatoz...@yahoo.com; discuss-gnuradio@gnu.org Sent: Friday, July 5, 2013 10:25 PM Subject: Re: [Discuss-gnuradio] Simple QAM project Can u attach ur GRC file? -Adeel On Fri, Jul 5, 2013 at 5:48 AM, tom sutherland alphatoz...@yahoo.com wrote: I am trying to get data through a QAM-16 Modulator and just display the data stream on a Constellation Sink. I have 8khz sampled 8-bit data(char) going into the QAM Mod block. I have the output of the QAMmod block going directly into the Const Sink. I am not seeing anything on the Constellation Sink. I put a throttle block in but that didn't help. Any thoughts on what could be wrong? I have followed the GNUradio tutorial: Part 4 by balint256 but didn't help. Thanks...DT ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Simple QAM project
Attached grc file From: Adeel Anwar adeela...@gmail.com To: tom sutherland alphatoz...@yahoo.com; discuss-gnuradio@gnu.org Sent: Friday, July 5, 2013 10:25 PM Subject: Re: [Discuss-gnuradio] Simple QAM project Can u attach ur GRC file? -Adeel On Fri, Jul 5, 2013 at 5:48 AM, tom sutherland alphatoz...@yahoo.com wrote: I am trying to get data through a QAM-16 Modulator and just display the data stream on a Constellation Sink. I have 8khz sampled 8-bit data(char) going into the QAM Mod block. I have the output of the QAMmod block going directly into the Const Sink. I am not seeing anything on the Constellation Sink. I put a throttle block in but that didn't help. Any thoughts on what could be wrong? I have followed the GNUradio tutorial: Part 4 by balint256 but didn't help. Thanks...DT ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio simpleSinewave.grc Description: application/gnuradio-grc ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Simple QAM project
I am trying to get data through a QAM-16 Modulator and just display the data stream on a Constellation Sink. I have 8khz sampled 8-bit data(char) going into the QAM Mod block. I have the output of the QAMmod block going directly into the Const Sink. I am not seeing anything on the Constellation Sink. I put a throttle block in but that didn't help. Any thoughts on what could be wrong? I have followed the GNUradio tutorial: Part 4 by balint256 but didn't help. Thanks...DT___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio