---
name: "uhd_rx_cfile"
section: "1"
platform: "linux"
package: "gnuradio"
version: "3.10.12.0-18"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/uhd_rx_cfile"
---

# uhd\_rx\_cfile(1)

Save UHD received data

## NAME

uhd\_rx\_cfile - Save UHD received data

## SYNOPSIS

**uhd\_rx\_cfile:** \[*options*\] *output\_filename*

## DESCRIPTION

Save I&Q data to a complex file for later use.

## OPTIONS

- **-h**, **--help**

  show this help message and exit

- **-a** ARGS, **--args**=*ARGS*

  UHD device address args , \[default=\]

- **--spec**=*SPEC*

  Subdevice of UHD device where appropriate

- **-A** ANTENNA, **--antenna**=*ANTENNA*

  select Rx Antenna where appropriate

- **--samp-rate**=*SAMP\_RATE*

  set sample rate (bandwidth) \[default=1000000.0\]

- **-f** FREQ, **--freq**=*FREQ*

  set frequency to FREQ

- **-g** GAIN, **--gain**=*GAIN*

  set gain in dB (default is midpoint)

- **-s**, **--output-shorts**

  output interleaved shorts instead of complex floats

- **-N** NSAMPLES, **--nsamples**=*NSAMPLES*

  number of samples to collect \[default=+inf\]

- **-v**, **--verbose**

  verbose output

- **--lo-offset**=*LO\_OFFSET*

  set daughterboard LO offset to OFFSET \[default=hw default\]

## SEE ALSO

[uhd\_fft(1)](/uhd_fft/1.md) [uhd\_rx\_nogui(1)](/uhd_rx_nogui/1.md) [uhd\_siggen(1)](/uhd_siggen/1.md) [uhd\_siggen\_gui(1)](/uhd_siggen_gui/1.md)
