PreviousNext
Help > DAQmx Steps Reference > DAQmx Digital Step Types > Generate Pulses
Generate Pulses

This step allows generating pulses on a digital line at the Hardware Clock Rate defined by the Step.

To configure this step open the Edit Step window from Sequence editor.

In the Configuration Dialog Box, select the Mode and a valid DAQmx Global Channel.

For this Step, you can configure:

          Nb Pulses: number of pulses to generate on the line from 1 to 1000;

          Pulse Type: type of pulse (Rising or Falling);

          Frequency (Hz): hardware clock frequency used to generate the pattern from 1 Hz to 1 MHz.

Tip  Only compatible variables are listed in the DAQmx Global Channel Selector according to Selected Mode and Step Type.

Caution  This step uses a NI-DAQmx Task to generate the pulses. Make sure that your hardware supports Digital Output Generation of N Samples (hardware timed) with Internal sample clock Type on the selected Line.  

After execution, configuration of the step is added to the report by default.

Note  Make sure that the Specified Frequency is supported by the Hardware used by the DAQmx Global Channel.

Tip  When Pulse Type is set to Rising make sure that the Digital Line is set to False before running this step to generate the first pulse.

When Pulse Type is set to Falling make sure that the Digital Line is set to True before running this step to generate the first pulse.

Note  The Mode option is enabled according to your Edition (see DAQmx Steps Licensing Options)

At execution, the step configuration is added to the report.

 

See Also

Configuration Dialog Box

Mode Option

Configure IO for DAQmx Steps