[Discuss-gnuradio] TDMA based Multiple Access Channel
Hi, I am using an experimental setup using two transmitters and one receiver. I want only one transmitter to transmit at a given time so as to avoid collisions. For this purpose, I want to create a TDMA based multiple access channel. How can I achieve this task? Best, Ammar ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Using filesink to store noise samples
Dear Marcus, Thanks for the explanation. I was making .dat file correctly from file sink but was reading it incorrectly in Matlab. I was using fread command to read the file but it turned out specific matlab scripts (read_complex_binary.m to be exact) are to be used when parsing grc saved complex data to matlab. Sorted out the problem in the end and plotted a nice gaussian distribution. Regards, Ammar On Apr 19, 2017 12:41 PM, "Marcus Müller" <marcus.muel...@ettus.com> wrote: > The file sink doesn't produce mat files: > > https://wiki.gnuradio.org/index.php/FAQ#What_is_the_ > file_format_of_a_file_sink.3F_How_can_I_read_files_produced_ > by_a_file_sink.3F > > On 19.04.2017 08:46, Ammar Mahmood wrote: > > Dear all, > > I am trying to save noise samples using file sink to verify that noise > follows Gaussian distribution. I mat file is made by the file sink block. > When I read this mat file in mat lab, it only shows the positive samples > and does not have negative samples whereas it should have negative samples > in order for the noise to be Gaussian. Can anybody help me out in this > process? > > > Regards, > Ammar > > > ___ > Discuss-gnuradio mailing > listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > ___ > 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
[Discuss-gnuradio] Using filesink to store noise samples
Dear all, I am trying to save noise samples using file sink to verify that noise follows Gaussian distribution. I mat file is made by the file sink block. When I read this mat file in mat lab, it only shows the positive samples and does not have negative samples whereas it should have negative samples in order for the noise to be Gaussian. Can anybody help me out in this process? Regards, Ammar ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] [Import error of underlying library file in Python] [undefined symbol: fftwf_malloc]
Dear all, My custom block in GRC was being shown as undocumented. When I loaded its underlying library file in Python, I got the following import error: ImportError: /home/ammar/gr-channelsounder/build/lib/libgnuradio-channelsounder-1.0.0git.so.0.0.0: undefined symbol: fftwf_malloc I installed the FFTW library provided on [1] but was not able to remove this issue. [1] http://www.fftw.org/fftw3_doc/Installation-on-Unix.html#Installation-on-Unix Can anybody help me out regarding how to remove this error? Regards, Ammar ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Undocumented custom blocks in GNU Radio
Dear all, I am trying to run the gr-channelsounder flow graph ( https://github.com/gbaier/gr_channelsounder). The custom blocks in the flowgraph build successfully but are shown as *undocumented in GNU Radio*. Also, the following error occurs if these blocks are used in a simulation: Traceback (most recent call last): File "/home/ammar/top_block.py", line 87, in main() File "/home/ammar/top_block.py", line 81, in main tb = top_block_cls() File "/home/ammar/top_block.py", line 61, in __init__ self.channelsounder_avg_m_over_n_cc_0 = channelsounder.avg_m_over_n_cc(2000, 255) AttributeError: 'module' object has no attribute 'avg_m_over_n_cc' Can anybody help me out regarding how to remove this error? Regards, Ammar p.s. I also tried the solution provided to remove attribute errors provided on below mentioned link to no avail as there were no faulty methods or I was not able to find them by running the " nm -C -u libgnuradio-.so | grep MyClass " command replacing modulename and Myclass with the respective names of my module and class. http://lists.gnu.org/archive/html/discuss-gnuradio/2015-08/msg00374.html ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio