void DisableEvent(Eth32EventType eventtype, int port, int bit)
This method instructs the ETH32 device to stop sending event notifications for the specified event on this connection to the device. It performs the opposite task of the EnableEvent Method.
eventtype - The type of event to disable. This parameter is a Eth32EventType enumerator type, which has the following valid values:
Eth32EventType.Digital - Digital I/O event. This includes port events and bit events.
Eth32EventType.Analog - Analog event based on thresholds defined with the SetAnalogEventDef Method.
Eth32EventType.CounterRollover - Counter rollover event, which occurs when the counter rolls over to zero.
Eth32EventType.CounterThreshold - Counter threshold event, which occurs when the counter passes a threshold defined with the CounterThreshold Property.
Eth32EventType.Heartbeat - Periodic event sent by the device to indicate the TCP/IP connection is still good.
port - For digital events, specifies the port number, for analog events, specifies the bank number, and for either counter event, specifies the counter number.
bit - For digital events, this should be -1 for port events or the bit number (0-7) for bit events. For analog events, this specifies the analog channel number (0-7).