I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
125
DelayMs(2000);
StopWatchReset(0);
StopWatchStart(0);
}
}
TimerClose();
}
StopWatchReset()
Function: Resets the StopWatch value to 0.
Syntax:
int StopWatchReset(int channel);
Header:
#include ”7188xa.h”
Description: channel: 0-7, a total of 8 channels.
Return Value: On success, returns NoError.
If the channel is out of range, returns ChannelError
(-15).
Example: Please refer to “StopWatchStart()” function for more
detailed information.
StopWatchStop()
Function: Disables the StopWatch channel.
Syntax:
int StopWatchStop(int channel);
Header:
#include ”7188xa.h”
Description: The system timer ISR will stop to increment the
StopWatch value.
channel: 0-7, a total of 8 channels.
Return Value: On success, returns NoError.
If the channel is out of range, returns ChannelError
(-15).
Example: Please refer to “StopWatchStart ()” function for more
detailed information.
StopWatchPause()
Function: Pauses the StopWatch.
Syntax:
int StopWatchPause(int channel);
Header:
#include ”7188xa.h”
Description: After calling StopWatchPause(), StopWatchContinue()
must be called to restart the time counter.
Summary of Contents for I-7188XA
Page 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Page 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Page 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Page 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Page 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Page 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Page 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Page 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...