08-29-2016 09:48 AM
Hi,
I have a timer that is initially desactivated. When i activate this timer (timerstart), sometimes i have EVENT_TIMER_TICK that is fired (ModemTimeoutDnx == 10 for example). It works normally on some PC and sometimes it fails on other.
Any idea of this problem ?
Regards.
Christophe P.
void timerstart(int panel) { SetCtrlAttribute(panel ,CONNECT_TIMERDNXAUTO, ATTR_INTERVAL , (double)(ModemTimeoutDnx*60)); SetCtrlAttribute(panel, CONNECT_TIMERDNXAUTO, ATTR_ENABLED , 1); } void timerstop(void) { SetCtrlAttribute( panel, CONNECT_TIMERDNXAUTO, ATTR_ENABLED , 0); } void timerreset(void) { ResetTimer(panel,CONNECT_TIMERDNXAUTO); }
09-02-2016 05:07 AM
Hi Christophe,
I have tried, but I haven't found much about your issue. The only think I could think of would be a bug in your CVI version. can you tell me which version you are using? Can you be sure to have all the updates and patches installed?
Have a nice day,
M-Junior
09-06-2016 01:30 AM
Hi M-Junior,
Thanks for your reply. I modify my source code to be sure that ModemTimeoutDnx is different from 0. I'm waiting somes tests from my customer.
Regards.
Christophe P.