Узнайте аппаратные устройства

Узнайте поддерживаемые устройства сбора данных в своей системе.

Шаг 1. Узнайте аппаратные устройства.

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]

Шаг 2. Получите подробную информацию об устройстве.

Просмотрите DeviceInfo детали для Dev3 устройство:

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
Для просмотра документации необходимо авторизоваться на сайте