Hello Scientist,
perhaps have a look at the InstallMainCallback function.
Example:
in the main routine you have to install the callback like:
InstallMainCallback (MyLoop, 0, 1);
In the MyLoop function you can put code like this to display systemtime
continuously :
int MyLoop()
{
int h, m, s;
char time[20];
GetSystemTime (&h, &m, &s);
sprintf(time, "%.2d:%.2d:%.2d", h, m, s);
SetCtrlVal(main_panel, PANEL_TIME, time);
}
regards
Gregoire