IMAQIOPolarity Constants

NI-IMAQ I/O Visual Basic

IMAQIOPolarity Constants

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

outputSignalPolarity

For the outputSignalPolarity parameter, these constants behave as follows:

  • IMAQIO_POLARITY_HIGH_TRUE—Drives the line high during the pulse assertion, which is dictated by the width parameter.
  • IMAQIO_POLARITY_LOW_TRUE—Drives the line low during the pulse assertion, which is dictated by the width parameter.

triggerSignalPolarity

For the triggerSignalPolarity parameter, these constants behave as follows:

  • IMAQIO_POLARITY_HIGH_TRUE—Triggers the pulse when the signal is high.
  • IMAQIO_POLARITY_LOW_TRUE—Triggers the pulse when the signal is low.