Skip to content

Connecting to SP983c by Basel in Python

Instrument Card

The low-noise high-stability (LNHS) I to V Converter offers ultra-low noise, excellent stability, and unique features such as a floating input and the possibility to apply an external bias voltage

SP983c

Device Specification: here

Manufacturer card: BASEL

BASEL

Basel Precision Instruments develop ultra-low-noise precision laboratory and scientific electronics for applications requiring ultra-high sensitivity, such as low-temperature quantum physics.

  • Headquarters: Switzerland
  • Yearly Revenue (millions, USD): 1
  • Vendor Website: here

Connect to the SP983c in Python

PROTOCOLS > SCPI

import qcodes as qc
from qcodes.instrument_drivers.physical_instruments import BaselSP983c
# Create an instance of the BaselSP983c instrument
instrument = BaselSP983c("instrument_name", input_offset_voltage=0)
# Connect to the instrument
instrument.connect()
# Get the IDN information of the instrument
idn = instrument.get_idn()
print(idn)
# Disconnect from the instrument
instrument.disconnect()

Explanation:

  1. Import the necessary modules: qcodes and BaselSP983c from qcodes.instrument_drivers.physical_instruments.
  2. Create an instance of the BaselSP983c instrument with a desired name and optional input_offset_voltage parameter.
  3. Connect to the instrument using the connect() method.
  4. Use the get_idn() method to retrieve the IDN information of the instrument.
  5. Print the IDN information.
  6. Disconnect from the instrument using the disconnect() method.