You are here: Symbol Reference > Monnit Namespace > CurrentZeroToOneFiftyAmpBase Class > CurrentZeroToOneFiftyAmpBase Methods > CurrentZeroToOneFiftyAmpBase.UpdateSensorProfileConfig2 Method
CurrentZeroToOneFiftyAmpBase.UpdateSensorProfileConfig2 Method
CurrentZeroToOneFiftyAmpBase Class  CurrentZeroToOneFiftyAmpBase Members  CurrentZeroToOneFiftyAmpBase Methods  Send Feedback

sets all data for the ProfileConfig2 configuration available on the sensor

Syntax
C++
C#
Visual Basic
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