Function
This event is used to acquire edge information when an edge event occurs.
Format
dncDaq1_OnEdge(object sender, EdgeEventArgs e)
Parameters
sender [ C#: object ] [ VB.NET: object ]
The event source.
e [ C#: EdgeEventArgs ] [ VB.NET: EdgeEventArgs ]
Event arguments. Details are shown below.
Event argument
Arguments |
C# Type |
VB.NET Type |
Description |
EdgeNo |
int |
Integer |
Returns the edge No. registered in the device settings. |
DeviceNo |
short |
Short |
Returns the device No. where the edge event occurred. |
BitNumber |
int |
Integer |
Returns the bit No. where the edge event occurred. |
EdgeType |
DioEdgeType |
DioEdgeType |
Returns the direction in which the edge event occurred. |
Count |
ulong |
ULong |
Returns the count value when an edge event occurs. |
Remarks
This event is used to acquire edge information when an edge event occurs.