Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ADCTimingMode

Set channel timing mode

Description

When working with the session-based interface, use the ADCTimingMode property to specify if the timing mode in of all channels in the device is high resolution or high speed.

    Note:   The ADCTimingMode must be the same for all channels on the device.

Values

You can set the ADCTimingMode to:

  • 'HighResolution'

  • 'HighSpeed'

  • 'Best50HzRejection'

  • 'Best60HzRejection'

Examples

Create a session and add an analog input channel:

s = daq.createSession('ni');
ch = addAnalogInputChannel(s,'cDAQ1Mod1','ai1','Voltage');
ch

ans = 

Data acquisition analog input voltage channel 'ai1' on device 'cDAQ1Mod1':

       Coupling: DC
 TerminalConfig: SingleEnded
          Range: -10 to +10 Volts
           Name: ''
             ID: 'ai1'
         Device: [1x1 daq.ni.CompactDAQModule]
MeasurementType: 'Voltage'
  ADCTimingMode: ''

Set the ADCTimingMode property to 'HighResolution':

ch.ADCTimingMode = 'HighResolution';
Was this topic helpful?