[Bug 611] New: Fix ComediPulseTrainGenerator::stop() with comedi 0.8

For more infomation about this bug, visit
Summary: Fix ComediPulseTrainGenerator::stop() with comedi 0.8
Product: OCL
Version: 1.6.0
Platform: AMD 64bit
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: Hardware
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

ComediPulseTrainGenerator::stop() in OCL 1.6 sets the counter values (ie pulse
width
and length) to zero. This causes the card counters to 'overflow' and start
counting
from (unsigned int)-1. Which causes huge delays (upto a minute) when start()
is called again.

We are preparing a fix for the OCL 1.4 Debian packages, but this is to be
fixed in OCL
1.6 as well.

The fix is to 'disarm' the counter and make sure that start() properly re-arms
it again. The
counter values should remain untouched.

[Bug 611] Fix ComediPulseTrainGenerator::stop() with comedi 0.8

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=611

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |1.8.0
Resolution| |FIXED
Status|NEW |RESOLVED

--- Comment #3 from Peter Soetens <peter [..] ...> 2009-06-21 22:02:03 ---
This was fixed in OCL 1.8.0

[Bug 611] Fix ComediPulseTrainGenerator::stop() with comedi 0.8

For more infomation about this bug, visit

--- Comment #2 from Peter Soetens
<peter [dot] soetens [..] ...> 2009-01-13 16:58:22 ---
Created an attachment (id=368)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=368)
mylyn/context/zip

[Bug 611] Fix ComediPulseTrainGenerator::stop() with comedi 0.8

For more infomation about this bug, visit

--- Comment #1 from Peter Soetens
<peter [dot] soetens [..] ...> 2009-01-13 16:58:21 ---
Created an attachment (id=367)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=367)
Fixes this issue

Author: Peter Soetens
<peter [dot] soetens [..] ...> Date: Tue Jan 13 16:55:25 2009 +0100

Adds the disarm instruction to the low level Comedi counter functions and
calls disarm() in ComediPulseTrainGenerator::stop().