|
|
DataqFile Controls > ReadDataqFile > Properties > TotalDataPoints |
TotalDataPoints
Applies to: |
READDATAQFILE Active X Control |
Description: |
Returns the total number of data points per channel of the file being read. This property is read-only. |
Syntax: |
variable=ReadDataqFile1.TotalDataPoints |
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 = "Total number of data points per channel recorded in this file: " & ReadDataqFile1.TotalDataPoints & "." 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 |