| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fmcomms2 source/sink were wrapped with hier blocks that were used as
the basis for the pluto blocks
This templatizes the fmcomms2 blocks so they can be directly used, and
since the pluto block is so close to the fmcomms block, just use grc as
the wrapper around it
fmcomms2/pluto can also now be used as sc16 or fc32
Signed-off-by: Josh Morman <jmorman@peratonlabs.com>
|
|
|
|
| |
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pluto source / sink fails to set hardwaregain with
gr::log :WARN: iio::device::set_params - Unable to write attribute in_voltage0_hardwaregain: -22
gr::log :WARN: iio::device::set_params - Unable to write attribute out_voltage0_hardwaregain: -22
gain values are treated as double. The conversion std::to_string() uses the locale setting.
So in the US std::to_string(10.) leads to "10.0" while in Germany the result is "10,0" which the pluto handles as error.
This problem only exists if real values are converted. So check if the converted string contains a , as separator and change it to a dot .
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
|
|
|
|
|
|
|
| |
This commit cleans up unused headers (cstdio) and replaces all instances
of std::cout and std::cerr with the corresponding GR_LOG_* invocation.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This PR adds stream tagging support to the device_source and device_sink
blocks, and thus also deriviates like the fmcomms2 and pluto.
The important bits are:
* The source block now tags buffer boundaries
* When tagged_input is enabled on the device sink, it enforces that all
input packet sizes match buffer_size / (1 + interpolation). This isn't
very flexible, but can be understood as a safeguard against unexpected
behavior.
Signed-off-by: David Winter <david.winter@analog.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Advanced filter configurations are now possible through the Pluto and
FMComms2 sink blocks. This includes filter designer controls and support
for the DEC8/INT8 filters now able in 2019-R2 releases from ADI. Pluto's
DEC8/INT8 filters have exists since very early firmware images.
This will also fix errors related to setting the sample rate like
"Unable to set out_voltage_sampling_frequency" since this update
properly sets the filters on sinks.
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
|
|
|
|
| |
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
|
|
| |
rather than complex constructors and a catch all set_params, construct
with the minimum amount of parameters and then have them individually
settable
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
|
|
|
|
|
|
| |
Remove use of Boost where possible and use std.
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|
|
Co-authored-by: Edward Kigwana <ekigwana@scires.com>
Co-authored-by: Travis Collins <travis.collins@analog.com>
Signed-off-by: Adam Horden <adam.horden@horden.engineering>
|