feat(codec): the MiniMate alarm level is writable (benched 2026-11-04)

S3_ALARM_WRITE_MEASURED = True.  At the bench on BE9441, with Brian's go,
the alarm went 1.0 -> 1.5 -> 1.0 in/s: each write acknowledged, read back
as sent, and shown in the unit's own setup menu.  The write moved exactly
channel +39 of the three geophone blocks (the f32 at +38), where the
event files put it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-11-04 16:12:58 -05:00
1 parent 9992b25fde
commit 55c7b7b5ae
2 files changed
+15 -8

No files matched your search

+5 -4
View File
@@ -61,7 +61,7 @@ _CHANNELS, _CHANNEL_SIZE, _GEOPHONES = 1708, 48, (0, 1, 2)
_CH_RANGE = 29 # u8: 0 Normal (10 in/s), 1 Sensitive (1.25 in/s) -- Series 3, measured
_CH_TRIGGER = 30 # f32 BE, in/s for a geophone
_CH_UNIT = slice(34, 38) # "in." / "in" (the keypad re-renders it); NOT an identifier
_CH_ALARM = 38 # f32 BE -- Series 3, read; a write waits for the bench
_CH_ALARM = 38 # f32 BE -- Series 3; write measured at the bench 2026-11-04
_FULL_SCALE = {0: 10.0, 1: 1.25}
_RANGES = {"normal": 0, "sensitive": 1}
@@ -70,9 +70,10 @@ _RANGES = {"normal": 0, "sensitive": 1}
# unknown -- SFM writes what Blastware writes. Series 3 only.
S3_BLASTWARE_FIXED = {26: b"\x00\x00"}
# A Series-3 alarm-level write has never been seen; the bench measures one, with
# Brian's go, before this turns on.
S3_ALARM_WRITE_MEASURED = False
# Measured at the bench 2026-11-04 (BE9441, Brian's go): 1.0 -> 1.5 -> 1.0 in/s,
# each acknowledged, read back, and shown in the unit's own setup menu; the write
# moved exactly channel +39 of the three geophones (the f32 at +38).
S3_ALARM_WRITE_MEASURED = True
MODES = {
3: {"single_shot": 0x00, "continuous": 0x01, "histogram": 0x03, "histogram_continuous": 0x04},