Shutdown Laser Sequence Diagram
sequenceDiagram
%% API Registered Routine: Shutdown Laser (Section: NLOS)
participant User as "API Call"
participant ShutdownLaser as "Shutdown Laser"
User->>+ShutdownLaser: Call Shutdown Laser
participant PLD2OFF as "PLD2 OFF"
participant PLD1OFF as "PLD1 OFF"
participant IDLEROFF as "IDLER OFF"
participant SEEDOFF as "SEED OFF"
ShutdownLaser->>+PLD2OFF: Execute Turn off PLD2
PLD2OFF->>PLD2OFF: PULSE Disable - write_digital (name: PULSE1, portnum: 3, state: false)
PLD2OFF->>PLD2OFF: ON Disable - write_digital (name: ON1, portnum: 3, state: false)
PLD2OFF->>PLD2OFF: PS OFF - write_digital (name: PS_ON, portnum: 3, state: false)
PLD2OFF-->>-ShutdownLaser: Complete
ShutdownLaser->>+PLD1OFF: Execute Turn off PLD1
PLD1OFF->>PLD1OFF: PULSE Disable - write_digital (name: PULSE1, portnum: 2, state: false)
PLD1OFF->>PLD1OFF: ON Disable - write_digital (name: ON1, portnum: 2, state: false)
PLD1OFF->>PLD1OFF: PS OFF - write_digital (name: PS_ON, portnum: 2, state: false)
PLD1OFF-->>-ShutdownLaser: Complete
ShutdownLaser->>+IDLEROFF: Execute Turn off Idler
IDLEROFF->>IDLEROFF: ON11V Disable - write_digital (name: ON11V, portnum: 1, state: false)
IDLEROFF->>IDLEROFF: PS OFF - write_digital (name: PS_ON, portnum: 1, state: false)
IDLEROFF-->>-ShutdownLaser: Complete
ShutdownLaser->>+SEEDOFF: Execute Turn off Seed
SEEDOFF->>SEEDOFF: ONHV Disable - write_digital (name: ONHV, portnum: 0, state: false)
SEEDOFF->>SEEDOFF: ON11V Disable - write_digital (name: ON11V, portnum: 0, state: false)
SEEDOFF->>SEEDOFF: PS OFF - write_digital (name: PS_ON, portnum: 0, state: false)
SEEDOFF-->>-ShutdownLaser: Complete
ShutdownLaser-->>-User: Shutdown Laser Complete
Zoom: 100%