|
|
WinDaq Control > Properties > AvailableData |
AvailableData
Applies to: |
WINDAQ Active X Control |
Description: |
This function reports how many available new data points have filled the buffer since the last time data was retrieved using a GetData method. This property can be used instead of EventLevel which may be necessary with older programming languages (i.e., languages that do not respond to Active X events) by calling a subroutine when AvailableData reaches a certain value. This property is read-only. |
Syntax: |
variable=WinDaq1.AvailableData |
Variable: |
|
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) Label1.Caption = WinDaq1.AvailableData DQChart1. Chart (WinDaq1. GetDataStream(FormatBinary)) End Sub |