[Discuss-gnuradio] Re: Simultaneously transmitting on two transmitters

2008-03-05 Thread jiqun qi
On Wed, Mar 5, 2008 at 8:43 PM, Wee Shinhan <[EMAIL PROTECTED]> wrote: > > def send_pkt0(self, payload0='', eof=False): > >print "Antennna 0" >self.subdev0 = (self.u.db[0][0]) >self.subdev0.set_enable(bool(1) > > self.subdev0.set_gain(self.subdev0.gain_range()[1]) > >

Re: [Discuss-gnuradio] usrp_rx_cfile usage

2008-03-05 Thread Dan Halperin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phaysal Khan wrote: > I get the msg > Using RX d'board A: > USB sample rate 4M It's using side A, not side B. Try with the "-R B" option. (see the usage message shown below) $ usrp_rx_cfile.py Usage: usrp_rx_cfile.py: [options] output_filename Opti

[Discuss-gnuradio] usrp_rx_cfile usage

2008-03-05 Thread Phaysal Khan
Hi, I am using DBSRX d'board with my d'board pluged on "Rx B". I used python usrp_rx_cfile.py -f 1575.42M -N 1e6 -g 40 data1.dat to capture a sinosoid at 1575.42MHz with -30dB. I get the msg Using RX d'board A: USB sample rate 4M When I try to read that file in Matlab using fid=fopen('data1.

[Discuss-gnuradio] Re:Simultaneously transmitting on two transmitters

2008-03-05 Thread Wee Shinhan
Hey jiqun, Thanks for the reply. Alright heres how i structure my codes. I define two payloads at the transmitter- payload0 and payload1. Lets say payload0 is 10101010 and payload1 is 01010101. In transmit_path.py i specify 2 different function, send_pkt0 and send_pkt1 as : def send_pkt0(self, p

Re: [Discuss-gnuradio] Using Sound card in GRC

2008-03-05 Thread Josh Blum
Zafar, Yes the sound card can work with GRC. This can be one of 2 problems: 1) Does the sound card work on your operating system? (this can be a problem with linux on certain hardware) 2) Was your gnuradio installation compiled with sound support? (--enable-gr-audio-alsa, and so on) Most i

[Discuss-gnuradio] Re: Msg Queues and Watcher Threads

2008-03-05 Thread Steven Clark
On Tue, Mar 4, 2008 at 2:27 PM, Steven Clark <[EMAIL PROTECTED]> wrote: > I like the use of the watcher thread in pkt.demod_pkts, and was > wondering if I could use a similar technique in the following > situation: > > Two disconnected subgraphs: > msg_source_1 -> transform_blk_1 -> msg_sin

RE: [Discuss-gnuradio] GPS on USRP

2008-03-05 Thread Phaysal Khan
> If you are using only u.set_rx_freq, your modifications have removed> the > ability to set the LO on the daughterboard.No, I am not using set_rx_freq. I > am just using usrp_rx_cfile which uses r = self.u.tune(0, self.subdev, options.freq) I am using the version at http://www.gnuradio.or

Re: [Discuss-gnuradio] GPS on USRP

2008-03-05 Thread Eric Blossom
On Wed, Mar 05, 2008 at 03:15:16PM -0500, Paul Creekmore wrote: > It would be helpful to know exactly what you mean by "this isn't > happening." What /does/ happen? Anything? Do you get a data file? Have > you tried recording and plotting a simple test sinewave? > > You could also very easily

[Discuss-gnuradio] help with independent branch build

2008-03-05 Thread George Nychis
Hi all, I'm having some trouble properly setting up my Makefile.am for an independent source branch. I have created a cmusdrg library which contains new m-blocks, which I would now like to link to using an external application and run. But, I'm having trouble linking this program to my libr

Re: [Discuss-gnuradio] GPS on USRP

2008-03-05 Thread Paul Creekmore
It would be helpful to know exactly what you mean by "this isn't happening." What /does/ happen? Anything? Do you get a data file? Have you tried recording and plotting a simple test sinewave? You could also very easily convert the data in MATLAB. --Paul Phaysal Khan wrote: Hi, I used us

[Discuss-gnuradio] Using Sound card in GRC

2008-03-05 Thread zafar ali
Hello Please tell me can we use the sound card in the GRC(Gnu radio companion) Please tell me thanking in advance ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Re: new to GNU radio

2008-03-05 Thread Tom Rondeau
jiqun qi wrote: Hey, In fact, the mapped complex symbol will go into two parts, that is, the real part and the image part will modulate the cos(w_c * t) and sin(w_c * t), separately. E.g., complex symbol is denoted, y = a+jb = r*cos(theta) + j*r*sin(theta); I would just stick with this repr

Re: [Discuss-gnuradio] High packet loss problem (samples dropped?) and fusb parameters

2008-03-05 Thread Matt Ettus
George Nychis wrote: Maybe we can bring this thread up one more time. Michael found me on campus and I've been trying to help with this. We're attempting to use the 802.15.4 (OQPSK) blocks that a UCLA wireless group wrote, available here: http://acert.ir.bbn.com/projects/gr-ucla/ Using file

Re: [Discuss-gnuradio] Common clock for two RFX2400 DB's

2008-03-05 Thread Matt Ettus
Andrey A wrote: > We are concerned about frequency accuracy. > The clock has a 20 ppm specification, but at room temperature is typically within 5 ppm. We need 10^(-9) frequency accuracy. Is there any way to approach to this accuracy? Why do you need such high accuracy? I

Re: [Discuss-gnuradio] Common clock for two RFX2400 DB's

2008-03-05 Thread Andrey A
> > > We are concerned about frequency accuracy. > > > > The clock has a 20 ppm specification, but at room temperature is > typically within 5 ppm. > We need 10^(-9) frequency accuracy. Is there any way to approach to this accuracy? Thank you. ___ Disc