DataqSdk Control > Methods > Start

Previous | Next

Start

Applies to:

DATAQSDK Active X Control

Description:

This command starts acquiring data from the hardware device into the buffer. This essentially opens communication between your pc and your hardware device. All properties (besides read-only properties) should be set before this command. Once this command is called we can start to get information from the hardware device. We can also now plot data (using DQChart Control) and/or save data to file (using WriteDataqFile Control) using GetData functions.

Syntax:

DataqSdk1.Start

Example:

Private Sub DataqSdk1_ NewData(ByVal Count As Integer)

DQChart1. Chart (DataqSdk1. GetData)

End Sub

 

Private Sub Start_Click()

'all settings should be determined before the start command

DataqSdk1. EventPoint = 20

DataqSdk1.Start

End Sub

 

Private Sub Stop_Click()

DataqSdk1. Stop

End Sub

 

Reference Materials | Top