Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Interrup / stop 'Timer Stop Input' mode.

  • Please log in to reply
1 reply to this topic

#1 Roel

  • Members
  • 2 posts

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.

#2 Roel

  • Members
  • 2 posts

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