|
|
DataqSerial Control > Methods > GetData |
GetData
Applies to: |
DATAQSERIAL Active X Control |
Description: |
GetData ensures waveform data continuity by passing a continuous stream of data to your program. GetData returns waveform data as a variant (see also How to Extract Information from a Variant). |
Syntax: |
DataqSerial1.GetData |
Example: |
Private Sub Start_Click() DataqSerial1. EventLevel=20 DataqSerial1. Start End Sub
Private Sub Stop_Click() DataqSerial1. Stop End Sub
Private Sub DataqSerial1_ NewData (ByVal Count As Integer) DQChart1. Chart (DataqSerial1.GetData) End Sub |