DataqSdk Control > Methods > Stop

Previous | Next

Stop

Applies to:

DATAQSDK Active X Control

Description:

Stops acquiring data from the hardware device. This essentially closes communication between your pc and the hardware device. After this command you can no longer copy data into the buffer. This is important to allow the user to safely turn off the hardware device. If there is a continuous stream of data being acquired and the user turns off his/her hardware device, their pc will lock up.

Syntax:

DataqSdk1.Stop

Example:

Private Sub DataqSdk1_ NewData(ByVal Count As Integer)

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