[Discuss-gnuradio] Fwd: How to get t (time) to calculate output = sin ( 2 * PI * freq * t ) ?

2014-02-10 Thread Adeel Anwar
"t" is the representation in continuous-time but in discrete time it can be represented in the form of sample-count (samp-rate must be known). nitems_written hold the number of items produced by the block on

Re: [Discuss-gnuradio] [USRP-users] B200 gain control and RF input power

2014-01-23 Thread Adeel Anwar
ibility in some hard wired >> connection to the USRP. >> >> >> >> Ralph. >> >> >> >> >> >> *From:* USRP-users [mailto:usrp-users-boun...@lists.ettus.com] *On >> Behalf Of *Luke Hough >> *Sent:* Thursday, January 23, 2014 3:22 PM >> *To:* Ad

Re: [Discuss-gnuradio] [USRP-users] B200 gain control and RF input power

2014-01-22 Thread Adeel Anwar
Luke, I am also doing a similar project in which i plan to use TR switch instead of circulator because of high TX/RX isolation (60/70 dB) as compared to isolators (20/30 dB). Currently u are using power amplifier ZVE-8G which have output power ~=30 dBm so circulator will work as well but if u pla

Re: [Discuss-gnuradio] Help: Constellation Receiver::Object

2013-08-05 Thread Adeel Anwar
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

Re: [Discuss-gnuradio] how to raise the packet error rate in benchmark

2013-07-26 Thread Adeel Anwar
In ur GR flowgraph, just add a const-multiply block before USRP-Sink and multiply the Tx signal with it. Set its value between 0-1. -Adeel On Fri, Jul 26, 2013 at 5:29 PM, yeran wrote: > Hi Adeel, > > I'm using RFX 2400 for experiment, there are no parameter > tx-dsp-amplitude. So I can't cont

Re: [Discuss-gnuradio] Fwd: How can I add freq. offset(related to time index) after IFFT in data symbol in ofdm example?

2013-07-25 Thread Adeel Anwar
; program in GR using signal Block or widget instead of writing all code > directly? > > Sent from my iPhone > > On 25 Jul, 2013, at 23:47, Adeel Anwar wrote: > > > > > for index = 1:PacketLength > PacketWithFreqOffset(index) = > Packet(index)*exp(i*

Re: [Discuss-gnuradio] how to raise the packet error rate in benchmark

2013-07-25 Thread Adeel Anwar
>>Currently, what I'm doing is keep the tx-amplitude 0.2, and change the gain from 35 to 65. You mean in this range, the power is not liner to gain change, right? If so, is there any way to control or influence the power change? I was mentioning about the that total Tx-Power. U can control Tx-power

[Discuss-gnuradio] Fwd: How can I add freq. offset(related to time index) after IFFT in data symbol in ofdm example?

2013-07-25 Thread Adeel Anwar
for index = 1:PacketLength PacketWithFreqOffset(index) = Packet(index)*exp(i*2*pi*fΔ*SampleRate*index); end So is above implementation in matlab similar to that in Gnuradio? No. GNURadio implementation resembles Simulink instead of Matlab. Just think how can u add freq-offset in Simulink and

Re: [Discuss-gnuradio] How can I add freq. offset(related to time index) after IFFT in data symbol in ofdm example?

2013-07-25 Thread Adeel Anwar
Kay, Freq offset can be added by multiplying the baseband data with complex-exponential. In GR this can be done by any of the following ways 1. Sine Source and Multiply block or 2. Freq Translating FIR Filter 3. Channel Model -Adeel On Thu, Jul 25, 2013 at 8:26 PM, Yingjie Chen wrote: > Hi

Re: [Discuss-gnuradio] Streaming audio through internet

2013-07-25 Thread Adeel Anwar
>>So far, I have install jack, changed my audio_module to jack and created a sine wave flowing to an audio_sink. When I execute the flow graph, nothing happens. (Is this expected?) How can I capture this audio using VLC? U can use GR UDP/TCP sink to send the audio samples from GNU Radio to VLC o

Re: [Discuss-gnuradio] how to raise the packet error rate in benchmark

2013-07-23 Thread Adeel Anwar
Ada, >>once the signal has been up converted. Now I'm using 0.2 amplitude and 35 gain. But I don't understand, how come that the smaller the power is, the better transmission performance there will be. And also, why does power should be in the range of 0 to 1.0? How to calculate transmission power

Re: [Discuss-gnuradio] Using GMSK Mod to send digital data (e.g. an ASCII string)

2013-07-20 Thread Adeel Anwar
>>1. Still I have to insert a "Packer Encoder" between my code and the GMSK mod? If yes, with which parameters? The GMSK mod is configured with Samples/Sym=50 , BT=0.4. No. U can make custom packet structure and in that case u need not to use Packet-Encoder. >>2. Can someone explain me how to use

Re: [Discuss-gnuradio] Problem faced with clock_recovery_mm at low data rates

2013-07-20 Thread Adeel Anwar
Waqas, U can use PFB_clock_sync instead of M&M. PFB_clock_sync implements the maximum likelihood estimation algorithms, so using this block increasing sps should not produce incorrect results. http://gnuradio.org/doc/doxygen/classgr_1_1digital_1_1pfb__clock__sync__ccf.html -Adeel On Sat, Jul 2

[Discuss-gnuradio] Fwd: decode problem in benchmark--NCO?

2013-07-18 Thread Adeel Anwar
>>For BPSK, not using differential, is there any way to keep track of the rotating so as to understand exactly what happened to each bit? Only after understanding what happens to each bit in a single series of data, I can work on how to joint them correctly. Other than differential decoding, anoth

Re: [Discuss-gnuradio] Measuring RSS during packet reception

2013-07-18 Thread Adeel Anwar
sure that samples from demodulator > chain and samples from RSSi calculator come in the same time to the symbol > decision block. How can I tune this delay and is it deterministic? > > Many thanks, > Nemanja > > > On Thu, Jul 18, 2013 at 2:33 AM, Adeel Anwar wrote: > >

Re: [Discuss-gnuradio] Doppler Radar Processing

2013-07-17 Thread Adeel Anwar
Frank, >>Currently, I am just saving off the data and then processing it in Octave/Matlab. It would be nice to have a display of the range/Doppler map that is updated periodically within GRC. This would give me a good indication that everything is working without me having to save off the data an

[Discuss-gnuradio] Fwd: measuring RSSI - N210 with RFX2400

2013-07-17 Thread Adeel Anwar
This was removed from RFX2400 sensors list. See http://code.ettus.com/redmine/ettus/projects/uhd/repository/diff/host/lib/usrp/dboard/db_rfx.cpp?utf8=%E2%9C%93&rev=715fd038325fa4a265328fac2bdb54850b990ea7&rev_to=4b9d692f56dbc96b7e2defb889ed092388eeb332 Moreover u can check the list of all possibl

Re: [Discuss-gnuradio] Measuring RSS during packet reception

2013-07-17 Thread Adeel Anwar
Nemanja, I built this block sometime back. The ideas is to construct a custom RSSI Measurement block having input 1: complex IQ-samples after USRP-SRC or before "AGC" 2: byte-stream after "digital_correlate_access_code_bb". Output byte stream has data in LSB (1st bit) while Flag in 2nd bit shows

Re: [Discuss-gnuradio] GRC problems, saving data to files

2013-07-09 Thread Adeel Anwar
Baier, For ur file-sink, what was the setting of "unbuffered" flag? If unbuffered=off, file-sink will first buffer specified no. of items before writing them to file, so there is a chance that when FG is stopped some items at the end gets lost. if unbuffered=on, file-sink will write items in file

Re: [Discuss-gnuradio] Simple QAM project

2013-07-06 Thread Adeel Anwar
grc file > > ------ > *From:* Adeel Anwar > *To:* tom sutherland ; 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 > > > O

Re: [Discuss-gnuradio] Simple QAM project

2013-07-05 Thread Adeel Anwar
Can u attach ur GRC file? -Adeel On Fri, Jul 5, 2013 at 5:48 AM, tom sutherland 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 Q

Re: [Discuss-gnuradio] can I install different gnuradio version under different user sections of 12.04?

2013-07-05 Thread Adeel Anwar
http://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ#Experts-only-How-can-I-deliberately-install-GNU-Radio-multiple-times-different-versions On Fri, Jul 5, 2013 at 12:45 PM, 周崴 wrote: > > > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gn

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Adeel Anwar
> > > On 06/16/2013 10:44 PM, Josh Blum wrote: > > > > > > On 06/16/2013 02:13 PM, Adeel Anwar wrote: > >>> so i checked the new grextras wiki it has uhd_control block i guess > that > >> can be used for this job. > >> uhd_control block

Re: [Discuss-gnuradio] clock synchronization by message passing

2013-06-16 Thread Adeel Anwar
> so i checked the new grextras wiki it has uhd_control block i guess that can be used for this job. uhd_control block supports only a subset of usrp-functions (exposed through gr-uhd) e.g. "set_command_time", set/get_gain/freq etc BUT currently it doesn't support "set_time_now()" https://github.c

Re: [Discuss-gnuradio] Change Hierarchical Blocks Import Method?

2013-06-15 Thread Adeel Anwar
Dan, You can define custom path in */.gnuradio/config.conf *OR export path to* **GRC_BLOCKS_PATH *environment variable. See http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion#Installing-the-XML-Block-Definition -Adeel On Fri, Jun 14, 2013 at 8:22 PM, Dan CaJacob wrote: > Woul

Re: [Discuss-gnuradio] GMSK MODULATOR output different after modulation and according to UHD_FFT

2013-06-13 Thread Adeel Anwar
Jay, As per my experience with USRP-N210 and RFX2400, if gain setting are high and this causes signal amplitude to be > -20/30 dBm then the received signal will be distorted. To overcome this 1. Reduce Rx-Gain 2. OR Reduce Tx-Gain 3. OR Increase distance between USRP This distortion maybe due

[Discuss-gnuradio] Fwd: Delay between feedback and scheduling decision in LTE implemented in GNURadio

2013-06-13 Thread Adeel Anwar
Shahab, If u are asking about the delay between samples/commands sent from GNU-Radio to USRP then OS/Ethernet delays maybe around 2-4 msec. -Adeel On Wed, Jun 12, 2013 at 8:37 AM, Shahab e wrote: > Hi, > > I would like to ask if anyone knows how long is the delay between a > feedback and a sc

Re: [Discuss-gnuradio] Detecting underflows with uhd_usrp_sink

2013-06-10 Thread Adeel Anwar
See this post in context http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2012-September/005352.html On Mon, Jun 10, 2013 at 7:13 AM, Marcus Leech wrote: > I believe that they are all dropped, but Josh can comment more > definitively. > > > on Jun 10, 2013, *Sean Nowlan* wrote: > >

[Discuss-gnuradio] Fwd: time_recov and freq_recov in generic_mod_demod

2013-06-06 Thread Adeel Anwar
Ada, >As I looked up from the documents, it was said that the signal after the usrp source at the receiver, is baseband signal, whose central >frequency is around 0 Hz, and already take off the carrier frequency. But in the demodulation, there are still freq_recov and time_recov block. >Are they

Re: [Discuss-gnuradio] USRP2 kit is not detected by desktop's ethernet port at all

2013-05-24 Thread Adeel Anwar
Swrangsar, For checking desktop's ethernet interface speed u can use ethtool sudo apt-get install ethtool ethtool eth0 -Adeel On Fri, May 24, 2013 at 1:10 PM, swrangsar basumatary wrote: > Hi, > > We installed the latest UHD-003.005.003 with gnuradio-3.6.4.1 on a 32-bit > PC running Ubuntu 11

Re: [Discuss-gnuradio] USRP kit not being detected

2013-05-24 Thread Adeel Anwar
Kartik, For connecting USRP with PC, Lan-card or switch should be 1-Gbps. USRP will not connect with device supporting only 10/100Mbps -Adeel On Fri, May 24, 2013 at 12:54 PM, kartik sudarshan < kartiksudars...@gmail.com> wrote: > Hi > I am Kartik and I have just started with GNU radio in ubu

Re: [Discuss-gnuradio] I have a Question about channel model parameters

2013-05-02 Thread Adeel Anwar
Irfan, epsilon: Simulates Sampling-Clock-Mismatch. It uses rational-resampling for interpolation/decimation. value=1 means no-mismatch i.e. in-samp-rate=out-samp-rate. value=1.1 means receiver clock is fast(sample added). value=0. means rcvr clock is slow (sample-skipped). useful for testi

Re: [Discuss-gnuradio] Very low packet loss rate for the discontinuous BPSK communications- the analysis and looking for solution

2013-03-04 Thread Adeel Anwar
Alex, 1: U can try adjusting the synchronization loops bandwidth (Phase/Timing etc) see PFB_Timing documentation 2: Try reducing the receiver gain (for a constant tx-amplitude/gain) or reduce transmission amplitude/gain (for constant rx gain) -Adeel On Sat, Mar 2, 2013 at 10:21 AM, Alex Zha

Re: [Discuss-gnuradio] Pre-cog

2013-03-04 Thread Adeel Anwar
https://github.com/jmalsbury/pre-cog -Adeel On Sat, Mar 2, 2013 at 4:59 AM, manjusha wrote: > Where can i download pre-cog? Please send me the link.. > > Thanks, > manjusha > > > > -- > View this message in context: > http://gnuradio.4.n7.nabble.com/Pre-cog-tp39943.html > Sent from the GnuRadio

Re: [Discuss-gnuradio] QS1R SDR support?

2012-10-02 Thread Adeel Anwar
Matthew, >> If I set the QS1R to stream on a particular IP and port, can I just use a UDP source block? Yes can use UDP source block to stream QS1R samples to gnuradio -Adeel On Tue, Oct 2, 2012 at 6:27 PM, Matthew Biederman wrote: > hi tom, > > thanks for your response, thats really too

[Discuss-gnuradio] using general_work when output rate is not fixed

2012-09-26 Thread Adeel Anwar
-- Forwarded message -- From: Adeel Anwar Date: Wed, Sep 26, 2012 at 3:52 AM Subject: Re: [Discuss-gnuradio] using general_work when output rate is not fixed To: "Rahman, Muhammad Mahboob Ur" Mahboob, uhd usrp sink. Now, the other issue is, when I send pre-rec

Re: [Discuss-gnuradio] Video Transmission over USRP

2012-09-24 Thread Adeel Anwar
*Priyankar*, You can use "vlc player" to stream video at any udp port. In GnuRadio u can use UDP Source/sink blocks. TX FlowGraph: vlc Streaming(UDP) -> GR UDP Source -> GR TX blocks RX FlowGraph: GR RX blocks -> GR UDP Sink -> vlc Open-Network-stream -Adeel

Re: [Discuss-gnuradio] FM transmitter on MatLab and transmission on USRP

2012-07-27 Thread Adeel Anwar
Rakesh, Matlab/Simulink USRP support package already ships with demos of FM Tx/RX and QPSK TX/RX See http://www.mathworks.com/discovery/sdr/usrp.html -Adeel On Thu, Jul 26, 2012 at 10:57 PM, Rakesh K Gupta wrote: > Dear All, > > I am new to USRP. I want to develop FM transmission (V

Re: [Discuss-gnuradio] Unable to find header decoding block

2012-02-29 Thread Adeel Anwar
Dhrubo , demodulator->correlator->framer_sink Correlator (input=1 bit-per-byte) detects the header while framer_sink separates the payload. Output of correlator the 1st bit location represents input data (1 bit-per-byte) while 2nd bit location represents the detection of header. Framer sinks keeps

Re: [Discuss-gnuradio] FSK using VCO

2012-02-17 Thread Adeel Anwar
One thing i forgot , there should be upsample(pulse shaping ) OR repeat by N block between "chunk2symbol" and "fm modulator" On Thu, Feb 16, 2012 at 11:09 PM, Adeel Anwar wrote: > Anju, > > Try connecting these > > data_src(0,1)==>chunk to symbol(-1

Re: [Discuss-gnuradio] FSK using VCO

2012-02-16 Thread Adeel Anwar
Anju, Try connecting these data_src(0,1)==>chunk to symbol(-1,1)==>fm modulator(sensitivity=(2*pi*(freq_sep/2.0))/samp_rate)) where freq_sep = symb_rate (for non-coherent detection) On receiver side u can use quadrature demoulator -Adeel On Fri, Feb 17, 2012 at 12:42 AM, anju babu wrote

Re: [Discuss-gnuradio] About how to write c++ based signal processing block

2012-02-16 Thread Adeel Anwar
Hi Martin, i have used gr_modtool.py to create custom blocks and all these new blocks are working fine. Thanks to u for this good utility. I have python/gnuradio installed on two machines. Same version of gr_modtool.py (downloaded yesterday) works fine on one but on second machine, it creates new

Re: [Discuss-gnuradio] Unable to receive using USRP N210, XCVR2450 daughterboards running benchmark programs

2012-01-09 Thread adeel anwar
Dhrubojyoti, In ur program u have set the Bitrate rate to 2MB/s. It exceeds the computing power of ur PC that is why u are getting "". These 'O' means overflow i.e. USRP is producing data at faster rate than the ability of PC to process Try changing bitrate to 100-500 KB/s -Adeel On Sun, Jan

Re: [Discuss-gnuradio] How does benchmark_rx.py know the packet size?

2011-12-08 Thread adeel anwar
Song, Every transmitted pkt has structure preamble:access_code:header:payload_with_crc:'\x55' header consists of 2 16-bit shorts, having payload length and whitener offset. On receiver side "framer sink" extracts the payload depending upon the value of header (2 shorts). see "packet_util

[Discuss-gnuradio] Bursty communication Synchronization

2011-11-20 Thread adeel anwar
Hello, Synchronization blocks in GNU Radio are feedback based e.g FLL, PFB clock Synch,M&M Synch. Control loop takes some time to minimize the error e.g "benchmark_rx.py" takes 200+ symbols time for FLL and PFB clock synch to lock. In some bursty communication where we have to transmit only 1500-2

Re: [Discuss-gnuradio] Taps in Channel model [1,0] vs [1,1]

2011-11-14 Thread adeel anwar
In phasor form 1+0j = 1<0deg so no effect on amplitude and angle 0f Input & Output similarly 1+1j = 1.1415<45deg i.e.input is scaled by 1.14(sqrt(2)) and rotated by 45 degrees -Adeel On Mon, Nov 14, 2011 at 8:35 PM, Marcus M wrote: > Hi, > What is the difference between the effect of channel mod

Re: [Discuss-gnuradio] New webpage look

2011-10-13 Thread adeel anwar
i think josh is right about the color. Instead of red, some shade of blue or green might give a better look. http://gnuradio.org/redmine/projects/gnuradio/wiki instead of putting "Start page", "Index by Title", "Index by Date" buttons on right-side, they may be placed on the top of start page (ma

Re: [Discuss-gnuradio] GRC Importing modules from local directory

2011-10-06 Thread adeel anwar
ment to put in python path (e.g. digital mentioned above) Adeel On Wed, Oct 5, 2011 at 11:55 PM, Josh Blum wrote: > > > On 10/05/2011 11:50 PM, adeel anwar wrote: > > Using GRC "import block", i want to import some custom modules from a > local > > directory >

[Discuss-gnuradio] GRC Importing modules from local directory

2011-10-05 Thread adeel anwar
Using GRC "import block", i want to import some custom modules from a local directory (same directory contains grc files and other files that needs to be imported), but it is giving error. As i understood, GRC doesn't recognizes the directory in which we save '*.grc' as its working directory How ca

Re: [Discuss-gnuradio] Using GnuRadio Commands inside GRC

2011-09-22 Thread adeel anwar
Simulink and Labview have such blocks for code On Fri, Sep 23, 2011 at 9:17 AM, Josh Blum wrote: > > > On 09/22/2011 09:05 PM, adeel anwar wrote: > > Hi, > > > > Simulink have a block named "Matlab Function", in which user can write > > Matlab code and use

[Discuss-gnuradio] Using GnuRadio Commands inside GRC

2011-09-22 Thread adeel anwar
Hi, Simulink have a block named "Matlab Function", in which user can write Matlab code and use it just like other simulink blocks,so does GRC have a smilar block which supports gnuradio commands/function (for which GRC blocks are not yet written ) or is such block planned in the future? Regards,