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

sets all data for the ProfileConfig2 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorProfileConfig2(Sensor sens, int minorInterval, int sensitivity, int maximumReading, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int minorInterval 
Time in seconds representing the amount of time is tallied for either no motion or motion value.(value range: 20 -600) 
int sensitivity 
Number of pulsed in every Minor Interval needed to qualify occupancy. (value range 1 - 500) 
int maximumReading 
Scalar multiplied with the percentage of the tallied motion time. (value range 10 - 250) 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration