osmocom_siggen_nogui - Signal generator application
osmocom_siggen_nogui: [options]
Signal generator application
- -h, --help
- show this help message and exit
- -a ARGS,
--args=ARGS
- Device args, [default=]
- -A ANTENNA,
--antenna=ANTENNA
- Select Rx Antenna where appropriate
- -s SAMP_RATE,
--samp-rate=SAMP_RATE
- Set sample rate (bandwidth), minimum by default
- -g GAIN,
--gain=GAIN
- Set gain in dB (default is midpoint)
- -f FREQ,
--tx-freq=FREQ
- Set carrier frequency to FREQ [default=mid-point]
- -c FREQ_CORR,
--freq-corr=FREQ_CORR
- Set carrier frequency correction [default=0]
- -x WAVEFORM_FREQ,
--waveform-freq=WAVEFORM_FREQ
- Set baseband waveform frequency to FREQ [default=0]
- -y WAVEFORM2_FREQ,
--waveform2-freq=WAVEFORM2_FREQ
- Set 2nd waveform frequency to FREQ [default=none]
- --sine
- Generate a carrier modulated by a complex sine wave
- --const
- Generate a constant carrier
- --offset=OFFSET
- Set waveform phase offset to OFFSET [default=0]
- --gaussian
- Generate Gaussian random output
- --uniform
- Generate Uniform random output
- --2tone
- Generate Two Tone signal for IMD testing
- --sweep
- Generate a swept sine wave
- --gsm
- Generate GMSK modulated GSM Burst Sequence
- --amplitude=AMPL
- Set output amplitude to AMPL (0.1-1.0) [default=0.3]
- -v, --verbose
- Use verbose console output [default=False]
Note: failed to enable realtime scheduling, continuing
You can specify the source or sink device using a comma separated
string of argument=value pairs. The always-up-to-date block documentation
with examples is available right here.
- Argument
- Notes
- fcd=<device-index>
- 0-based device identifier, optional
- device=hw:2
- overrides the audio device
- type=2
- selects the dongle type, 1 for Classic, 2 for Pro+
The "device" argument overrides the audio device used by
the underlying driver to access the dongle's IQ sample stream.
The "type" argument selects the dongle type, 1 for
Classic, 2 for Pro+.
Argument Notes
- uhd
- Use this argument without a value
- nchan=<channel-count>
- For multichannel USRP configurations use the subdev parameter to specify
stream mapping
- subdev=<subdev-spec>
- Examples: "A:0", "B:0", "A:0 B:0" when
nchan=2. Refer original ettus documentation on this
- lo_offset=<frequency>
- Offset frequency in Hz, must be within daughterboard bandwidth. Accepts
eng notation
Additional argument/value pairs will be passed to the underlying
driver, for more information see specifying the subdevice and
common device identifiers in the Ettus documentation.
- Argument
- Notes
- hackrf
- Use this argument without a value
- buffers=<number-of-buffers>
- Default is 32
Only the first device found may be used at the moment because of
libhackrf limitation.
Transmit support has been verified by using the crc-mmbTools DAB
sdr transmitter.
osmocom_siggen_nogui -a hackrf -f 100e6 --sweep -x 2e6 -y 10
-v
osmocom_siggen_nogui -a uhd,subdev=A:0 -f 100e6 --sweep -x 2e6 -y
10 -s 4e6 -v