WinDaq Control > Events > WinDaqAlarm

Previous | Next

WinDaqAlarm

Applies to:

WINDAQ Active X Control

Description:

Fires when WinDaq Acquisition has a gap in its data stream during recording to memory or to disk.

Example:

Private Sub Start_Click()

WinDaq1. EventLevel = 10

WinDaq1. Start

End Sub

 

Private Sub Stop_Click()

WinDaq1. Stop

End Sub

 

Private Sub WinDaq1_NewData(ByVal Count As Integer)

DQChart1. Chart (WinDaq1. GetDataStream(FormatBinary))

End Sub

 

Private Sub WinDaq1_WinDaqAlarm(ByVal Code As Long)

'this will tell you how many samples were in the gap

Label1.Caption = Gap Counts

End Sub

 

Reference Materials | Top