Article view
Hardware-Control: Instrument control and automation package
By Grant Giesbrecht, Ariel Amsellem, Timo Bauer, Brian Mak, Brian Wynne, Zhihao Qin, Arun Persaud
Article information
- Publisher
- Free Journal Network
- Publication
- Published 20 April 2022
- Institutions at publication
- Lawrence Berkeley National Laboratory; Technische Universität Darmstadt
- Full text
- Read the article
Countries with citations
No data yet
Usage
Phase 3: not collected yet
Abstract
Conducting experimental research often relies on the control of laboratory instruments to, for example, control power supplies, move stages, and measure data. Tasks, such as data logging or parameter scans, often need to be automated. Being able to easily create a user interface to the hardware and to be able to reuse code is highly desirable. Hardware-Control is a Python package for instrument control and automation. It provides reusable user interfaces and instrument drivers to simplify writing control programs. Hardware -Control uses PyQt5, a GUI framework (Riverbank Computing Limited, 2020), to create fast and efficient user interfaces compatible with most major operating systems. Hardware-Control is also designed so that new drivers can be easily added for new hardware and used with existing user interfaces. The package also provides means for simplifying data collection with automatic data logging, plotting, and several export formats. Hardware-Control was designed with the use case of experiments in our laboratory in mind. Normally, this involves reading and setting voltages, controlling power supplies and oscilloscopes, updating values on external triggers, and automatically updating these values on a timer with time scales of about a second. The program is currently not well-fitted to do any real-time or near real-time communications with instruments or to handle data that is, for example, being streamed from a camera. The program interacts best with message-based devices or devices that already have Python's modules available to control them. The program's instrument drivers can send messages to sockets, usb ports, serial ports, etc. or call a Python function to read or write a setting or call a command on the interface. Most of the drivers rely on the excellent PyVISA (PyVISA Authors, 2021) library, but drivers can also utilize PyModbus (Pymodbus Authors, 2021), or the built-in socket library.
Citations per year
| Year | Citations |
|---|---|
| 2022 | 1 |
| 2023 | 1 |
| 2024 | 0 |
| 2025 | 0 |
| 2026 | 1 |
OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.
Works citing this article
OpenAlex counts 3 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.
Where its authors are based
Countries of the institutions the article's authors were affiliated to when it was published.
- AUTHORS
- CITATIONS No data yet
- USAGE Phase 3
| Country | Authors |
|---|---|
| United States | 7 |
| Germany | 1 |