Download Winford Engineering ETH32 API Version 2 Documentation

Transcript
www.winford.com
Winford Engineering ETH32 API Version 2 Documentation
See Also
CounterState Property, CounterRollover Property
DisableEvent Method
Public Sub DisableEvent(ByVal eventtype As Eth32EventType, ByVal port As Long, _
ByVal bit As Long)
Summary
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.
Parameters
eventtype - The type of event to disable. This parameter is a Eth32EventType enumerator type, which
has the following valid values:
EVENT_DIGITAL - Digital I/O event. This includes port events and bit events.
EVENT_ANALOG - Analog event based on thresholds defined with the SetAnalogEventDef
Method.
EVENT_COUNTER_ROLLOVER - Counter rollover event, which occurs when the counter
rolls over to zero.
EVENT_COUNTER_THRESHOLD - Counter threshold event, which occurs when the counter
passes a threshold defined with the CounterThreshold Property.
EVENT_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).
Return Value
This method does not return a value.
See Also
EnableEvent Method
194