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

sets all data for the ProfileConfig1 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorProfileConfig1(Sensor sens, Boolean Accumulate, double kWhLED, double awareMaxPowerThreshold, double maxPowerThreshold, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
double kWhLED 
kWh LED will flash every time this many Wh are accumulated. Saving this as 0 will turn off the LED 
double awareMaxPowerThreshold 
If the sensor is aware and power accumulation is less than this value the sensor will become not aware. 
double maxPowerThreshold 
if the sensor is not aware and power accumulation exceeds this value in a single standard heartbeat the sensor will become aware and report immediately 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 
accumulate 
This will cause the kWh reading to accumulate.