exp_run
Run scripted TwinCAT experiments in the background: apply factor values per level and repetition, capture profiles, record measures, and restore original values. Use dry runs to validate plans.
Instructions
Run an experiment in the background: per level × repetition → preconditions → factor values written → snapshot → capture profile started → stimulus → start acknowledged (done_when must go false) → done_when → settle → stop → measures → runs.jsonl. Factor values are read first and restored at the end or on abort (read back and checked). Every write is re-checked against the server guard, pinned to the machine the experiment started on, and audited with symbol and value; a refusal, a target change or a timed-out write stops the experiment. dry_run resolves every symbol, coerces condition values (enum names → ints) and prints the plan without writing. Starting is control-class: in guarded mode it asks once (elicitation / confirm_token); in full mode it does not. Only one experiment may run at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| resume | No | ||
| dry_run | No | ||
| max_runs | No | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||