Use Instrument.register and format code
This makes class instantiation work.
What's now working is the following:
from icicle.caenDT8033N import CaenDT8033N
hv = CaenDT8033N(resource='ASRL/dev/ttyACM0::INSTR')
with hv:
# print(dir(hv))
print(hv.identify())
print(hv.query('CURRENT'))
print(hv.query('VOLTAGE'))
print(hv.query('STATUS'))
What's not yet working is setting voltages and currents etc.