| | 1 | = StartRepeatIO = |
| | 2 | Start repeating communications main board to report I/O status. |
| | 3 | |
| | 4 | {{{ |
| | 5 | int StartRepeatIO(int dev, uint32 interval); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | * dev - 0 = main board I/O status, number of digital output card |
| | 11 | * interval - update interval in milliseconds |
| | 12 | |
| | 13 | == Return Value == |
| | 14 | |
| | 15 | * Returns the result - OK success |
| | 16 | |
| | 17 | == Remarks == |
| | 18 | |
| | 19 | 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(StartRepeatIO(1, 200) == OK) |
| | 25 | DisplayText(0, 0, "I/O status five times per second"); |
| | 26 | }}} |
| | 27 | |
| | 28 | == See Also == |
| | 29 | |
| | 30 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/StopRepeatIO StopRepeatIO] |