| 1 | = StartRepeatIO = |
| 2 | Start repeating communications main board to report weights and I/O status. |
| 3 | |
| 4 | {{{ |
| 5 | int StartRepeatMulti(uint32 interval, struct mnbd_multi_rep_counters_struct& counters); |
| 6 | }}} |
| 7 | |
| 8 | {{{ |
| 9 | int StartRepeatMulti(uint32 interval, struct mnbd_multi_rep_counters_struct* counters = NULL); |
| 10 | }}} |
| 11 | |
| 12 | == Parameters == |
| 13 | |
| 14 | * interval - update interval in milliseconds |
| 15 | * counters - structure to define any DIO counters to be reported |
| 16 | |
| 17 | == Return Value == |
| 18 | |
| 19 | * Returns the result - OK success |
| 20 | |
| 21 | == Remarks == |
| 22 | |
| 23 | 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. |
| 24 | |
| 25 | == Examples == |
| 26 | |
| 27 | {{{ |
| 28 | if(StartRepeatMulti(100) == OK) |
| 29 | DisplayText(0, 0, "Wt and I/O 10 times per second"); |
| 30 | }}} |
| 31 | |
| 32 | == See Also == |
| 33 | |
| 34 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/StopRepeatMulti StopRepeatMulti] |