====== Acces au module N1470 HV ====== Le code est sur lyosdhcal9 /home/acqilc/n1470.py import n1470 hv=n1470.mod1470("/dev/ttyUSB0",2) help(hv) hv.status(1) hv.status(0) hv.setVoltage(0,75) hv.setCurrent(1,8) hv.setOn(1) Help on module n1470: NAME n1470 FILE /home/mirabito/cernbox/n1470.py CLASSES mod1470 class mod1470 | Methods defined here: | | __init__(self, device, number) | | setCurrent(self, ch, val) | | setOff(self, ch) | | setOn(self, ch) | | setRampDown(self, ch, val) | | setRampUp(self, ch, val) | | setVoltage(self, ch, val) | | status(self, ch)