Copies a config from the edit modal into the shape written to KV.
Converts the numeric top-level fields with Number(), normalizes the sensor
settings with normalizeSensorSettings and writes each enabled channel's unit
into its calibration and measurement_units with syncChannelCalibrations. Only the fields listed in
LabJackConfig are kept; any other field on raw is dropped.
Copies a config from the edit modal into the shape written to KV.
Converts the numeric top-level fields with
Number(), normalizes the sensor settings with normalizeSensorSettings and writes each enabled channel's unit into its calibration andmeasurement_unitswith syncChannelCalibrations. Only the fields listed in LabJackConfig are kept; any other field onrawis dropped.