Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Date: Tue, 19 Jan 2010 18:15:08 +0530
From: srinivas naga vutukuri <srinivas.vutukuri@gmail.com>
To: discuss-gnuradio@gnu.org
Subject: [Discuss-gnuradio] tx_samples.cc is not accepting the gain
parameter input.
Hi,
I observed that tx_samples.cc is not accepting the gain input parameter
(ie., -g option). I just changed like this in my code.
Its working, so posting the changes. If it is acceptable please take it.
best regards,
srinivas.
|
|
|
|
|
|
|
|
The start_rx_streaming_at call was not clearing the
d_dont_enqueue flag, resulting in the receiver loop
discarding data packets.
|
|
|
|
Now compiles cleanly again.
|
|
Trailing whitespace removal
Copyright updates
|
|
|
|
|
|
After fixing the race, this change uses Tom's idea to stop enqueuing
data when trying to stop, and adds a new flush_rx_samples method
to drop any samples that may have already been accumulated.
I ran Tom's test case 500 times with 0 failures ;-)
|
|
This fixes the bulk of the problem. Next step is to drop data packets
while waiting for the reply.
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11592 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
with g++ 4.4
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11267 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11088 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11085 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
* C++: Adds usrp2::MC_* constants for config_mimo() call in libusrp2
* Python: Adds usrp2.config_mimo(), and usrp2.MC_* constants
* Python: Adds usrp2.sync_every_pps()
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11050 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11043 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11000 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10793 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10768 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
streaming GPIO functions for USRP2.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10766 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10689 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10645 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10558 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
header files into /gnuradio. Trunk passes distcheck.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10506 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10477 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10475 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10471 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10426 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10424 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
* Implements daughterboard independent LO offset tuning
* Removes RFX specific LO offset code
* Adds 'set_lo_offset' to libusrp2 and Python API
* Adds --lo-offset to usrp2_fft.py and usrp2_rx_cfile.py
* Ensures daughterboards are reset to default values at
startup.
Trunk passes distcheck.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10392 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
down and dirty test code that confirms that we can coherently transmit
different signals to two USRP2s connected via a mimo cable.
app_common_v2.h and app_passthru_v2.h were slightly modified, but
these changes to not alter the behavior of the standard code (txrx).
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10318 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10261 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
usrp2.sink_32fc results in full-scale DAC outputs, regardless of interpolation
rate.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10182 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10176 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10175 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10174 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
Wishbone bus. Minor fix for USRP2 sync_to_pps() (uses correct packet type.)
Example:
>>> from gnuradio import usrp2
>>> u = usrp2.source_32fc()
>>> u.peek(0x1234, 4) # Read four bytes at offset 0x1234 (code)
(185, 244, 253, 164)
>>>
The return value will be zero length upon error.
The read address must be 32-bit aligned, and only the lower 16 bits are
significant. The length must be an integral multiple of 4 bytes. There is
currently a read limit of 176 bytes per read; to change requires some additional
firmware changes to allocate a larger reply packet.
WARNING: Trying to read from memory locations not serviced by RAM or by a
Wishbone peripheral may result in a hang requiring a USRP2 power cycle. The
USRP2 internal memory map is documented in usrp2/firmware/lib/memory_map.h.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10172 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
fully native C++ API for the USRP.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10165 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10116 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9877 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9874 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
the latest changes in libusrp2, adding all the daughterboard accessor functions.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9856 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9820 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9819 221aa14e-8319-0410-a670-987f0aec2ac5
|