MDAQDevice Class |
The MDAQDevice class stores information related to all data acquisition devices installed on your computer.
The InstalledDevices collection is populated with an MDAQDevice object for each installed device as a result of a call to the QueryDevices Method. The QueryDevices Method is automatically called when the control is initialized so there should be no need to call it under normal circumstances. However, if you reconfigure devices (such as change the device number) while an instance of the control is running, the QueryDevices method should be called to update information on the devices.
The MDAQDevice class has these members:
The number assigned to the device by the configuration utility.
The name of the device, such as DAQCard-500.
The National Instruments device type code.
The number of analog input channels that the device supports.
True if the device supports differential analog input.
True if the device supports non-referenced single ended analog input.
True if the device supports referenced single ended analog input.
Specifies the allowed gain values for the device. The values correspond to:
0: 1
1: 1, 10, and 100
2: 1, 2, 10, and 100
3: 1, 2, 5, 10, 20, 50, and 100
The channel string for the device.
The number of bits of resolution for the analog to digital converter.
True if the device supports analog output.
The number of analog output channels.
The number of bits of resolution for the digital to analog converter.
True if the device supports digital triggers.
True if the device supports analog triggers.
True if the device is supported by the control.