Skip to content

Connecting to Keysight 34934A by Keysight in Python

Instrument Card

The Keysight 34934A module for the 34980A Multifunction Switch/Measure Unit offers the highest density matrix for connecting paths between your device under test and your test equipment, allowing for multiple instrument connections to multiple points on your device under test at the same time.

Keysight 34934A

Device Specification: here

Manufacturer card: KEYSIGHT

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 34934A in Python

PROTOCOLS > SCPI

To connect to a Keysight 34934A DAQ board using Qcodes, you can use the following Python script:

from qcodes import VisaInstrument
# Connect to the DAQ board
daq = VisaInstrument('DAQ', 'TCPIP0::192.168.1.1::inst0::INSTR')
# Create an instance of the Keysight34934A module
module = Keysight34934A(daq, 'module1', 1)
# Set the relay protection mode to 'AUTO100'
module.protection_mode('AUTO100')
# Get the relay protection mode
mode = module.protection_mode()
# Print the relay protection mode
print(f"Relay protection mode: {mode}")
# Disconnect from the DAQ board
daq.close()

Note: Make sure to replace 'TCPIP0::192.168.1.1::inst0::INSTR' with the actual VISA address of your DAQ board.