Documentation Center

  • Trial Software
  • Product Updates

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
Was this topic helpful?