⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
T_Batt
All Projects
Frédéric Blanc
»
T_Batt
Overview
Activity
Wiki
Files
Repository
Download (531 Bytes)
Files
» CVI_timer.c
Frédéric Blanc
, 2016-01-29 10:30
#include
"var.h"
/**
* @brief gestion du timer
* @param CVI
* @return CVI
* @date 25/02/2010
*
*/
int
CVICALLBACK
CVI_timer
(
int
panel
,
int
control
,
int
event
,
void
*
callbackData
,
int
eventData1
,
int
eventData2
)
{
time_t
t_date_heure
;
switch
(
event
)
{
case
EVENT_TIMER_TICK
:
ProcessSystemEvents
();
time
(
&
t_date_heure
);
Ctrl
.
time_elapsed
=
t_date_heure
-
Ctrl
.
time_start
;
Ctrl
.
time_cycle
++
;
Set_panel_measure_time_elapsed
();
fnct_measure
();
break
;
}
return
0
;
}
« Previous
1
2
3
4
5
6
…
25
Next »
(4-4/25)
Loading...