User Tools

Site Tools


n1470

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
n1470 [2017/12/19 14:06]
acqilc
n1470 [2021/07/10 23:21] (current)
Line 6: Line 6:
 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 13: 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)
 +
n1470.1513692418.txt.gz · Last modified: 2021/07/10 23:20 (external edit)