MDAQChannel Class |
The MDAQChannel class stores information related to all channels in the channel string.
The Channels collection is populated with an MDAQChannel object for each channel in the channel string as a result of any change to the ChannelString property.
The MDAQChannel class members are Variants so that they may be accessed via VBScript and are described as follows:
![]() |
Member Description |
The actual channel number that the object refers to.
Stores data related to the data transfer operation. For output, the data values are specified prior to sending data to the device. For input, this member stores the results of the data acquisition. The value is a scalar for single point operations and an array for waveform operations.
The analog input gain for the channel.
For waveform input or output operations, this value represents the actual time difference in seconds between analog to digital or digital to analog conversions. Usually, this number is the same as the inverse of the sample or update rate. However, if the device could not exactly match the particular rate this number will differ. Always check this value when performing waveform operations to ensure that actual time between samples or updates is known.