Preflight Walkthrough
What to do in preflight, in order, before launching a real run.
Preflight is the required operator workflow before a live run.
Its job is to answer four questions:
- Are we talking to the right Doric device?
- Is the Teensy TTL capture path ready if this run needs it?
- Has the laser behavior been checked without animals when appropriate?
- Does the operator understand when the run can actually begin?
Preflight Sequence
The main menu is designed around this order:
- Find Doric Device
- Setup Teensy
- Test Laser Program w/o Animals
- Launch Experiment

Find Doric Device
Use this step to confirm the software is targeting the correct Doric unit.
What to check:
- the selected UID or port matches the intended device
- the selected channels match the planned experiment
- the current values shown in preflight match the intended hardware settings
Setup Teensy
If the run depends on TTL capture, this step must succeed before launch.
What to check:
- the correct serial device was selected
- handshake succeeded
- the displayed firmware/sample-rate details look plausible for the rig
Launch Experiment
The rule to remember:
- the configured open-loop start schedule begins after you confirm launch
Examples:
- if the config says
delay_seconds: 30, the 30 second countdown starts after launch confirmation - if the config says
mode: clock, the run is armed relative to the launch-confirmed session state, not merely because the app was opened earlier

Resize Warning
If the terminal layout looks cramped or wraps badly, do not assume the UI is still communicating clearly. Fix the terminal size first.
