C# Mine
ContentsIndexHome
PreviousUpNext
CurrentZeroToOneFiftyAmpBase.UpdateSensorProfileConfig2 Method

sets all data for the ProfileConfig2 configuration available on the sensor

Syntax
C#
[System.Obsolete("This method is deprecated. Use the SensorEdit method instead.")] public static void UpdateSensorProfileConfig2(Sensor sens, int avgInterval, int currentShift, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int avgInterval 
User defined value that determines how often the sensor will make an assessment. if you enter in 5 then the sensor will make a measurment every 5 seconds and on the heartbeat it will deliver an average of all the measurements over that interval. 
int currentShift 
This value determines how much of a change in current is required for the sensor to go aware. for example suppose the value in this field is 1 amp. if the transducer is measuring 3 amps then droops to 2 amps, the sensor will go aware and report. 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 
Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!