I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
122
of the CPU.*/
break;
case '4':
Delay_2(1000); /*delay unit is 0.01 ms, uses the Timer 1
feature of the CPU .*/
break;
case 'q':
quit=1;
break;
}
}
time=TimerReadValue(); /*reads the timer*/
Print("\r\nTime=%8.3f sec", 0.001*time);
}
TimerClose(); /*closes the timer function*/
}
TimerClose()
Function: Stops the timer function.
Syntax:
int TimerClose(void);
Header:
#include ”7188xa.h”
Description: If the program has called the OpenTimer() function, it
must call TimerClose() before exiting.
Return Value: Always returns NoError.
Example: Please refer to “TimerOpen()” function for more detailed
information.
TimerResetValue()
Function: Resets the timer to 0.
Syntax:
void TimerResetValue(void);
Header:
#include ”7188xa.h”
Description: Resets the main time ticks to 0.
Example: Please refer to “TimerOpen()” function for more detailed
information.
TimerReadValue()
Function: Reads the main time ticks.
Syntax:
unsigned long TimerReadValue(void);
Header:
#include ”7188xa.h”
Description: Reads the main time ticks. The time unit is ms. When
Содержание I-7188XA
Страница 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Страница 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Страница 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Страница 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Страница 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Страница 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Страница 161: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 161 Below snap shots are steps for install TC 3 0...
Страница 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Страница 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...