Version 4 (modified by 7 years ago) ( diff ) | ,
---|
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
Note:
See TracWiki
for help on using the wiki.