Scroll to navigation

osmocom_siggen_nogui(1) User Commands osmocom_siggen_nogui(1)

NAME

osmocom_siggen_nogui - Signal generator application

SYNOPSIS

osmocom_siggen_nogui: [options]

DESCRIPTION

Signal generator application

OPTIONS

show this help message and exit
Device args, [default=]
Select Rx Antenna where appropriate
Set sample rate (bandwidth), minimum by default
Set gain in dB (default is midpoint)
Set carrier frequency to FREQ [default=mid-point]
Set carrier frequency correction [default=0]
Set baseband waveform frequency to FREQ [default=0]
Set 2nd waveform frequency to FREQ [default=none]
Generate a carrier modulated by a complex sine wave
Generate a constant carrier
Set waveform phase offset to OFFSET [default=0]
Generate Gaussian random output
Generate Uniform random output
--2tone
Generate Two Tone signal for IMD testing
Generate a swept sine wave
Generate GMSK modulated GSM Burst Sequence
Set output amplitude to AMPL (0.1-1.0) [default=0.3]
Use verbose console output [default=False]

Note: failed to enable realtime scheduling, continuing

Device specification

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.

FCD Source

Notes
0-based device identifier, optional
overrides the audio device
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+.

OsmoSDR Source

Notes
0-based device identifier
Default is 32
Default is 256kB, must be multiple of 512

RTL-SDR Source

Notes
0-based device identifier OR serial number
Frequency (Hz) used for the RTL chip, accepts eng notation
Frequency (Hz) used for the tuner chip, accepts eng notation
Default is 32
Default is 256kB, must be multiple of 512
Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel
Enable offset tune mode for E4000 tuners

NOTE: use rtl_eeprom -s to program your own serial number to the device

NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz

RTL-SDR TCP Source

Notes
hostname defaults to "localhost", port to "1234"
Default is 16384 bytes
Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled
Enable offset tune mode for E4000 tuners

Miri Source

Notes
0-based device identifier
Default is 32

UHD Source / Sink

Argument Notes

Use this argument without a value
For multichannel USRP configurations use the subdev parameter to specify stream mapping
Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this
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.

bladeRF Source / Sink

Notes
0-based device identifier (optional)
program MCU firmware from given file. usually not needed. power cycle required.
load FPGA bitstream from given file. required only at first run at the moment.

HackRF Source / Sink

Notes
Use this argument without a value
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.

IQ File Source

Notes
Center frequency in Hz, accepts eng notation
Mandatory, in samples/s, accepts eng notation
Default is true
Throttle flow of samples, default is true

EXAMPLES

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

SEE ALSO

osmocom_fft(1) osmocom_siggen(1) osmocom_spectrum_sense(1)

October 2013 OSMOCOM