|
|
DataqSdk Control > Properties > EventPoint |
Applies to: |
DATAQSDK Active X Control |
Description: |
The NewData Event fires whenever a set number or more of new data points have been gathered. The EventPoint property allows you to specify when you want the NewData event fired. 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 EventPoint property, the NewData event will fire whenever 100 or more new data points have been gathered. Default value is 0. |
Syntax: |
DataqSdk1.EventPoint=variable (where variable specifies the number of data points before Event NewData fires) |
Variable: |
|
Example: |
Private Sub DataqSdk1_ NewData(ByVal Count As Integer) DQChart1. Chart (DataqSdk1. GetData) End Sub
Private Sub Start_Click() DataqSdk1.EventPoint = 40 DataqSdk1. Start End Sub
Private Sub Stop_Click() DataqSdk1. Stop End Sub |