Data Acquisition Toolbox | ![]() ![]() |
Device Object Information
To display hardware information for a specific device object, you must supply the device object as an argument to daqhwinfo
. The hardware information for the analog input object ai
created in the preceding section is given below.
out = daqhwinfo(ai) out = AdaptorName: 'winsound' Bits: 16 Coupling: {'AC Coupled'} DeviceName: 'AudioPCI Record' DifferentialIDs: [] Gains: [] ID: '0' InputRanges: [-1 1] MaxSampleRate: 44100 MinSampleRate: 8000 NativeDataType: 'int16' Polarity: {'Bipolar'} SampleType: 'SimultaneousSample' SingleEndedIDs: [1 2] SubsystemType: 'AnalogInput' TotalChannels: 2 VendorDriverDescription: 'Windows Multimedia Driver' VendorDriverVersion: '1.0'
Among other things, this information tells you that the minimum sampling rate is 8 kHz, the maximum sampling rate is 44.1 kHz, and there are two hardware channels that you can add to the analog input object.
![]() | Adaptor-Specific Information | Getting Help | ![]() |