User Tools

Site Tools


macroct

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macroct [2025/01/24 16:44] – [paxScan] konstantinmacroct [2025/02/15 18:58] (current) konstantin
Line 146: Line 146:
 $133=400.000 $133=400.000
 </code> </code>
 +
 +==== Startup Sequence ====
 +
 +Connect to /dev/ttyACM0
 +
 +Enable Debug Mode
 + /dev/ttyACM0 : debug 1
 +
 +Enable Sensor Supply
 + /dev/ttyACM0 : output 14 1
 +
 +Enable Tube Supply
 + /dev/ttyACM0 : output 8 1
 +
 +Connect to /dev/ttyS3
 +
 +Check Tube Status
 + /dev/ttyS3 : status
 +
 +Check Beam Voltage HV
 + /dev/ttyS3 : hv setting
 +
 +Check Beam Current
 + /dev/ttyS3 : beam setting
 +
 +Set Software Chamber Interlock
 + /dev/ttyACM0 : output 13 1
 +
 +Set Software Power Interlock
 + /dev/ttyACM0 : output 12 1
 +
 +Turn Key-Switch to ON
 +
 +Release Emergency Stop
 +
 +Release Software E-Stop
 + /dev/ttyACM0 : output 10 1
 +
 +Pulse Software Safety Start
 + /dev/ttyACM0 : output 11 1
 + /dev/ttyACM0 : output 11 0
 +
 +Check Tube Status (should be "Safe Infocus", else wait for warmup to finish)
 + /dev/ttyS3 : status
 +
 +Override Tube Conditioning
 + /dev/ttyS3 : program 10
 +
 +Start Sensor Capture
 + cd ~/Code/PaxScan_CP2-Lite_ACQ
 + python3 test.py
 +
 +Enable XRAYs
 + /dev/ttyS3 : xray on
 +
 +Check Tube Status to see when current has ramped up
 + /dev/ttyS3 : status
 + /dev/ttyS3 : status
 + ...
 +
 +Trigger Sensor Exposure
 +
 +Disable XRAYs
 + /dev/ttyS3 : xray off
 +
 +Turn off Key-Switch
 +
 +Turn off safety
 + /dev/ttyACM0 : output 11 0
 + /dev/ttyACM0 : output 12 0
 + /dev/ttyACM0 : output 13 0
 +
 +Turn off Tube supply
 + /dev/ttyACM0 : output 8 0
 +
 +Turn off Sensor supply
 + /dev/ttyACM0 : output 14 0
 +
 +Disconnect Serial ports
 +
 +Shutdown PC
macroct.1737733454.txt.gz · Last modified: by konstantin