|
|
DataqFile Controls > ReadDataqFile > Properties > ChannelCount |
ChannelCount
Applies to: |
READDATAQFILE Active X Control |
Description: |
This property returns the number of channels recorded in the WinDaq file. This property is read-only. |
Syntax: |
variable=ReadDataqFile1.ChannelCount |
Variable: |
|
Example: |
Private Sub CloseFile_Click() ReadDataqFile1. Close End End Sub
Private Sub Form_Load() ReadDataqFile1. Open DQChart1. Chart (ReadDataqFile1. GetData(DQChart1. Xmax, FormatBinary)) Label1.Caption = "There are " & ReadDataqFile1.ChannelCount & " channels in this file." End Sub
Private Sub MoveRight_Click() ReadDataqFile1. MoveTo DQChart1. Xmax, 1 DQChart1. Chart (ReadDataqFile1. GetData(DQChart1. Xmax, FormatBinary)) End Sub
Private Sub MoveLeft_Click() ReadDataqFile1. MoveTo -DQChart1. Xmax, 1 DQChart1. Chart (ReadDataqFile1. GetData(DQChart1. Xmax, FormatBinary)) End Sub |