wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/StartRepeatMulti

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

--

StartRepeatIO

Start repeating communications main board to report weights and I/O status.

int StartRepeatMulti(uint32 interval, struct mnbd_multi_rep_counters_struct& counters);
int StartRepeatMulti(uint32 interval, struct mnbd_multi_rep_counters_struct* counters = NULL);

Parameters

  • interval - update interval in milliseconds
  • counters - structure to define any DIO counters to be reported

Return Value

  • Returns the result - OK success

Remarks

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(StartRepeatMulti(100) == OK)
    DisplayText(0, 0, "Wt and I/O 10 times per second");

See Also

Note: See TracWiki for help on using the wiki.