+
+

Command Line Interface Tools¶

+

The following command line tools are available in the when the optional cli dependency is installed.

+
pip install pybench[cli]
+
+
+

There are two command line tools available:

+
    +
  • pybenchiio - A command line tool for interfacing with libiio devices.

  • +
  • pybench - A command line tool for querying VISA based instruments.

  • +
+
+

pybenchiio¶

+

Command line interface for pybench IIO based boards

+
pybenchiio [OPTIONS] COMMAND [ARGS]...
+
+
+

Options

+
+
+-u, --uri <uri>¶
+

URI of target device/board

+
+ +
+
+-d, --device <device>¶
+

Device driver to use

+
+ +
+
+-x, --complex¶
+

Use complex mode

+
+ +
+

set-dds¶

+

Configure DDS

+
pybenchiio set-dds [OPTIONS]
+
+
+

Options

+
+
+-f, --frequency <frequency>¶
+

Required Set the frequency of the DDS in Hz

+
+ +
+
+-a, --amplitude <amplitude>¶
+

Required Set the amplitude of the DDS in 0->1

+
+ +
+
+-c, --channel <channel>¶
+

Required Set the channel of the DDS

+
+ +
+
+
+
+

pybench¶

+

Command line interface for pybench VISA based instruments

+
pybench [OPTIONS] COMMAND [ARGS]...
+
+
+
+

list¶

+

List available devices

+
pybench list [OPTIONS]
+
+
+
+
+
+ +