-
Notifications
You must be signed in to change notification settings - Fork 0
Campaign Construction
Access: Automation -> Campaign Designer
The Campaign Designer is the workspace for creating Experiment Templates.
In ARES, you do not hard-code a 100-iteration loop. Instead, you design a single experiment defining the instructions for collecting one data point. ARES OS then automates the repetition of this template to form a Campaign.
To understand the designers, you must understand the ARES workflow:
- The Template: The blueprint you build here. It defines the logic for one single iteration (e.g. "Move to X, Measure Y").
- The Experiment: A single execution of that Template.
-
The Campaign: The collection of all Experiments run in sequence.
- The duration of the Campaign (how many times the Template is repeated) is determined by the Stop Condition, which is set later during Execution.
A complete Template consists of three configurable layers:
These are the variables that change from experiment to experiment.
- Role: They act as placeholders in your script.
- Source: During a Campaign, the Planner injects values into these parameters before every new experiment begins.
-
Example:
heater_temp,flowrate,laser_power
ARES divides the Template into three distinct execution blocks.
Executes: ONCE per Campaign (at the very beginning).
Purpose: System Initialization.
Use Cases: Homing, pre-heating, opening a gas valve, etc.
Executes: ONCE per Experiment, repeated as need by ARES.
Purpose: The Core Scientific Logic
-
The Flow:
- ARES retrieves new values for your Planning Parameters from the Planner (if applicable).
- This script runs using those specific values.
- Data is captured and sent to the Analyzer.
Executes: ONCE per Campaign (at the very end).
Purpose: Safe Shutdown.
What triggers the closeout script?
- The Stop Condition is met, and the campaign ends normally.
- The Campaign encounters an error. Even if your experiment fails, ARES will attempt to run your closeout script.
- The Campaign is stopped forcefully by the user. Use Cases: Turn off heaters, set flow rates to zero, etc.
You must link the logic modules that will drive your Campaign loop.
- The Planner: The "Navigator." It decided the parameter values for the next experiment based on previous results.
- The Analyzer: The "Interpreter." It processes raw data from the current experiment and passes a score back to ARES.
- Logic Flow: Scripts are executed sequentially from top to bottom.
- Validation: The designer prevents saving if required components (Analyzers/Planners) are referenced in the script but not assigned in the component tab.