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.
Device Specification: here
Manufacturer card: 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
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is an example Python script that uses Instrumentkit to connect to a Picowatt AVS 47 resistance bridge:
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.