| 1 | = StartRepeatWt = |
| 2 | Start repeating communications from main board to report weight. |
| 3 | |
| 4 | {{{ |
| 5 | int StartRepeatWt(int scale, uint32 interval = REP_INTV_SAMPLE_RATE); |
| 6 | }}} |
| 7 | |
| 8 | == Parameters == |
| 9 | |
| 10 | * scale - scale number |
| 11 | * interval - update interval in milliseconds |
| 12 | |
| 13 | == Return Value == |
| 14 | |
| 15 | * Returns the result - OK success |
| 16 | |
| 17 | == Remarks == |
| 18 | |
| 19 | The scale 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. If multiple scale information and I/O status is desired refer to StartRepeatMulti. |
| 20 | |
| 21 | == Examples == |
| 22 | |
| 23 | {{{ |
| 24 | if(StartRepeatWt(1, 200) == OK) |
| 25 | DisplayText(0, 0, "scale 1 update 5 times per second"); |
| 26 | }}} |
| 27 | |
| 28 | |
| 29 | == See Also == |
| 30 | |
| 31 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/StopRepeatWt StopRepeatWt] |
| 32 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/StartRepeatMulti StartRepeatMulti] |