Namnlös (4)

Accordion – Python Integration

Python‑based test development with Accordion

Accordion can be controlled directly from Python, enabling test engineers to automate, integrate and scale test systems using familiar tools and workflows.

Python access is provided via an official client and documented API, giving programmatic control of Accordion hardware and software functionality without introducing a proprietary test language.

Want to know more about using Accordion?

Talk to an expert

Designed for test engineers

The Python integration is intended for engineers with experience in test development who need deterministic, scriptable control of test hardware.
Typical use cases include:

  • Automated production test
  • System bring‑up and validation
  • Hardware abstraction inside Python test frameworks
  • Integration with CI, MES or result databases

Python control is independent of graphical tools and suitable for unattended or headless execution.

Unified hardware access through channels

All functionality in an Accordion system is exposed through channels.
A channel represents a function or signal in the system, for example:

  • Digital or analogue I/O
  • Measurements such as voltage, current or temperature
  • Registers and configuration parameters
  • Communication buses such as I²C, UART, USB or JTAG

This abstraction allows test code to interact with different hardware capabilities using a consistent interface, reducing device‑specific logic in test scripts.

Modular by design

Accordion systems are modular at both hardware and software level.

  • Hardware functionality is provided by interchangeable modules
  • Software modules can extend system behaviour
  • Test setups can evolve without rewriting core test logic

The Python client accesses the same underlying system regardless of module configuration, supporting reuse across projects and test stations.

How the Python integration works

The Python client provides access to the Accordion API, enabling Python applications to communicate with the Accordion agent running on the system.
Conceptual flow:
Python test code
→ Python client
→ Accordion API
→ Accordion agent and modules

This architecture supports:

Scripted configuration and control
Remote operation over the network
Integration into existing Python-based test environments

Getting started

Install the Python client using pip. For connection details, examples and common workflows, refer to the Python how‑to documentation.

Installation details and release information

Task‑oriented documentation and examples

Accordion system documentation