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'