slaclab / lcls-tools

Python tools for LCLS: post processing data, PV handling, pulling archive settings, etc.
Apache License 2.0
2 stars 21 forks source link

Scan with a wire scanner device #169

Open kabanaty opened 4 months ago

kabanaty commented 4 months ago

Is your feature request related to a problem? Please describe. A method to make the wire scanners move. The functionality to abort scans should also be implemented. The wire scan process involves more than just moving the device:

  1. Configure wire scan parameters using other methods (outlined in other issues)
  2. Reserve and configure BSA/EDEF, if not already done
  3. Initialize wire scanner device (handled by :STARTSCAN PV routine)
  4. Move wire scanner device (handled by :STARTSCAN PV routine)
  5. Confirm wire scanner device retracted upon completion of scan

Describe the solution you'd like wire.startScan() and wire.abortScan() methods. Should be straightforward in that Ziyu Huang has handled most of the details in the PV :STARTSCAN (ex. WIRE:HTR:340:STARTSCAN). epics.caput(":STARTSCAN, 1) should be sufficient for steps 3-5.

kabanaty commented 2 months ago

Method to start a scan introduced in #176. Still need a solution for aborting scans.

nneveu commented 2 months ago

Does this issue stay open? Or was the abort added to #176?