This page was generated from docs/examples/driver_examples/Qcodes example with Stahl.ipynb. Interactive online version: Binder badge.

QCoDeS Example with the Stahl Bias Sources

This notebook provides an example to how to set voltages with the Stahl Bias Sources.

[1]:
from qcodes.instrument_drivers.stahl import Stahl
[2]:
stahl = Stahl("stahl", "ASRL3")
Connected to: Stahl HV (serial:171, firmware:None) in 0.19s
[3]:
stahl.channel[4].voltage(2)
v = stahl.channel[4].voltage()
print(v)
2.002
[4]:
stahl.channel[4].voltage(-2)
v = stahl.channel[4].voltage()
print(v)
-1.997
[5]:
stahl.channel[4].voltage(0)
v = stahl.channel[4].voltage()
print(v)
0.001
[6]:
stahl.channel[0].current()
[6]:
1e-06
[7]:
stahl.channel[0].current.unit
[7]:
'A'
[8]:
stahl.temperature()
[8]:
25.9
[9]:
stahl.channel[1].is_locked()
[9]:
False
[10]:
stahl.output_type
[10]:
'bipolar'
[ ]: