|
|
WinDaq Control > Methods > GetDataStream |
GetDataStream
Applies to: |
WINDAQ Active X Control |
Description: |
GetDataStream ensures waveform data continuity by passing a continuous stream of Windaq-acquired data to your program. When using GetDataFrame to retrieve WinDaq data, there are no guarantees that the returned information is either gap free or non-overlapping. Therefore, GetDataFrame is useful for returning simply a specified quantity of historical information. GetDataStream returns waveform data to a variant. |
Syntax: |
WinDaq1.GetDataStream(Format) (where Format is either 0 (FormatBinary) or 1 (FormatScaled)) |
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) DQChart1. Chart (WinDaq1.GetDataStream(FormatBinary)) End Sub |