Skip to content

Use Instrument.register and format code

Clemens Lange requested to merge clange/icicle:dt803x into 1.3.0-RC

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.

Merge request reports