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

StartRepeatIO Deprecated

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 8 weeks ago Last modified on 09/18/24 13:11:15
Note: See TracWiki for help on using the wiki.