MaxRightGap(Chan)

Syntax

Value = MaxRightGap(chan)

Description

Returns the maximum value of the response differences between the positive peaks and its right adjacent negative peaks within the analysis range.

MaxRightGap

Variable

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.

Return value

Parameter

Value

Description

Returns the maximum value of the response differences between the positive peaks and its right adjacent negative peaks.

Data type

Double precision floating point type (Double)

Note

If no applicable point is detected, 0 is returned.

Example of use

Dim Value As Double

 

Value = MaxRightGap(1)

MsgBox "Max Right Gap =" & Value