---
name: "fdmdv_get_test_bits"
section: "1"
platform: "linux"
package: "codec2"
version: "1.2.0-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/fdmdv_get_test_bits"
---

# fdmdv\_get\_test\_bits(1)

a diagnostic tool for the codec2 library to generate data for fdmdv\_mod.

## NAME

fdmdv\_get\_test\_bits - a diagnostic tool for the codec2 library to generate data for fdmdv\_mod.

## SYNOPSIS

**fdmdv\_get\_test\_bits usage:** *OutputBitFile* *numBits* *\[Nc\]*

## DESCRIPTION

Generates a file of packed test bits, useful for input to fdmdv\_mod.

## EXAMPLE

 fdmdv\_get\_test\_bits test.c2 1400

## OPTIONS

The first argument,  *OutputBitFile* is the file name of a file to be created with test sample data. If "-" is given the output is sent to stdout.

The second argument,  *numBits* is an integer number of bits per second to use.

The optional third argument, *\[Nc\]* is the number of carriers to use in the modem. The default is 14. The minimum is 2 and the maximum is 20.

## SEE ALSO

[**fdmdv\_mod**(1)](/fdmdv_mod/1.md), [**fdmdv\_demod**(1)](/fdmdv_demod/1.md) [**fdmdv\_put\_test\_bits**(1)](/fdmdv_put_test_bits/1.md)
