IMAQIOPulseMode Constants

NI-IMAQ I/O Visual Basic

IMAQIOPulseMode Constants

IMAQIOPulseMode constants are the constants for the imaqIOPulseCreate method in the NI-IMAQ I/O library.

  • PULSE_MODE_TRAIN—Pulse is generated continuously after the trigger is asserted. Choose this option to generate a continuous pulse train that is inactive for the time specified in the delay parameter, and active for the time specified in the width parameter. When the pulse train is started, it continues periodically until you call imaqIOPulseStop, imaqIOPulseDispose, or imaqIOClose. This mode is valid only if you set triggerSignalType to IMAQIO_SIGNAL_STATUS, and triggerSignalNumber is set to IMAQIO_STATUS_SIGNAL_NONE.
  • PULSE_MODE_SINGLE—This option is not supported.
  • PULSE_MODE_SINGLE_REARM—Pulse occurs one time on each trigger occurrence. Choose this option to generate a rearmed single shot pulse. On every occurrence of the trigger, the output line stays inactive for the time specified in the delay parameter, and becomes active for the time specified in the width parameter. When the pulse is started, output toggles for each occurrence of the trigger until you call imaqIOPulseStop, imaqIOPulseDispose, or imaqIOClose. This mode works only when the application is configured to trigger on the TTL In or ISO In lines.