WinDaq Control > Events > OverRun

Previous | Next

OverRun

Applies to:

WINDAQ Active X Control

Description:

Fires when the incoming data overwrites data that has not been removed from the buffer yet. Solution: Lower the sample rate, remove data more quickly or get a faster PC.

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 WinDaq_OverRun()

Label1.Caption = "You are overwriting data! Lower the sample rate."

End Sub

 

Reference Materials | Top