WinDaq Control > Properties > SampleRate

Previous | Next

SampleRate

Applies to:

WINDAQ Active X Control

Description:

Returns the sample rate per channel as defined by the WinDaq Acquisition software. This property is read-only.

Syntax:

variable=WinDaq1.SampleRate (Reads actual Sample Rate)

Variable:

Double

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)

Label1.Caption = "The sample rate per channel is " & WinDaq1.SampleRate & "."

DQChart1. Chart (WinDaq1. GetDataStream(FormatBinary))

End Sub

 

Reference Materials | Top