synApps swait record¶
The swait
record is part of the calc
module:
https://htmlpreview.github.io/?https://raw.githubusercontent.com/epics-modules/calc/R3-6-1/documentation/swaitRecord.html
see the synApps calc
module suppport:
https://github.com/epics-modules/calc
Ophyd support for the EPICS synApps swait record
EXAMPLES:;
import apstools.synApps_ophyd calcs = apstools.synApps_ophyd.userCalcsDevice(“xxx:”, name=”calcs”)
calc1 = calcs.calc1 apstools.synApps_ophyd.swait_setup_random_number(calc1)
apstools.synApps_ophyd.swait_setup_incrementer(calcs.calc2)
calc1.reset()
|
synApps swait record: used as $(P):userCalc$(N) |
|
synApps XXX IOC setup of userCalcs: $(P):userCalc$(N) |
|
setup swait record to generate random numbers |
|
setup swait for noisy Gaussian |
|
setup swait record for noisy Lorentzian |
|
setup swait record as an incrementer |
-
apstools.synApps_ophyd.swait.
swait_setup_gaussian
(swait, motor, center=0, width=1, scale=1, noise=0.05)[source]¶ setup swait for noisy Gaussian
-
apstools.synApps_ophyd.swait.
swait_setup_incrementer
(swait, scan=None, limit=100000)[source]¶ setup swait record as an incrementer