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

Calibrates the sensor to correct values set by the user

Syntax
C++
C#
Visual Basic
void UpdateSensorCalibration(Sensor sens, int command, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int command 
Specific Command to send(Command Values: 201 - Clear DL Messages, 202 - set high priority DL Delivery, 203 - Set Low Priority DL Delivery, 204 - Study Mode Active, 205 - Study Mode Inactive) 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration