Function
Returns event information when a counter match event occurs.
Format
dncDaq1_OnMatchCount(object sender, short DeviceNo, CntCntNotifyCountUpEventArgs e)
Parameters
sender [ C#: object ] [ VB.NET: object ]
The source of the counter match event.
DeviceNo [ C#: short ] [ VB.NET: Short ]
Returns the device number where the counter match event occurred.
e [ C#: DncErrorEventArgs ] [ VB.NET: DncErrorEventArgs ]
Counter match event argument. Details are provided below.
Event argument
Arguments |
C# Type |
VB.NET Type |
Description |
ChannelNo |
short |
Short |
Returns channel number. |
UpDown |
short |
Short |
Returns the count direction (UP=0, DOWN=1) when the counter matches. |
CompareValue |
uint |
UInteger |
Returns the comparison value that matches the counter. |
Remarks
Returns event information when a counter match event occurs.