daqlist
List data acquisition devices available to toolbox
Description
daqlist
displays a table of all available devices for all supported
vendors. The information for each device includes device IDs, descriptions, models, and
device subsystems.
Examples
List all available devices.
dev = daqlist
dev = 12×5 table VendorID DeviceID Description Model DeviceInfo _____________ ___________ __________________________________________________________ ______________________________________________ ____________________ "ni" "Dev2" "National Instruments(TM) PCIe-6363" "PCIe-6363" [1×1 daq.DeviceInfo] "ni" "PXI1Slot2" "National Instruments(TM) PXI-4461" "PXI-4461" [1×1 daq.DeviceInfo] "adi" "SMU1" "Analog Devices Inc. ADALM1000" "ADALM1000" [1×1 daq.DeviceInfo] "directsound" "Audio0" "DirectSound Primary Sound Capture Driver" "Primary Sound Capture Driver" [1×1 daq.DeviceInfo] "directsound" "Audio1" "DirectSound Headset Microphone (Plantronics BT600)" "Headset Microphone (Plantronics BT600)" [1×1 daq.DeviceInfo] "directsound" "Audio2" "DirectSound Primary Sound Driver" "Primary Sound Driver" [1×1 daq.DeviceInfo] "directsound" "Audio3" "DirectSound Headset Earphone (Plantronics BT600)" "Headset Earphone (Plantronics BT600)" [1×1 daq.DeviceInfo] "directsound" "Audio4" "DirectSound LEN T2454pA (NVIDIA High Definition Audio):1" "LEN T2454pA (NVIDIA High Definition Audio):1" [1×1 daq.DeviceInfo] "directsound" "Audio5" "DirectSound LEN T2454pA (NVIDIA High Definition Audio):2" "LEN T2454pA (NVIDIA High Definition Audio):2" [1×1 daq.DeviceInfo] "directsound" "Audio6" "DirectSound Speakers (Lenovo USB Soundbar)" "Speakers (Lenovo USB Soundbar)" [1×1 daq.DeviceInfo] "directsound" "Audio7" "DirectSound Speakers (Realtek High Definition Audio)" "Speakers (Realtek High Definition Audio)" [1×1 daq.DeviceInfo] "mcc" "Board0" "Measurement Computing Corp. USB-1208FS-Plus" "USB-1208FS-Plus" [1×1 daq.DeviceInfo]
List all available National Instruments™ devices.
dev = daqlist("ni")
dev = 12×5 table VendorID DeviceID Description Model DeviceInfo ____________ ___________ ____________________________________ ___________ ____________________ "ni" "Dev2" "National Instruments(TM) PCIe-6363" "PCIe-6363" [1×1 daq.DeviceInfo] "ni" "PXI1Slot2" "National Instruments(TM) PXI-4461" "PXI-4461" [1×1 daq.DeviceInfo]
View details of the first device.
devinfo = dev.DeviceInfo(1)
devinfo = ni: National Instruments(TM) PCIe-6363 (Device ID: 'Dev2') Analog input supports: 7 ranges supported Rates from 0.1 to 2000000.0 scans/sec 32 channels ('ai0' - 'ai31') 'Voltage' measurement type Analog output supports: -5.0 to +5.0 Volts,-10 to +10 Volts ranges Rates from 0.1 to 2857142.9 scans/sec 4 channels ('ao0','ao1','ao2','ao3') 'Voltage' measurement type Digital IO supports: Rates from 0.1 to 10000000.0 scans/sec 48 channels ('port0/line0' - 'port2/line7') 'InputOnly','OutputOnly','Bidirectional' measurement types Counter input supports: Rates from 0.1 to 100000000.0 scans/sec 4 channels ('ctr0','ctr1','ctr2','ctr3') 'EdgeCount','PulseWidth','Frequency','Position' measurement types Counter output supports: Rates from 0.1 to 100000000.0 scans/sec 4 channels ('ctr0','ctr1','ctr2','ctr3') 'PulseGeneration' measurement type
Input Arguments
Device vendor specified as a string or character vector.
Example: "ni"
Data Types: char
| string
Output Arguments
List of available devices, returned as a table.
Version History
Introduced in R2020a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)