This project contains the scripts and instructions for starting a sequencer and submitting sequences to the sequencer.
The test runs a single sequence step on a sequencer:
- Sequencer started and registered with Location Service
- Script loaded and initialized
- Sequence submitted from esw-shell
- onSetup handler fired and logged both messages
- Step completed successfully
Step 1) CSW with location service must be running locally
Step 2) cd to project base and run sbt with no arguments. This starts the sbt shell.
Step 3) From the sbt shell, run the command to load the sequence component with the script and register with location service"
sbt "runner/run sequencer -s APS -n primary -m APS_testmode"
This loads scripts/aps/Testmode.kts via the classpath config in scripts/aps/aps.conf and starts and registers the sequencer.
cd [aps-sequence-submitter project home]
sbt run
Submitting sequences from a user interface