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.


Delay until output channel generates pulses


When working with the session-based interface, use the InitialDelay property to set an initial delay on the counter output channel in which the counter is running but does not generate any pulse.


Specify Initial Delay

Set the initial delay on a counter output channel to 3.

Create a session and add a counter input channel.

s = daq.createSession('ni');
ch = addCounterOutputChannel(s,'cDAQ1Mod5', 'ctr0', 'PulseGeneration');

Set the initial delay.

ch.InitialDelay = 3
ch = 

Data acquisition counter output pulse generation channel 'ctr0' on device 'cDAQ1Mod5':

      IdleState: Low
   InitialDelay: 3
      Frequency: 100
      DutyCycle: 0.5
       Terminal: 'PFI0'
           Name: ''
             ID: 'ctr0'
         Device: [1x1]
MeasurementType: 'PulseGeneration'
Was this topic helpful?