wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/StartRepeatIO

StartRepeatIO

Start repeating communications from the main board to report I/O status.

int StartRepeatIO(int dev, uint32 interval);

Parameters

  • dev - 0 = main board I/O status, number of digital output card
  • interval - update interval in milliseconds

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(StartRepeatIO(1, 200) == OK)
    DisplayText(0, 0, "I/O status five times per second");

See Also

Last modified 6 years ago Last modified on 04/19/18 07:04:40
Note: See TracWiki for help on using the wiki.