Monnit Mine Java
CurrentBase.UpdateSensorProfileConfig2 Method
function UpdateSensorProfileConfig2(sens: Sensor; ctSize: Integer; avgInterval: double; currentShift: double; sendSensorUpdate: Boolean): Pointer;
Sensor sens 
the Sensor object to be updated  
int ctSize 
size of the transducer sensor  
double 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 measurement every 5 seconds and on the heartbeat it will deliver an average of all the measurements over that interval.  
double 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 


sets all data for the ProfileConfig2 configuration available on the sensor  


Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!