70 likes | 197 Views
Scan Library. Three Libraries. Part of 3 Independent Libraries Qt Widget Bindings (EPICS aware) Scan Library Data Output Library These are dynamically linked into various applications. Scan options. Trigger select:
E N D
Three Libraries • Part of 3 Independent Libraries • Qt Widget Bindings (EPICS aware) • Scan Library • Data Output Library • These are dynamically linked into various applications
Scan options • Trigger select: • Start is executed once after the initialization is complete, before any other action processing or positioner movement. • Begin Pass runs at the beginning of every repeat, before the positioner is returned to the first • requested position. • Move runs immediately after each value is written to the positioner. • Dwell runs immediately after the Move action list completes. • End Pass is executed at the end of every repeat • Finish is executed when the scan has completed ■ all the repeats. • Start Pause is only executed if a scan pause is requested, and occurs at the beginning of the pause. • End Pause is executed at the end of a scan pause.
continued.... Actions: • Call Event notify an event to record a data line (no-op if the event is currently recording another line) • Wait Event checks that a named event is not processing • Wait Motor (avoid using) for motors without synchronized :status PV, check that no movement is occuring (requires setup on the Motor Groups page) • Call Scan request that a scan be executed • Wait Scan check to ensure that a named scan is not executing • Delay Time stop processing for the specified time • Set PV write a value out to a PV. • Wait PV wait until the value of a PV is equal to the entered value
Example.... Trigger Move: Wait Event 'outputData' Wait PV 'step:status' 'DONE MOVE' Wait PV 'dataAcq:control' 'STOP' Trigger Dwell: Set PV 'dataAcq:control' 'START' Call Event 'ouputData' noWait Wait PV
Events • Arbitrary number of events candefined • Referenced in thescan • Again datadriver