Record data
LabOrchestra has two ways of saving what happens:
- A snapshot saves the state of every device at one moment: all pressures, positions, frequencies and settings.
- A recording runs from start to stop. It saves the state of every device at the start and the end, every change in between with its time and who made it, and the data that devices stream, such as the channels of an oscilloscope.
Start and stop
Section titled “Start and stop”The recording controls are in the middle of the header (or in the Recording widget, if your view has one).


- Type a name, or leave it empty.
- Click Record (or press Enter in the name field). The button turns into a stop button with the time recorded so far.
- Click it to stop. The bin next to it stops the recording and deletes it instead.
The arrow next to Record starts a recording of a fixed length: 30 seconds, 1, 2.5, 5, 10, 20 or 30 minutes. It ends by itself, also when nobody watches the screen.
Names are numbered: the next recording in a folder gets the next number (41 alignment, then 42 alignment). A recording that you delete gives its number back.
Where recordings go
Section titled “Where recordings go”You chose the recordings folder at the first start. To change it, click Change folder… under Recordings on the Devices page.


The folder can contain placeholders, so that every day gets a folder of its own:
| Placeholder | Becomes |
|---|---|
{year}, {month}, {day}, {date} |
the date. A lab day ends at 4 in the morning, so a night shift stays in one folder. |
{time} |
the time when the recording starts |
{device.field} |
a value from the state of a device, for example {sample_stage.sample} |
A change applies from the next recording on.
What a recording contains
Section titled “What a recording contains”A recording named 42 alignment is a file and a folder:
42 alignment.yaml when, who started it, tags, and the state of every device at the start and the end42 alignment/ events.json every change of every device: time, device, what changed, and who changed it acq_C1.npy, acq_C2.npy streamed data, one file per oscilloscope channel (NumPy format)A value that changes all the time, such as a position read ten times a second, is written at most once per second per field (the first change at once, then the latest value), so the file stays small. Whole numbers, switches and text are always written at once. The setting recording_float_interval_s changes the interval; 0 writes every change.
Months later, you can still see at what pressure, laser power and detuning a measurement was taken, without having written any of it down.
Reading recordings in Python
Section titled “Reading recordings in Python”import laborchestra
rec = laborchestra.load_recording("D:/Recordings/2026-12-04/42 alignment")t, p = rec.series("vacuum_gauge.channels.1.pressure") # a value over timerec.state_at(12.5)["vacuum_gauge"] # the state of a device 12.5 s after the startsamples = rec.channel("acq", 1) # acq_C1.npy, memory-mappedload_recording needs pip install "laborchestra[analysis]", which adds NumPy and PyYAML.
Next: use LabOrchestra from Python.
Something wrong or missing on this page? Open a GitHub issue or use the form (no account needed).