OnMatchCount


機能

カウンタ一致イベントが発生した際に、イベント情報を返します。

 

書式

dncDaq1_OnMatchCount(object sender, short DeviceNo, CntCntNotifyCountUpEventArgs e)

 

引数

sender [ C#: object ] [ VB.NET: object ]

カウンタ一致イベント発生元です。

 

DeviceNo [ C#: short ] [ VB.NET: Short ]

カウンタ一致イベントが発生したデバイスNo.を返します。

 

e [ C#: DncErrorEventArgs  ] [ VB.NET: DncErrorEventArgs  ]

カウンタ一致イベント引数です。詳細は、以下に示します。

 

イベント引数

引数

C#型

VB.NET型

説明

ChannelNo

short

Short

チャネルNoを返します。

UpDown

short

Short

一致した際のカウント方向(UP=0, DOWN=1)を返します

CompareValue

uint

UInteger

一致した比較値を返します。

 

説明

カウンタ一致イベントが発生した際に、イベント情報を返します。