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

    Interface SensorSettings

    sensor_settings of a LabJack config document.

    interface SensorSettings {
        calibrations?: Record<string, CalibrationSpec>;
        channels_enabled: number[];
        data_formats: string[];
        filters?: ChannelFilterMap;
        gains: number;
        labjack_on_off: boolean;
        measurement_units: string[];
        scan_rate_hz: number;
        scans_per_read: number;
    }
    Index

    Properties

    calibrations?: Record<string, CalibrationSpec>

    Volts-to-units conversion and its unit per channel, keyed by channel number as a string.

    channels_enabled: number[]

    Analog inputs to stream (AIN<n>).

    data_formats: string[]

    Sensor type of each enabled channel (see SENSOR_TYPES), same order as channels_enabled. Label only.

    Noise filters per channel, keyed by channel number as a string (see filter-settings.ts). Applied only where data is read: live plots and exports. Absent when no channel has a filter on.

    gains: number

    Edited in the webapp but not used by the streamer.

    labjack_on_off: boolean

    false stops streaming. This is a setting, not a live status.

    measurement_units: string[]

    Unit of each enabled channel after calibration, same order. A copy of the calibration's unit kept for older readers; the calibration's unit wins.

    scan_rate_hz: number

    Scans per second, per channel.

    scans_per_read: number

    Scans per read, and so samples per published message on each channel.