Interrup / stop 'Timer Stop Input' mode.
1 reply to this topic
Posted 30 October 2012 - 07:12 AM
I need to stop a 'Timer Stop Input' mode. I have timer 0 assigned as LJ_tmFREQOUT and timer 1 as LJ_tmTIMERSTOP. With an instruction eput(lngHandle, LJ_ioPUT_TIMER_MODE, 0, 0, 0) the pulse output can be interrupted. After reading Timer 1 for the number of pulses already done I can restart the pulse output program for the remaining number of pulses. This works fine. My question is: How can I stop the TIMERSTOP mode after the pulse interruption. The instruction LJ_ioPUT_TIMER_MODE, 1, 0, 0 does not do the job. Thank you for help.
Posted 31 October 2012 - 01:43 AM
The TimerStopInput mode can be canceled! It is all working fine! My problem was an overlooked program feature where an other thread was restarting the TimerStopInput mode.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users