GetAnalogEventDef Method

Public Sub GetAnalogEventDef(ByVal bank As Long, ByVal channel As Long, _
                             ByRef lomark As Long, ByRef himark As Long)

Summary

This method retrieves the low and high thresholds defined for the specified analog event bank and channel. Please see the SetAnalogEventDef Method for more information about the analog event definition and thresholds.

Parameters

  • bank - Identifies which bank of analog events from which to retrieve information (0 or 1).

  • channel - Identifies the analog channel (0-7).

  • lomark - Output parameter which will receive the low threshold (8-bit value) for the analog event.

  • himark - Output parameter which will receive the high threshold (8-bit value) for the analog event.

Return Value

This method does not return a value.

Remarks

Note that this method does not retrieve the default value that was specified when the thresholds were set. This is because the default value is only used during the moment that the thresholds are defined and is not applicable after that point.

See Also

SetAnalogEventDef Method