Skip to content

Connecting to AVS 47 by Picowatt in Python

Instrument Card

The Picowatt AVS 47 is a resistance bridge used to measure the resistance of low-temperature sensors.

AVS 47

Device Specification: here

Manufacturer card: PICOWATT

PICOWATT

RV-Elektroniikka Oy PICOWATT is specialized in manufacturing instruments for thermometry at ultralow temperatures. Founded in February 1978, we have gathered 45 years of experience in designing and manufacturing low-noise precision

  • Headquarters: Finland
  • Yearly Revenue (millions, USD): 5
  • Vendor Website: here

Connect to the AVS 47 in Python

PROTOCOLS > SCPI

Here is an example Python script that uses Instrumentkit to connect to a Picowatt AVS 47 resistance bridge:

import instrumentkit as ik
# Connect to the AVS 47 resistance bridge
bridge = ik.picowatt.PicowattAVS47.open_gpibusb('/dev/ttyUSB0', 1)
# Set the input source to actual
bridge.input_source = bridge.InputSource.actual
# Set the multiplexer channel to 0
bridge.mux_channel = 0
# Get the resistance of the sensor at channel 0
resistance = bridge.sensor[0].resistance
# Print the resistance
print(resistance)

In this script, we first import the instrumentkit module as ik. Then, we use the open_gpibusb method of the PicowattAVS47 class to connect to the AVS 47 resistance bridge. We pass the serial port path (/dev/ttyUSB0) and the GPIB address (1) as arguments to the open_gpibusb method.

Next, we set the input source to actual by assigning the InputSource.actual value to the input_source property of the bridge object.

Then, we set the multiplexer channel to 0 by assigning the value 0 to the mux_channel property of the bridge object.

Finally, we get the resistance of the sensor at channel 0 by accessing the resistance property of the sensor object at index 0. We store the resistance in the resistance variable and print it.

Note: This script assumes that you have installed the instrumentkit library and have the necessary hardware and drivers set up to communicate with the AVS 47 resistance bridge.