[Discuss-gnuradio] Seeking mentor in GSoC

2013-04-13 Thread Gong Zhang
Dear All, I'm a graduate student and my research area includes wireless sensor networks and signal processing. I notice the lack of a absolute clock synchronization method in USRP without cable or external input such as GPSDO.And the sync arruracy should be as high as microsecond.This is cru

[Discuss-gnuradio] can't compile C++ example

2013-05-14 Thread Gong Zhang
Hi, I wanna execute the dial_tone.cc example.So I execute "g++ dial_tone.cc -I /usr/local/include/gnuradio/" But I got the errors: laptop:~/Desktop/ccompile$ g++ dial_tone.cc -I /usr/local/include/gnuradio/ /tmp/ccxAFik0.o: In function `main': dial_tone.cc:(.text+0x59): undefined reference

Re: [Discuss-gnuradio] can't compile C++ example

2013-05-14 Thread Gong Zhang
于 2013/5/15 0:50, Tom Rondeau 写道: On Tue, May 14, 2013 at 2:08 PM, Gong Zhang wrote: Hi, I wanna execute the dial_tone.cc example.So I execute "g++ dial_tone.cc -I /usr/local/include/gnuradio/" But I got the errors: laptop:~/Desktop/ccompile$ g++ dial_tone.cc -I /usr/loc

[Discuss-gnuradio] Compile my own .cc file in gnuradio

2013-05-14 Thread Gong Zhang
Hi, I have known that the .cc example in gnuradio would be compiled when running "make" in the build directory.But how can I compile my own .cc file through g++ command line? Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://list

Re: [Discuss-gnuradio] Send custom data

2013-06-05 Thread Gong Zhang
the gr-uhd sink's input port. If you want to send arbitrary information, you still need to packet-ize and modulate the information. Maybe you will find this project relevant: https://github.com/jmalsbury/pre-cog/wiki -josh On 03/19/2013 03:35 AM, Gong Zhang wrote: Hi, I wanna send custom

Re: [Discuss-gnuradio] Hopping Frequency Synchronization algorithm used in PRE-COG

2013-06-24 Thread Gong Zhang
Josh, I'm curious about how it tune the LO in USRP. Does it control the LO via 'post_msg(CTRL_PORT,pmt.pmt_string_to_symbol('usrp_sink.set_center_freq')'? Thanks. 2013/6/9 1:44, John Malsbury wrote: Jay, Thanks for checking out pre-cog. I'm not sure what "algorithm" you'd call it

[Discuss-gnuradio] tx_tagged samples hold off the tx stream?

2013-07-01 Thread Gong Zhang
Hi, Would a sample with tx_tag time in near future hold off the tx stream until it is sent? Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Modulation of tx_timed_samples in UHD

2013-07-22 Thread Gong Zhang
Hi, I have read the file tx_timed_samples.cpp. But it seems the data are sent without modulation.Is it correct? And why? Thanks in advance. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] gras make error

2013-07-25 Thread Gong Zhang
Hi, I got the source code of gras using git,and I followed the instruction to install gras.But I got errors while making. /home/zg/Desktop/Codes/gras/gras/Theron/Include/External/boost/atomic/detail/gcc-x86.hpp: In function ‘void boost::atomic_thread_fence(boost::memory_order)’: /home/zg/Deskt

Re: [Discuss-gnuradio] gras make error

2013-07-25 Thread Gong Zhang
Sorry for the incomplete information. I'm using Ubuntu 10.04 and the boost version is 1.40 2013/7/25 Josh Blum : > > > On 07/25/2013 04:51 AM, Gong Zhang wrote: >> Hi, >> I got the source code of gras using git,and I followed the instruction >> to install gr

Re: [Discuss-gnuradio] Gnuradio3.7 make error

2013-07-29 Thread Gong Zhang
Dear Nathan, I have tried the method in the URL but it does not work. The error remains. 2013/7/30 10:58, Nathan West wrote: On Mon, Jul 29, 2013 at 10:44 PM, Harry Zhang wrote: Hi, I'm using Ubuntu 12.04 and libboost1.46. I got the following errors when I make the project. libboo

[Discuss-gnuradio] No attribute 'message_port_register_hier_out'

2013-08-23 Thread Gong Zhang
Hi, I execute the flowgraph in attachment and I got the following. What's the problem? I'm using Ubuntu 12.04, boost 1.48 and gnuradio 3.6.4. Thanks in advance. Traceback (most recent call last): File "/home/harry/Desktop/qwer/GRC/top_block.py", line 75, in tb = top_block() File "/hom

Re: [Discuss-gnuradio] Can not get rx time tags

2013-09-06 Thread Gong Zhang
Dear Josh, Thanks for your reply. I move the code "get_tags_in_range" in digital_correlate_access_code, so it will be executed when digital_correlate_access_code runs. I start the sender first and then the receiver. But I still get no tag. Does "the beginning of stream" mean the point just

[Discuss-gnuradio] gr_modtool error Adding file .h

2012-11-04 Thread gong zhang
I'm newbie to gnuradio.I got a problem when i use the latest gr_modtool to check the howto_square_ff example.I work with Ubuntu10.04,python2.6 and Cheetah2.4.4. When i excute 'gr_modtool add' I got the following: Add Python QA code? [Y/n] n Add C++ QA code? [Y/n] n Traversing lib... Adding file 'ho

Re: [Discuss-gnuradio] gr_modtool error Adding file .h

2012-11-05 Thread Gong Zhang
It's master which I downloaded three days ago. On Mon, Nov 5, 2012 at 09:26:32PM +0100, Martin Braun wrote: >I accidentally pushed a buggy version somewhere along the line, you must >have caught that. >Just get a new version, it should work. Which branch are you on, master >of format37? _

Re: [Discuss-gnuradio] gr_modtool error Adding file .h

2012-11-06 Thread Gong Zhang
> Can you try the most current version, please. > > M > It works.Thank you for you help. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] howto_square_ff require Gruel

2012-11-06 Thread Gong Zhang
Hi List, I'm trying to check the example howto_square_ff with gr_modtool.I work with ubuntu10.04,gnuradio 3.6.1 and cmake2.8.1.When I excute 'cmake ../' in /gnuradio3.6.1/build.I got the following: -- Configuring gr-wxgui support... -- Dependency ENABLE_GR_CORE = ON -- Dependency ENABLE_PYTHON = ON

Re: [Discuss-gnuradio] howto_square_ff require Gruel

2012-11-06 Thread Gong Zhang
Tom Rondeau wrote: I assume you have an installed and working copy of GNU Radio on your system? Did you happen to change the install prefix when building? Usually, you just have to add the path to the gruel.pc file to PKG_CONFIG_PATH. You'll find it in $prefix/lib/pkgconfig. If pkg-config can't f

Re: [Discuss-gnuradio] howto_square_ff require Gruel

2012-11-08 Thread Gong Zhang
Tom Rondeau wrote: Oh, I see what's happening; I didn't look closely enough at your first message. You don't really want to use gr_modtool to add new components to GNU Radio. It's meant to be used to build separate projects that will work with and installed GNU Radio. See, gr_modtool creates a p

Re: [Discuss-gnuradio] howto_square_ff require Gruel

2012-11-08 Thread Gong Zhang
Martin Braun (CEL) wrote: Perhaps this is a bug, but I can't reproduce that error, not with 3.6.1, master, next nor with any branch of gr_modtool. Please tell us - where libgruel.so is (if it's somewhere exotic, Josh's answer is all you need) - which version of GNU Radio you're using. Also, try

[Discuss-gnuradio] Communication range about WBX

2012-11-29 Thread Gong Zhang
Hi everyone, I know the max communication range depends on a lot.But I've only seen these experiments two of the board placed on the same table. Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/dis

[Discuss-gnuradio] FH/DS hybrid spread spectrum with USRP

2012-12-14 Thread Gong Zhang
Hi, Is it possible to implementation FH/DS hybrid spread spectrum with USRP.Surely it won't hop too fast. Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Questions about acquisition time

2012-12-16 Thread Gong Zhang
Hi everyone, I am curious about acquisition time of a unknown frequency with usrp. Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Can I add power amplifier for longer communication range

2012-12-25 Thread Gong Zhang
Dear all, Can I add power amplifier between daughterboard and antenna for longer communication range?Does anyone try this before? Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] frequency drift of WBX

2013-01-28 Thread Gong Zhang
Hi, I wanna know the frequency drift of WBX daughterboard.I think it may depend on the stability of WBX oscillator.How can I calculate it? Thank you. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/

[Discuss-gnuradio] Synchronize multiple USRP-N210s

2013-01-29 Thread Gong Zhang
Hi, I wanna synchronize two USRPs to sample signal at the time.And the synchronization accuracy should be of microseconds without external clock and cable.This leads me to design a synchronization protocol but not on PC because of the jitter of ethernet.It seems openBTS add a timestamp block in FPG

[Discuss-gnuradio] Synchronize USRP in which level

2013-01-30 Thread Gong Zhang
Hi, My last topic "Synchronize multiple USRP-N210s"may be a big one which gives no reply.If I want to synchronize two USRPs without cable or GPSDO,I should design a synchronization protocol.Simply A sends some time-stamped samples to B ,then B record local time when receiving these samples.Knowing

Re: [Discuss-gnuradio] Synchronize USRP in which level

2013-01-30 Thread Gong Zhang
2013/1/31 11:51, Josh Blum wrote: On 01/30/2013 09:00 PM, Gong Zhang wrote: Hi, My last topic "Synchronize multiple USRP-N210s"may be a big one which gives no reply.If I want to synchronize two USRPs without cable or GPSDO,I should design a synchronization protocol.Simply A sends

[Discuss-gnuradio] Can I add timesamples to tx samples

2013-02-21 Thread Gong Zhang
Hi, Considering we can get timesamples of rx samples from UHD in metadata,can I add timesamples to tx samples,which would be send together. Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-

Re: [Discuss-gnuradio] Can I add timesamples to tx samples

2013-02-22 Thread Gong Zhang
2013/2/22 11:44, Josh Blum wrote: On 02/21/2013 09:20 PM, Gong Zhang wrote: Hi, Considering we can get timesamples of rx samples from UHD in metadata,can I add timesamples to tx samples,which would be send together. Thanks. Sure thing! This link points to some of the examples: http

Re: [Discuss-gnuradio] Can I add timesamples to tx samples

2013-02-22 Thread Gong Zhang
Maybe my last replay is ambiguous.In metadata,the the time value of rx_sample tags was get by the command "time.time()".Does it mean that the actual time recorded in tags refer to when the sample goes through AD in USRP with the clock in USRP? ___ Discu

[Discuss-gnuradio] What is IF data header?

2013-02-22 Thread Gong Zhang
Hi, I found the following notes in file metadata.hpp in UHD: /*! * RX metadata structure for describing sent IF data. * Includes time specification, fragmentation flags, burst flags, and error codes. * The receive routines will convert IF data headers into metadata. */ A

[Discuss-gnuradio] Developing with C++ but not python

2013-02-25 Thread Gong Zhang
Hi, I think python file means data go downstream without interacting with other data stream.And I have seen several example writen in c++ and they all contain a gr_top_block which makes them similar to python files.Any body have the experience developing in c++?And what you think is the maj

[Discuss-gnuradio] Questions about fhss_engine.py

2013-02-26 Thread Gong Zhang
Hi, I have read the fhss_engine.py file.It seems that they send timed information via msg.And it's impossible to recevie any bit unless they use external synchronization.Is it right?Any suggestion would be appreciated. Thanks./ /// ___ Discuss

[Discuss-gnuradio] Questions about tdma_engine.py

2013-03-03 Thread Gong Zhang
Hi, I have read the file tdma_engine.py in PreCog.It seems they deal with data and update local time according to the time tags.But how can we demodulated the signal from antenna in the start without knowing the time.Is this imply we can only transmission at the fixed frequency?I appreciate any tip

[Discuss-gnuradio] timed command

2013-03-03 Thread Gong Zhang
Hi, I wanna transmit a 1khz Sinusoidal signal for one second and transmit 2khz for another second.The code maybe something like this: set_command_time(&mytime) sig_sin_source.work(...) set_command_time(&mytime+1) sig_sin_source.work(...) But as I know,the first set_command_time would back-pressure

Re: [Discuss-gnuradio] timed command

2013-03-04 Thread Gong Zhang
2013/3/4 15:56, Josh Blum wrote: On 03/03/2013 09:28 PM, Gong Zhang wrote: Hi, I wanna transmit a 1khz Sinusoidal signal for one second and transmit 2khz for another second.The code maybe something like this: set_command_time(&mytime) sig_sin_source.work(...) set_command_time(&

Re: [Discuss-gnuradio] timed command

2013-03-04 Thread Gong Zhang
d to change "freq_list " that should match ur RF-Daughter card > > > -Adeel > > On Mon, Mar 4, 2013 at 5:18 PM, Gong Zhang wrote: >> >> 2013/3/4 15:56, Josh Blum wrote: >>> >>> >>> On 03/03/2013 09:28 PM, Gong Zhang wrote:

Re: [Discuss-gnuradio] timed command

2013-03-04 Thread Gong Zhang
Thank you for your reply.And this may lead to ambiguous. The streaming data will totally work independent of the backpressure or it will be backpressure untill the command queue is full? 2013/3/5 1:26, Josh Blum wrote: On 03/04/2013 08:28 AM, Gong Zhang wrote: Your reply gave me much

[Discuss-gnuradio] Pass time jitter over ethernet

2013-03-07 Thread Gong Zhang
Hi List, What is the max/min time for a command to pass from host to USRP?I think it's critical for determin the time slot for a TDM system. Thanks in advance. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mail

[Discuss-gnuradio] Issue Stream Command

2013-03-14 Thread Gong Zhang
Hi, I want to transmit fixed numbers of sample from the sin_sig_source.And I find the issue_stream_command in multi_usrp.hpp.Does the command contral the flow graph so that I just connect the flow graph and add the command in python? I appreciate any tips. Thanks in advance. __

[Discuss-gnuradio] Python manual without UHD

2013-03-17 Thread Gong Zhang
Hi, UHD is swigged but I can't find uhd interface in python manual.Could anyone give me a URL?Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Send custom data

2013-03-19 Thread Gong Zhang
Hi, I wanna send custom data such as the device number or device status with USRP.Does it mean I should go deeply into something like tx_stream->send()?Is there any similar example? Thanks in advance. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gn

Re: [Discuss-gnuradio] Send custom data

2013-03-21 Thread Gong Zhang
send arbitrary information, you still need to packet-ize and modulate the information. Maybe you will find this project relevant: https://github.com/jmalsbury/pre-cog/wiki -josh On 03/19/2013 03:35 AM, Gong Zhang wrote: Hi, I wanna send custom data such as the device number or device status

[Discuss-gnuradio] Cast arbitrary data type into binary

2013-03-24 Thread Gong Zhang
Hi, I think it is easy to implement that simply cast every item(float,int,size_t,time_tag and so on) into binary.Have there already been a block for this. Thanks in advance. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org

[Discuss-gnuradio] Data type between blocks

2013-04-06 Thread Gong Zhang
Hi, I notice that the parameter "gr_vector_const_void_star &input_items,gr_vector_void_star &output_items"in the work() method is the void* pointer,which don't point to any definite data type.For example,the output data type is float32 in the upper block and the input data type maybe int8 in the ne

Re: [Discuss-gnuradio] Data type between blocks

2013-04-06 Thread Gong Zhang
2013/4/6 21:39, Tom Rondeau wrote: On Sat, Apr 6, 2013 at 8:37 AM, Gong Zhang wrote: Hi, I notice that the parameter "gr_vector_const_void_star &input_items,gr_vector_void_star &output_items"in the work() method is the void* pointer,which don't point to any definite da

[Discuss-gnuradio] New idea in GSoC

2013-04-10 Thread Gong Zhang
Hi, I got the GSoC news and I have a new idea to add.It suggests to contact mailing list first.But I don't know whom to contact. Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio