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

sets all data for the ProfileConfig2 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorProfileConfig2(Sensor sens, int ctSize, double avgInterval, double currentShift, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 
accumulate 
The default is off standard operation reports the number of pulses detected between heartbeats. Accumulate on will accumulate the readings heartbeat after the heartbeat, accumulation rolls over at 65535 (2^16 or 0xFFFF) 
edge 
determines if the pulses are recorded at the positive or negative edge of a pulse, positive edge = 0, negative edge = 1, and both edges = 2 
filter 
determines if there is a filter and what Hz its set to, 40 Hz filter = 0, 4 Hz filter = 1, and no filter = 2