Difference between revisions of "Ophyd"
KevinYager (talk | contribs) (Created page with "'''ophyd''' is a Python-based interactive environment for instrument control at NSLS-II synchrotron beamlines. ==Examples== * wh_pos() : motor positions * mov(dcm...") |
KevinYager (talk | contribs) (→Examples) |
||
Line 2: | Line 2: | ||
==Examples== | ==Examples== | ||
− | * wh_pos() : motor positions | + | * Motors |
− | * mov(dcm_x, 1.0) : move motor | + | ** wh_pos() : motor positions |
− | * movr(dcm_x, -1.0) : relative motion | + | ** mov(dcm_x, 1.0) : move motor |
− | * movr([dcm_x, dcm_y], [-1.0,-1.0]) : multiple motions | + | ** movr(dcm_x, -1.0) : relative motion |
− | + | ** movr([dcm_x, dcm_y], [-1.0,-1.0]) : multiple motions | |
− | + | * Scan | |
− | + | ** dscan.detectors : list | |
+ | ** dscan(diff_xh, -1, 1, 25) | ||
+ | * EPICS | ||
+ | ** Access PVs: | ||
+ | *** caget() | ||
+ | *** caput() | ||
+ | ** Epics signals | ||
+ | *** eiger1M_exposure_time = EpicsSignal('XF:11IDB-BI{Det:Eig1M}cam1:AcquireTime', rw=True, name='eiger1M_exposure_time') | ||
==Beamlines using ophyd== | ==Beamlines using ophyd== |
Revision as of 12:51, 31 July 2015
ophyd is a Python-based interactive environment for instrument control at NSLS-II synchrotron beamlines.
Examples
- Motors
- wh_pos() : motor positions
- mov(dcm_x, 1.0) : move motor
- movr(dcm_x, -1.0) : relative motion
- movr([dcm_x, dcm_y], [-1.0,-1.0]) : multiple motions
- Scan
- dscan.detectors : list
- dscan(diff_xh, -1, 1, 25)
- EPICS
- Access PVs:
- caget()
- caput()
- Epics signals
- eiger1M_exposure_time = EpicsSignal('XF:11IDB-BI{Det:Eig1M}cam1:AcquireTime', rw=True, name='eiger1M_exposure_time')
- Access PVs: