Connecting to Keysight 34980A by Keysight in Python
Instrument Card
The Keysight 34980A Multifunction Switch/Measure unit is designed for R&D and manufacturing test engineers who are working in design verification, automated test or data acquisition and are either looking to upgrade their existing systems or are in need of a new, cost-effective alternative
Device Specification: here
Manufacturer card: KEYSIGHT
Keysight Technologies, or Keysight, is an American company that manufactures electronics test and measurement equipment and software
- Headquarters: USA
- Yearly Revenue (millions, USD): 5420
- Vendor Website: here
Demo: Record temperature over time with a LabJack DAQ board
Connect to the Keysight 34980A in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is a Python script that uses Qcodes to connect to a Keysight 34980A DAQ board:
This script imports the necessary modules and creates an instance of the Keysight34980A
instrument with the name ‘daq’ and the specified address. It then connects to the instrument using the connect()
method.
After connecting, the script performs some operations with the instrument, such as resetting it, getting the status and error messages. Finally, it disconnects from the instrument using the disconnect()
method.