This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
n1470 [2017/12/19 14:06] acqilc created |
n1470 [2021/07/10 23:21] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Acces au module N1470 HV ====== | ====== Acces au module N1470 HV ====== | ||
+ | |||
+ | Le code est sur lyosdhcal9 /home/acqilc/n1470.py | ||
<code python> | <code python> | ||
import n1470 | import n1470 | ||
hv=n1470.mod1470("/dev/ttyUSB0",2) | hv=n1470.mod1470("/dev/ttyUSB0",2) | ||
+ | help(hv) | ||
hv.status(1) | hv.status(1) | ||
hv.status(0) | hv.status(0) | ||
Line 11: | Line 14: | ||
</code> | </code> | ||
+ | |||
+ | 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) | ||
+ |