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

sets all data for the ProfileConfig1 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorProfileConfig1(Sensor sens, int eventDectionType, int sensitivity, int rearmTime, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int eventDectionType 
Determines which reading of the sensor will trigger the aware state. (starts = 0, stops = 1, state change = 2) 
int sensitivity 
Set how much vibration is required before triggering the sensor, lower numbers are more sensitive. ( value range: 25 - 1000) 
int rearmTime 
Time in seconds after a triggering event that the sensor will wait before re-arming itself.(value range: 1 - 600) 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration