[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_writtenhttp://gnuradio.org/doc/doxygen/classgr_1_1block.html#a742128a481fcb9e43a3e0cd535a57f9e 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
:* USRP-users [mailto:usrp-users-boun...@lists.ettus.com] *On Behalf Of *Luke Hough *Sent:* Thursday, January 23, 2014 3:22 PM *To:* Adeel Anwar *Cc:* usrp-us...@lists.ettus.com; discuss-gnuradio@gnu.org *Subject:* Re: [USRP-users] [Discuss-gnuradio] B200 gain control and RF input power Adeel

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

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 GRC u

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 yeran0...@hotmail.com wrote: Hi Adeel, I'm using RFX 2400 for experiment, there are no parameter

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 or

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

[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

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

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 adeela...@gmail.com wrote: for index = 1:PacketLength PacketWithFreqOffset(index) = Packet(index)*exp(i*2*pi*fΔ*SampleRate*index); end So

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] 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 MM. 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

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 the

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

2013-07-18 Thread Adeel Anwar
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 adeela...@gmail.com wrote: Nemanja, I built this block sometime back. The ideas

[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,

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

[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%93rev=715fd038325fa4a265328fac2bdb54850b990ea7rev_to=4b9d692f56dbc96b7e2defb889ed092388eeb332 Moreover u can check the list of all possible

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 and

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 adeela...@gmail.com *To:* tom sutherland alphatoz...@yahoo.com; 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 On Fri

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, 周崴 lonelysai...@163.com wrote: ___ Discuss-gnuradio mailing list

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 alphatoz...@yahoo.comwrote: 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

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()

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

2013-06-16 Thread Adeel Anwar
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 supports only a subset of usrp-functions (exposed through gr-uhd) e.g. set_command_time, set/get_gain/freq etc

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

[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 shahab.s2...@gmail.com wrote: Hi, I would like to ask if anyone knows how long is the delay between a

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

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 mle...@ripnet.com wrote: I believe that they are all dropped, but Josh can comment more definitively. on Jun 10, 2013, *Sean Nowlan*

[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 at

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 ubuntu

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 swrangs...@gmail.comwrote: Hi, We installed the latest UHD-003.005.003 with gnuradio-3.6.4.1 on a 32-bit PC

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

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 yandamuri.ma...@gmail.com 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

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

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 m...@mbiederman.com wrote: hi tom, thanks for your response,

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

2012-09-26 Thread Adeel Anwar
-- Forwarded message -- From: Adeel Anwar adeela...@gmail.com 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-rah...@uiowa.edu Mahboob, uhd usrp sink. Now, the other

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 On

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 rakeshk.gu...@rolta.comwrote: Dear All, I am new to USRP. I want to

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 adeela...@gmail.com wrote: Anju, Try connecting these data_src(0,1)==chunk to symbol(-1,1)==fm modulator(sensitivity=(2*pi

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

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

[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,MM 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

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

2011-11-14 Thread adeel anwar
In phasor form 1+0j = 10deg so no effect on amplitude and angle 0f Input Output similarly 1+1j = 1.141545deg 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 gnu.f...@gmail.com wrote: Hi, What is the difference between the effect

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 (maybe

[Discuss-gnuradio] GRC Importing modules from local directory

2011-10-06 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 can

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

2011-10-06 Thread adeel anwar
. digital mentioned above) Adeel On Wed, Oct 5, 2011 at 11:55 PM, Josh Blum j...@joshknows.com 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 (same directory contains grc files and other files that needs

[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,

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 j...@joshknows.com 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 it just like other simulink blocks,so