void GetAnalogEventDef(int bank, int channel, out int lomark, out int himark)
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.
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.
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.