DE-12 Installation Pyscope Test » History » Version 2
Anchi Cheng, 01/09/2014 09:30 PM
| 1 | 1 | Anchi Cheng | # start DE Server |
|---|---|---|---|
| 2 | # from python command line |
||
| 3 | <pre> |
||
| 4 | from pyscope import de |
||
| 5 | c = de.DE12() |
||
| 6 | c.setExposuretime(407) |
||
| 7 | c.getImage() |
||
| 8 | </pre> |
||
| 9 | * 407 ms is the 10 frame exposure time at 25.4 Hz default in DE-12 |
||
| 10 | 2 | Anchi Cheng | |
| 11 | The result should be an array of numbers |