Main Content
Discover Hardware Devices
Discover the supported data acquisition devices on your system.
Step 1. Discover hardware devices.
dev = daqlist
dev = 4×5 table VendorID DeviceID Description Model DeviceInfo _____________ ________ ___________________________________________ ______________________________ ____________________ "ni" "Dev2" "National Instruments(TM) USB-6509" "USB-6509" [1×1 daq.DeviceInfo] "ni" "Dev3" "National Instruments(TM) USB-6211" "USB-6211" [1×1 daq.DeviceInfo] "directsound" "Audio0" "DirectSound Primary Sound Capture Driver" "Primary Sound Capture Driver" [1×1 daq.DeviceInfo] "directsound" "Audio1" "DirectSound Primary Sound Driver" "Primary Sound Driver" [1×1 daq.DeviceInfo]
Step 2. Get detailed device information.
View the DeviceInfo
details for the Dev3
device:
dev.DeviceInfo(2)
ans = ni: National Instruments(TM) USB-6211 (Device ID: 'Dev3') Analog input supports: 4 ranges supported Rates from 0.1 to 250000.0 scans/sec 16 channels ('ai0' - 'ai15') 'Voltage' measurement type Analog output supports: -10 to +10 Volts range Rates from 0.1 to 250000.0 scans/sec 2 channels ('ao0','ao1') 'Voltage' measurement type Digital IO supports: 8 channels ('port0/line0' - 'port1/line3') 'InputOnly','OutputOnly' measurement types Counter input supports: Rates from 0.1 to 80000000.0 scans/sec 2 channels ('ctr0','ctr1') 'EdgeCount','PulseWidth','Frequency','Position' measurement types Counter output supports: Rates from 0.1 to 80000000.0 scans/sec 2 channels ('ctr0','ctr1') 'PulseGeneration' measurement type