This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Device

Channel device information

Description

When working with the session-based interface, the read-only Device property displays device information for the channel.

Examples

Create a session object, add a counter input channel, and view the Device property.

s = daq.createSession('ni');
ch = addCounterInputChannel(s,'cDAQ1Mod5', 0, 'EdgeCount');
ch.Device
ans = 

ni cDAQ1Mod5: National Instruments NI 9402
   Counter input subsystem supports:
      Rates from 0.1 to 80000000.0 scans/sec
      2 channels
      'EdgeCount','PulseWidth','Frequency','Position' measurement types
   
   Counter output subsystem supports:
      Rates from 0.1 to 80000000.0 scans/sec
      3 channels
      'PulseGeneration' measurement type
   
This module is in chassis 'cDAQ1', slot 5