wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/StopDIOPulse

Version 1 (modified by Don Wilson, 13 years ago) ( diff )

--

StopDIOPulse

Stop a digital output pulse for the a DIO option card.

int StopDIOPulse(int bd, int out);

Parameters

  • bd - number of digital output card (main board output is not supported for pulse)
  • output - output number (outputs 1 - 4) only are supported

Return Value

  • Returns the result - OK success

Remarks

Requires main board version 1.19 and DIO card firmware version 0.05 or greater. The main board or option card must already be opened by calling OpenMnBd first. The call does a wait for acknowledgement. If the application is using main board communication events these events may be called during the wait for acknowledgement.

Examples

if(StopDIOPulse(1, 1) == OK)
    DisplayText(0, 0, "Pulse output stopped");

See Also

Note: See TracWiki for help on using the wiki.