| | 1 | = StopDIOPulse = |
| | 2 | Stop a digital output pulse for the a DIO option card. |
| | 3 | |
| | 4 | {{{ |
| | 5 | int StopDIOPulse(int bd, int out); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | * bd - number of digital output card (main board output is not supported for pulse) |
| | 11 | * output - output number (outputs 1 - 4) only are supported |
| | 12 | |
| | 13 | == Return Value == |
| | 14 | |
| | 15 | * Returns the result - OK success |
| | 16 | |
| | 17 | == Remarks == |
| | 18 | |
| | 19 | 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. |
| | 20 | |
| | 21 | == Examples == |
| | 22 | |
| | 23 | {{{ |
| | 24 | if(StopDIOPulse(1, 1) == OK) |
| | 25 | DisplayText(0, 0, "Pulse output stopped"); |
| | 26 | }}} |
| | 27 | |
| | 28 | |
| | 29 | == See Also == |
| | 30 | |
| | 31 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/StartDIOPulse StartDIOPulse] |
| | 32 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetOutput SetOutput] |