Release v0.35.0 — 80 of 88 report fields from the file, and monitor logs (.MLG) #60

Merged
serversdown merged 50 commits from dev into main 2026-11-16 15:49:06 -05:00
2 changed files with 28 additions and 0 deletions
Showing only changes of commit e542e61b68 - Show all commits

No files matched your search

+5
View File
@@ -120,6 +120,11 @@ All notable changes to seismo-relay are documented here.
- **Reference D.6.11 and CLAUDE.md:** the 59 / 88 status. Leads for E: records
`0x3c` / `0x3d`, probably the sensor check. Leads for F: a waveform's
monitor log may be its event record's start and stop.
- **Reference D.2 and D.4.2, corrected in place:** an `.MLG` stores its dates
little-endian, and its record flags are the event footer's flag word and
trigger source, little-endian. Measured on the 4 bench `.MLG` files; a
BE9441 session lines up 20 / 20 with its event files. `write_mlg()` writes
dates big-endian; nothing calls it.
- **Reference D.6.14 (new):** the monitor log. **D.3.3:** footer `[18:24]`
identified: flags, trigger source and zero.
- **Reference D.6.13 (new):**
+23
View File
@@ -3401,6 +3401,11 @@ All waveform files share the same `00 12 03 00` type tag regardless of extension
All timestamps in N00 and MLG files use an **8-byte big-endian format**:
> ⚠ **CORRECTED 2026-11-09 (measured): MLG files store the year little-endian** (`ea 07` = 2026)
> in every timestamp of all 4 bench `.MLG` files (`example-events/`). §7.5 already recorded it.
> N00 / event files are big-endian, as below. The MLG is Blastware's own PC-side file; the
> event file is the unit's data. D.4.2 has the rest of the MLG's byte order.
| Byte | Field |
|---|---|
| 0 | day (uint8) |
@@ -3522,6 +3527,24 @@ The footer terminates the N00 file. Its bytes come directly from the terminator
| `01 00 02 00` | Triggered event (has ts1 + ts2) |
| `02 00 00 00` | Monitoring interval (has ts1 + ts2) |
> 🔑 **2026-11-09 (measured on the 4 bench `.MLG` files):** these flags are the event footer's
> flag word and trigger source (D.3.3, D.6.14), stored **little-endian**. The record's
> `[22:24]` is the monitor-log flag word, `[24:26]` the trigger source; ts1 and ts2 have the
> year little-endian too (D.2). So:
> - `01 00 02 00` = `0x0001` Event Recorded, triggered by `0x0002` Vert, not a fixed "event" code.
> - `02 00 00 00` = `0x0002` Keyboard Exit.
> - `04 00 00 00` = `0x0004` Remote Exit. SFM's own remote stops on BE11529 show up this way.
> - `03 00 00 04` / `05 00 00 04` = Event Recorded + Keyboard / Remote Exit, source `0x0400`, a
> histogram.
> - `01 08 02 00` = `0x0801` Event Recorded + Memory Full Exit, source Vert (BE9441, 10-26).
> - `ff ff` = monitoring started, no stop yet.
>
> BE9441's 10-25 session (44 records) lines up with that session's 20 event files: each Event
> Recorded record's stop equals the event footer's stop and its flag word, 20 / 20. Blastware's
> words for each bit are D.6.14's table.
> ⚠ `write_mlg()` (`blastware_file.py`) writes timestamps big-endian, unlike Blastware's own
> files; nothing calls it today.
**Text content for triggered events (`flags = 01 00 02 00`):**
| Byte | Field |