Re: [Discuss-gnuradio] question about the synchronization symbol used in ofdm example

2014-11-02 Thread xianda
(data)).Can you explain it? Best regards, Kun At 2014-11-03 00:00:29, "Aditya Dhananjay" wrote: Hello Kun, Could you please verify whether the input to the FFT call are supposed to be shifted or not? Best, Aditya On Sun, Nov 2, 2014 at 10:44 AM, xianda wr

[Discuss-gnuradio] question about the synchronization symbol used in ofdm example

2014-11-02 Thread xianda
Hello all: Thank you in advance.I have two questions about the symbol used in ofdm example. 1.The first synchronization symbol is: n1=0001.414213538169860-1.4142135381698601.414213538169860-1.414213538169860-1.414213538169860-1.4142135381698601.414213

[Discuss-gnuradio] source code of the block "WX GUI FFT Sink"

2014-10-06 Thread xianda
Hi all: Thanks in advance.I want to ask two questions: 1.Where is the source code of the block "WX GUI FFT Sink"?How does it calculate the power? 2.Which version of the gnuradio start to support the USRP N210?I just want to know the answer.Thanks.I know the latest on

Re: [Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
ction. It's N/(N+CP). > >M > >On 10/06/2014 11:29 AM, xianda wrote: >> >> Hi Martin: >>Thanks.But I'm confused about it. >> >> First, data goes through the HPD, which takes out the CP. The >> outgoing rate of th

Re: [Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
is removed. This further reduces the rate, but >let's ignore that. It's also dependent on the packet length. > >Since the FFT doesn't change the rate, what you want is most likely r3. > >M > > >On 10/06/2014 10:36 AM, xianda wrote: >> Hi all: >>

Re: [Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
x27;s output is already OFDM symbols ("FFT-ready"). So, the >output item rate is > >r3 = r2/N > >Then, the packet header is removed. This further reduces the rate, but >let's ignore that. It's also dependent on the packet length. > >Since the FFT does

[Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
Hi all: Thanks in advance. Example:gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc. If I set the sample rate of usrp equal to 1Msps,then what is the sample rate of the output of the FFT block?Thank you very much. Best regards, xd ___

Re: [Discuss-gnuradio] questions about get_tags_in_range

2014-08-07 Thread xianda
egards, xd At 2014-08-07 03:47:53, "Marcus Müller" wrote: >Hi Xianda, > >On 07.08.2014 08:10, xianda wrote: >> Hi all: >> I'm reading the source code ofdm_chanest_vcvc_impl.cc.And I don't >> know this command: >>

[Discuss-gnuradio] questions about get_tags_in_range

2014-08-06 Thread xianda
Hi all: I'm reading the source code ofdm_chanest_vcvc_impl.cc.And I don't know this command: // Propagate tags std::vector tags; get_tags_in_range(tags, 0,nitems_read(0), nitems_read(0)+framesize); I will try my best to explain my question more clearly. 1.

Re: [Discuss-gnuradio] run gr_specest

2014-08-06 Thread xianda
directory Best regards, xd At 2014-08-06 08:09:06, "Marcus Müller" wrote: >Sorry, my bad. Fixed my fix, should be clear now. Maybe you have to pull >--force, sorry about that. > >On 06.08.2014 12:20, xianda wrote: >> Hi Marcus: >>

Re: [Discuss-gnuradio] run gr_specest

2014-08-06 Thread xianda
submitted a pull request. You can locally use my change by doing git pull https://github.com/marcusmueller/gr-specest.git fix_encoding Greetings, Marcus On 06.08.2014 08:58, xianda wrote: Hi all: I have installed the gr_specest toolbox successfully.And I use the gnuradio

[Discuss-gnuradio] run gr_specest

2014-08-06 Thread xianda
Hi all: I have installed the gr_specest toolbox successfully.And I use the gnuradio 3.7.5.But when I run the specest_from_file.py,error exists: File "/usr/local/bin/specest_from_file.py", line 142 SyntaxError: Non-ASCII character '\xce' in file /usr/local/bin/specest_from_file

Re: [Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-30 Thread xianda
Hi Marcus: Thank you.I just want to know whether the example tx_ofdm.grc add start_of_burst at the beginning of every packet and add end_of_burst at the end of every packet? Best regards, xd At 2014-07-31 00:03:33, "Marcus Müller" wrote: >Sorry Xianda, &

Re: [Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-30 Thread xianda
know whether need I add start_of_burst at the beginning of every packet and add end_of_burst at the end of every packet?Am I right? Best regards, xd At 2014-07-30 11:39:02, "Marcus Müller" wrote: Hi Xianda, if you don't use gnuradio, this might not be the right list for you...

Re: [Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-30 Thread xianda
On 07/30/2014 03:59 AM, xianda wrote: >> Hi all: >> I know a packet in the example tx_ofdm.grc include a preamble,a >> header,the payload and crc value.Recently I have used the UHD API to >> send packet.And I want to know whether the tx_ofdm.grc add >> start_of_

[Discuss-gnuradio] ofdm channel estimation

2014-07-30 Thread xianda
Hi Martin: Greeting from xd.Thank you so much for your example tx_ofdm.grc and rx_ofdm.grc.I want to ask a question about channel estimation.And I know that the channel estimate is on a tag.But I want to make some changes on your example.So I just want to ask whether my understan

[Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-29 Thread xianda
Hi all: I know a packet in the example tx_ofdm.grc include a preamble,a header,the payload and crc value.Recently I have used the UHD API to send packet.And I want to know whether the tx_ofdm.grc add start_of_burst and end_of_burst automatically.Namely,need I add start_of_burst at the b

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-25 Thread xianda
Best regards, xd At 2014-07-25 05:40:58, "Marcus Müller" wrote: >Xianda, >my advice: Please try to draw a complete picture of what you are doing. >What are your sources, blocks you interchange, your sinks, what do you >do to make your flowgraph stop (under which circumst

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-25 Thread xianda
er" wrote: >Hi xianda, > >tb.wait() does exactly what you said it does: Wait for the flow graph to >complete.A flowgraph will run until one of the blocks in that flowgraph >signal that they're done, or you call tb.stop(). >If you don't have such a block, your tb

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-25 Thread xianda
"start".Sorry for my poor english if you can't understand. Thank you so much. Best regards, xd At 2014-07-25 04:59:52, "Marcus Müller" wrote: >Hi Xianda, > >as usual, saying "doesn't work", "can't run&quo

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-21 Thread xianda
I forget to say:the "sink" also different with each other.Namely: source--->block A(just one block)--->sink1 source--->block B(just one block)--->sink2 Can someone help me?Thanks. At 2014-07-21 06:50:10, "xianda"

[Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-21 Thread xianda
Hi all: Thank you in advance.I want to ask some questions about the "Reconfiguring Flowgraphs". My flowgraphs: source--->block A(just one block)--->sink And I want to run the flowgraphs for 30 seconds,and then run the other flowgraphs:

Re: [Discuss-gnuradio] ofdm channel estimation

2014-07-15 Thread xianda
Oh,I guess that because i receive signal which at the frequency of 2.45e9.It is like the wifi.May be I receive the wifi signal?Am i right? Thank you. At 2014-07-15 05:17:35, "Martin Braun" wrote: >On 07/15/2014 09:39 AM, xianda wrote: >> Hi Martin: >>

Re: [Discuss-gnuradio] ofdm channel estimation

2014-07-15 Thread xianda
est regards, xd At 2014-07-15 05:17:35, "Martin Braun" wrote: >On 07/15/2014 09:39 AM, xianda wrote: >> Hi Martin: >> Thank you for your kindly reply. >> Another question I want to ask. >> When I use the r

Re: [Discuss-gnuradio] ofdm channel estimation

2014-07-15 Thread xianda
quot;Martin Braun" wrote: >On 07/13/2014 01:06 PM, xianda wrote: >> Hi all: >> Have you ever using the >> gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc?And I change the >> rx_ofdm.py as follows: >> self.connect((self.digital_ofdm_chanest_vcvc_0, 1), &g

[Discuss-gnuradio] ofdm channel estimation

2014-07-13 Thread xianda
Hi all: Have you ever using the gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc?And I change the rx_ofdm.py as follows: self.connect((self.digital_ofdm_chanest_vcvc_0, 1), blocks.file_sink(gr.sizeof_gr_complex * fft_len, 'channel-estimate.dat')) And i use the matlab:

[Discuss-gnuradio] ABI-error

2014-07-13 Thread xianda
Hi all: Thank you in advance. I encouter an error: linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.007.000-133-g6bd9fed2 GR-UHD detected ABI compatibility mismatch with UHD library. GR-UHD was build against ABI: 3.7.1-0, but UHD library reports AB

[Discuss-gnuradio] benchmark_ofdm_mimo(trondeau branch mimo files)

2014-07-05 Thread xianda
Hi all: Thanks in advance. I search the mail list and find "benchmark_ofdm_mimo" .(http://lists.gnu.org/archive/html/discuss-gnuradio/2012-02/msg00118.html) But I can't find the file.Can someone tell me where can i find the file?Thanks. Best

Re: [Discuss-gnuradio] gnuradio/gr-digital/python/digital/ofdm_receiver.py

2014-06-05 Thread xianda
e new code? Thanks very much. Best regards, xianda At 2014-06-05 10:21:54, "Martin Braun" wrote: >On 05.06.2014 15:26, xianda wrote: >> But i have read the >> gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc.And i think the connection >> way of th

[Discuss-gnuradio] gnuradio/gr-digital/python/digital/ofdm_receiver.py

2014-06-05 Thread xianda
Hi all: Thank you in advance. Version of gnuradio:3.7.4 I have read the gnuradio/gr-digital/python/digital/ofdm_receiver.py,and i see: self.connect(self, self.chan_filt)# filter the input channel self.connect(self.chan_fi

[Discuss-gnuradio] something about forecast()

2014-06-03 Thread xianda
Hi all: I want to know something about the forecast(). I have already known that forcast() can tell scheduler how many input items are required for each output item. 1.But now i have read two example: The first one: void your_block::forecast(i

[Discuss-gnuradio] OFDM_Cyclic_Prefixer

2014-06-01 Thread xianda
Hi all: Thank you in advance. I want to test my understanding about ofdm_cyclic_prefixer.As this picture say:I place a file sink before and after ofdm_cyclic_prefixer block respectively.And the result is that file "d.dat" just add the 16 cp when compared to "c.dat".And maybe t

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
fdm_cyclic_prefixer.h>.But as you said fft_complex_vcc is a block.But now how can i call it in my code?(It's a block.It has work function.)Can i add it's work function in my code?Thank you.Best regards,xianda At 2014-05-31 07:36:24, "Marcus Müller" wrote: >Hi Xianda, >

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
-> [ USRP sink 1] [file source 2] --> [ (I)FFT ] --> [ cyclic prefixer ] --> [ USRP sink 2] Can i realize it in grc?Or should i write the c++ code? Thank you.Thank you. Best regards, xianda At 2014-05-31 09:15:03, "Marcus Müller" wrote: >Hi! > >The gr-uhd USRP

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
est way to realize it?Use the c++ or write python flow graph?Thanks. Thank you so much. Best regards, xianda At 2014-05-31 08:25:53, "Marcus Müller" wrote: >Hi Xianda, > >some of your emails are really hard to read due to your email client >writing non-standard-comp

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
::complex)); outfile.write((char*)&buff2.front(),buff2.size()*sizeof(std::complex)); } infile.close(); outfile.close(); } Thank you. Best regards, xianda At 2014-05-31 06:33:35, "Martin Braun" wrote: On 31 May 2014 11:57, "Marcus Müller" wrote: > > Hi Xianda, > > &g

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
te((char*)&buff2.front(),buff2.size()*sizeof(std::complex)); } infile.close(); outfile.close(); } Can you help me? Thanks Best regards, xianda At 2014-05-31 05:56:29, "Marcus Müller" wrote: Hi Xianda, I know every block should have it's work or general_work function.

[Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
Hi all: I know every block should have it's work or general_work function.And i know it's used by scheduler. Now I want to write my c++ code just call work function.Is right to do it? If ok,can someone explain how to call work function? Thanks. Best regards

Re: [Discuss-gnuradio] header_payload_demux

2014-05-29 Thread xianda
Thank you.Can you explain it?Thank you.Best regards At 2014-05-30 05:05:54, "Martin Braun" wrote: >On 05/29/2014 08:07 PM, xianda wrote: >> Hi: >> Thank you in advance. >> I have two simple question: >> 1.In the grc,i see a block: header_

[Discuss-gnuradio] header_payload_demux

2014-05-29 Thread xianda
Hi: Thank you in advance. I have two simple question: 1.In the grc,i see a block: header_payload_demux It has 3 input:in,trigger,header_data.But i see the header_payload_demux_impl.cc:iosignature::make2(1,2,..,..).But it has 3 input,why? Thank you. 2.fft:I see t

Re: [Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
Hi Martin: Thank you so much for your help.It can run.Thanks. Best regards xianda At 2014-05-26 20:40:08,"Martin Braun" wrote: >On 26.05.2014 13:03, xianda wrote: >> Hi: >> Now I run the example(tx_ofdm and rx_ofdm) through two usrps.(The >>

Re: [Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
of the warning messages from the receiver. Regarding the sampling rate problem, I believe there is a minimal sample rate and you can't go below it. Regards, Jawad 2014-05-26 14:22 GMT+02:00 xianda : Hi Jawad: Thank you so much for your kindly reply. But the first problem still e

Re: [Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
Hi Jawad: Thank you so much for your kindly reply. But the first problem still exist.Can you send me your test document and I test.Thank you. And the second problem is solved.Can you tell me why 200k is ok while 100k failed?(they are all 10M/(even number)).Thank you. Best regards, xianda At

[Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
Hi: Now I run the example(tx_ofdm and rx_ofdm) through two usrps.(The version of my gnuradio is 3.7.4). 1.But in the receive part I receive two many things like this: INFO: Detected an invalid packet at item 139632 INFO: Parser returned #f INFO: Detected an invalid packet at item 139680 INF

Re: [Discuss-gnuradio] tx_ofdm

2014-05-22 Thread xianda
Hi: Thank you so much. 1.But from "chunks to symbols" I see you use the bpsk and qpsk both.Right?What is the relationship between 800 bits and 17 symbols?Namely,how to calculate the 17 symbols? 17*64=1088.Can you explain? 2.I have looked at your ppt about the ofdm.You say now have

[Discuss-gnuradio] tx_ofdm

2014-05-22 Thread xianda
Hi everyone: I have already understand most part of the tx_ofdm.grc.But the some digital i can't calculate accurately. 1.stream_to_tagged_stream: Packet length=96 bytes.? 2.And ofdm_carrier_allocator:FFT_length=64(but 48 occupied carri

[Discuss-gnuradio] MIMO

2014-05-20 Thread xianda
Hello all: Recently the development of the MIMO has been the focus of intensive research.Any example codes about the MIMO(OFDM) to give someone like me a chance to get start? Thank you. Best regards ___ Discuss-gnuradio mai

Re: [Discuss-gnuradio] mytx.cpp

2014-05-18 Thread xianda
compile tx.cpp?Thank you very much. g++ tx.cpp -I what -L what..???What command should i type into the shell? Thank you. Best regards 在 2014-05-14 02:01:40,"Tom Rondeau" 写道: On Tue, May 13, 2014 at 1:00 PM, xianda wrote: Hello Thank you for your patience. A

Re: [Discuss-gnuradio] grc-mimo setup

2014-05-15 Thread xianda
ctory and run: git pull cmake ../ make sudo make install Mike -- Mike Jameson M0MIK BSc MIET Email: m...@scanoo.com Web: http://scanoo.com On Thu, May 15, 2014 at 2:29 PM, xianda wrote: Hello Thank you so much. 1.And i set the wire format as Complex int16.And it run.

Re: [Discuss-gnuradio] grc-mimo setup

2014-05-15 Thread xianda
gt;git/master, you can just git pull, rebuild UHD and it will work. > >Otherwise, you can set otw_format=sc16 in the streamer args and it will >solve the problem as well. > >Cheers, >M > > >On 15.05.2014 14:55, xianda wrote: >> Hi Mike >> Thank you for your reply.

Re: [Discuss-gnuradio] grc-mimo setup

2014-05-15 Thread xianda
Mike -- Mike Jameson M0MIK BSc MIET Ettus Research Technical Support Email: supp...@ettus.com Web: http://ettus.com On Thu, May 15, 2014 at 1:39 PM, xianda wrote: Hello all: Environment: 2 usrp N210,mimo cable(they connect with each other and share the Ethernet)

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
? Thank you very much.You help me a lot. Best regards At 2014-05-14 00:32:37,"Martin Braun" wrote: >On 13.05.2014 17:31, xianda wrote: >> Hello >> Thank you a lot. >> 1.But now the header document in my tx.cpp is same as the >> tx_waveforms.cpp.Now what should

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
. Best regards 在 2014-05-13 22:47:34,"Tom Rondeau" 写道: On Tue, May 13, 2014 at 9:24 AM, xianda wrote: Hello Thank you for your reply. 1.Because i just know a little about the cmake.If i put my document into another folder,maybe i should write the CMakeLists.txt.But i

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
14 09:35, 王先达 wrote: >> Hello all >>I write a c++ document mytx.cpp and i place it into the >> uhd/host/build/examples.And then what should i do to let it run?Should i >> type the "make" command in the shell or do other things?Thank you. >> B

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
14 09:35, 王先达 wrote: >> Hello all >>I write a c++ document mytx.cpp and i place it into the >> uhd/host/build/examples.And then what should i do to let it run?Should i >> type the "make" command in the shell or do other things?Thank you. >> B

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
14 09:35, 王先达 wrote: >> Hello all >>I write a c++ document mytx.cpp and i place it into the >> uhd/host/build/examples.And then what should i do to let it run?Should i >> type the "make" command in the shell or do other things?Thank you. >> B