Value = MaxEnvelopeGap(Chan)
Returns the maximum value of the vertical distance between the line segments connecting 2 adjacent positive peaks and the negative peaks between them within the analysis range.
MaxEnvelopeGap

|
Parameter |
Chan |
|
Description |
Specifies the channel number. |
|
Data type |
Integer type (Integer) |
|
Range |
1 to 9 |
|
Note |
If the specified variable is out of the allowable setup range, an error occurs when executed. |
|
Parameter |
Value |
|
Description |
Returns the maximum value of the vertical distance between the line segments connecting 2 adjacent positive peaks and the negative peaks between them. |
|
Data type |
Double precision floating point type (Double) |
|
Note |
If no applicable point is detected, 0 is returned. |
Dim Value As Double
Value = MaxEnvelopeGap(1)
MsgBox "Max Envelope Gap =" & Value