Avena Webapp API - v0.0.1
    Preparing search index...

    Module subjects

    NATS subject and KV key builders for LabJack live data, configs and exports.

    These mirror the builders in rust-ljm/src/subjects.rs, which the streamer, archiver and exporter use, so the dashboard subscribes and publishes on the same names. Two live-data layouts exist:

    • Legacy, keyed by asset number: <root>.<asset>.data.chNN, for example avenabox.1456.data.ch11. The root is used exactly as configured.
    • Structured, keyed by identity: avenars.<site>.<box>.<source>.live.chNN, for example avenars.i69.i69-mu1.i69-lj2.live.ch11. Every token is sanitized.

    The structured layout is used when the root is avenars or any of site, box or source ID is set.

    Interfaces

    LabJackSubjectConfig

    Functions

    archiveExportRequestSubject
    labjackConfigKey
    liveLabJackChannelPattern
    liveLabJackChannelSubject
    padChannel