Instrument: VariableOpticalAttenuatorΒΆ

In [1]:
%load_ext autoreload
%autoreload 2
from start import start

voa = start('HP 8156A Optical Attenuator (corinna)')

It is alive
HEWLETT-PACKARD,HP8156A,3328G01226,1.02
Here is what to test:
startup
on
off
attenDB
attenLin
In [2]:
voa.attenDB = 0
voa.attenDB = 3
voa.attenLin = 0

print(voa.attenDB)  # this should give you the maximum 60

voa.off()
60.0