WinDaq Control > Properties > EventLevel

Previous | Next

EventLevel

Applies to:

WINDAQ Active X Control

Description:

The event NewData fires whenever a set number or more of new data points have been gathered as specified here in the EventLevel property. The specified integer must be between 0 and 32,767. A value of 0 never fires the event. For example, if you specify “100” as the integer for the EventLevel property, the NewData event will fire whenever 100 or more new data points have been gathered.

Syntax:

WinDaq1.EventLevel=variable

Variable:

Integer

Example:

Private Sub Stop_Click()

WinDaq1. Stop

End Sub

 

Private Sub Start_Click()

WinDaq1.EventLevel = 10

WinDaq1. Start

End Sub

 

Private Sub WinDaq1_ NewData(ByVal Count As Integer)

DQChart1. Chart (WinDaq1. GetDataStream(FormatBinary))

End Sub

Reference Materials | Top