WinDaq Control > Properties > ChannelCount

Previous | Next

ChannelCount

Applies to:

WINDAQ Active X Control

Description:

Returns the total number of analog and digital channels enabled by WinDaq acquisition software. This property is read-only.

Syntax:

variable=WinDaq1.ChannelCount

Variable:

Integer

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 = "There are " & WinDaq1.ChannelCount & " channels enabled."

DQChart1. Chart (WinDaq1. GetDataStream(FormatBinary))

End Sub

 

Reference Materials | Top