Overview
The Echo ATS Command-Line Interface (CLI) enables you to configure and control your Echo ATS device from the command prompt or integrate it into automated test sequences. The CLI provides scriptable access to all major device functions, including input configuration, session file management, headphone outputs, and device-level settings.Key Capabilities
- Configure microphone inputs with gain and constant current power
- Load and save complete device configurations using session files
- Configure headphone outputs with impedance measurement
- Set device-level parameters like clock source
- Read TEDS (IEEE 1451.4) data from smart transducers
- Integrate with automated test frameworks and scripts
When to Use the CLI
The CLI is ideal for:- Test automation - Integrate ATS configuration into automated test sequences
- Batch configuration - Set up multiple channels quickly with scripts
- Remote operation - Configure devices from scripts or remote sessions
- CI/CD integration - Include hardware configuration in continuous testing pipelines
- Repetitive tasks - Automate frequently-used configurations
Installing the CLI
- Download and run the Echo Test Interfaces Installer from support.echotm.com
-
The installer places the CLI in the default location:
-
The CLI executable is named
EchoCLI.exe -
Verify installation by opening Command Prompt and navigating to the CLI folder:
Required Files
The CLI requiresEchoAPI.dll to communicate with the device. This library must be located:
- In the same folder as
EchoCLI.exe, OR - In
C:\Program Files\Echo Test Interfaces\
Adding CLI to System PATH (Optional)
To run the CLI from any directory without specifying the full path:- Open System Properties → Advanced → Environment Variables
- Under System Variables, select Path and click Edit
-
Click New and add:
- Click OK to save changes
-
Open a new Command Prompt and verify by typing:
Command Structure
The Echo ATS CLI v5.0 uses a command-based syntax where the first argument specifies the operation:Available Commands
| Command | Purpose |
|---|---|
help | Display help information for commands |
mic | Configure microphone input channels |
headphone | Configure headphone outputs and measure impedance |
config | Load or save session configuration files |
device | Configure device-level settings (clock source, calibration) |
Getting Help
To display general help:Command Options Format
Commands use long-form options with double dashes:Configuring Microphone Inputs
Use themic command to configure input channels with gain, constant current power, and TEDS reading.
Command Syntax
Options
| Option | Description | Values |
|---|---|---|
--input | Input channel to configure | 1, 2, 3, 4 |
--gain | Input gain amplification | 1 (0 dB), 10 (20 dB), 100 (40 dB) |
--ccp | Constant current power for IEPE/ICP mics | on, off |
--cal | Calibration signal enable | on, off |
--teds | Read TEDS data from smart transducer | No value or filename for export |
Understanding Constant Current Power (CCP)
Constant current power provides 4 mA of DC power to IEPE (Integrated Electronics Piezo-Electric) or ICP (Integrated Circuit Piezoelectric) microphones and sensors.- Enable CCP (
--ccp=on) when using IEPE/ICP microphones - Disable CCP (
--ccp=off) when using:- Line-level inputs
- Traditional condenser microphones (require phantom power)
- Dynamic microphones
- Passive sensors
Examples
Example 1: Basic Configuration Set input channel 3 to 10x gain and enable constant current power:Reading TEDS Data
TEDS (Transducer Electronic Data Sheet) is an IEEE 1451.4 standard that allows smart transducers to store calibration data digitally. Compatible microphones include manufacturer information, sensitivity, frequency response, and serial numbers in embedded memory. Read and display TEDS data:Managing Session Files
Session files store complete device configurations, including all input/output settings, gain levels, routing, and driver parameters. Use session files to quickly restore known configurations or switch between test setups.Command Syntax
Options
| Option | Description |
|---|---|
--load-file | Load a session file and apply configuration to device |
--save-file | Save current device configuration to a session file |
Session File Extensions
Session files typically use the.aiosession extension, though the exact extension may vary based on your configuration.
Loading Session Files
Load a session file to instantly configure the entire device:Saving Session Files
Save the current device configuration to a file:Device-Level Configuration
Use thedevice command to configure settings that affect the entire Echo ATS unit.
Command Syntax
Options
| Option | Description | Values |
|---|---|---|
--clock | Audio clock source | internal, usb |
--cal | Device-wide calibration signal | on, off |
--wasapi | Windows WASAPI driver support | on, off |
Clock Source
The clock source determines the master timing for all audio operations. Internal Clock (default):- Device uses its own crystal oscillator
- Use for standalone operation
- Best for most applications
- Device synchronizes to USB bus clock
- Use when synchronizing with computer’s audio interface
- May have slightly higher jitter
Scripting and Automation
The CLI is designed for integration into automated test workflows and scripts.Using the CLI in Batch Scripts
Create a Windows batch file (.bat or .cmd) to automate configuration:
Example: setup_test.bat
Additional Resources
API Library
For custom application development, Echo provides a C++/Python API library: GitHub Repository: github.com/mattgonzalez/EchoAIOExampleContact Echo for info or support.