주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

daqlist

툴박스에서 사용 가능한 데이터 수집 장치 나열

설명

daqlist는 지원되는 모든 공급업체의 사용 가능한 모든 장치 테이블을 표시합니다. 각 장치에 대한 정보에는 장치 ID, 설명, 모델, 장치 서브시스템이 포함됩니다.

예제

daqlist(vendor)는 지정된 공급업체에서 사용 가능한 모든 장치를 테이블 형식으로 나열합니다.

dev = daqlist(___)는 장치 테이블을 dev에 할당합니다. 위치 또는 열 레이블을 인덱싱하여 개별 테이블 셀에 액세스할 수 있습니다.

예제

예제

모두 축소

사용 가능한 모든 장치를 나열합니다.

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]

사용 가능한 모든 National Instruments™ 장치를 나열합니다.

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]

첫 번째 장치의 세부 정보를 확인하십시오.

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

입력 인수

모두 축소

장치 공급업체로, string형 또는 문자형 벡터로 지정됩니다.

예: "ni"

데이터형: char | string

출력 인수

모두 축소

사용 가능한 장치 목록으로, 테이블로 반환됩니다.

버전 내역

R2020a에 개발됨

참고 항목

함수