C# Mine
ContentsIndexHome
PreviousUpNext
PulseCounterBase.UpdateSensorProfileConfig2 Method

sets all data for the ProfileConfig2 configuration available on the sensor

Syntax
C#
[System.Obsolete("This method is deprecated. Use the SensorEdit method instead.")] public static void UpdateSensorProfileConfig2(Sensor sens, int debounce, int edge, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int debounce 
Milliseconds to wait for confirming positive reading after pulse initially detected. (Debouncing) Recommended 50% of minimum pulse width of input signal. 
int 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 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 
Copyright (c) 2023. All rights reserved.
What do you think about this topic? Send feedback!