DataqSdk Control > Methods > GetData

Previous | Next

GetData

Applies to:

DATAQSDK Active X Control

Description:

Copies acquired data (counts - see Converting Counts to Volts) into the buffer in variant form (see How to Extract information from a Variant). As a variant, the data returned using GetData has all the information about the data (type, size, etc.). This data can be used in LabView while the data copied using GetDataEx cannot.

Syntax:

DataqSdk1.GetData

Example:

Private Sub DataqSdk1_ NewData(ByVal Count As Integer)

'this grabs the data and plots it in DQChart1

DQChart1. Chart (DataqSdk1.GetData)

End Sub

 

Private Sub Start_Click()

DataqSdk1. EventPoint = 20

DataqSdk1. Start

End Sub

 

Private Sub Stop_Click()

DataqSdk1. Stop

End Sub

 

Reference Materials | Top