Pole(Chan,D,LeftStim,LeftValue,RightStim,RightValue)

Syntax

Call Pole(Chan,D,LeftStim,LeftValue,RightStim,RightValue)

Description

For the negative peaks below the specified value (D) relative to the maximum value of the positive peaks within the analysis range, returns the response value (LeftValue) and stimulus value (LeftStimulus) of the negative peak first detected when searched to the left from the maximum value of the positive peaks, and the response value (RightValue) and stimulus value (RightStimulus) of the negative peak first detected when searched to the right from the maximum value of the positive peaks.

Pole

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.

 

Parameter

D

Description

Specifies the difference from the maximum value.

Data type

Double precision floating point type (Double)

 

 

 

Return value (arguments)

Parameter

LeftStim

Description

Returns the stimulus value of the negative peak first detected to the left from the maximum value of the positive peaks.

Data type

Double precision floating point type (Double)

Note

If no applicable point is detected, 0 is returned.

 

Parameter

LeftValue

Description

Returns the response value of the negative peak first detected to the left from the maximum value of the positive peaks.

Data type

Double precision floating point type (Double)

Note

If no applicable point is detected, 0 is returned.

 

Parameter

RightStim

Description

Returns the stimulus value of the negative peak first detected to the right from the maximum value of the positive peaks.

Data type

Double precision floating point type (Double)

Note

If no applicable point is detected, 0 is returned.

 

Parameter

RightValue

Description

Returns the response value of the negative peak first detected to the right from the maximum value of the positive peaks.

Data type

Double precision floating point type (Double)

Note

If no applicable point is detected, 0 is returned.

Example of use

Dim LeftStim As Double

Dim LeftValue As Double

Dim RightStim As Double

Dim RightValue As Double

 

Call Pole(1, 1, LeftStim, LeftValue, RightStim, RightValue)

 

MsgBox "Left Pole =" & LeftStim & ":" & LeftValue

MsgBox "Right Pole =" & RightStim & ":" & RightValue