Project

General

Profile

Files » CVI_timer.c

Frédéric Blanc, 2016-01-29 09:57

 
#include "var.h"
/**
* @brief gestion du timer
* @param
* @return 0
* @date 18/10/2012
*
*/
int CVICALLBACK CVI_timer (int reserved, int timerId, int event, void *callbackData, int eventData1, int eventData2)
{
if(event==15)
{
Ctrl.time_elapsed++;
Set_panel_measure_time_elapsed();
Ctrl.time_remaining=Ctrl.time_total-Ctrl.time_elapsed;
Set_panel_measure_time_remaining();
ProcessSystemEvents ();
}
return 0;
}
(9-9/25)