//Calval3 PowerOptions Default 0 (0 none, 1 digital high SP2, 2 digital low SP2, 3 Amplifier SP9 Active Low) sensor.Calibration3 = collection["power"].ToInt(); //Calval4 Delay Time (Miniseconds) Default 0 (0-30,000) sensor.Calibration4 = collection["delay"].ToInt(); if (sensor.Calibration4 < 0) sensor.Calibration4 = 0; if (sensor.Calibration4 > 30000) sensor.Calibration4 = 30000; } sensor.Save();