Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a0de4e9d9 | |||
| 566728c57c |
@@ -257,7 +257,7 @@ This method should not be called in the driver code itself if a poll is needed -
|
|||||||
- `startMovTimeoutWatchdog`: Starts a watchdog for the movement time. This watchdog compares the actual time spent in a movement operation with an expected time, which is calculated based on the distance of the current and the target position.
|
- `startMovTimeoutWatchdog`: Starts a watchdog for the movement time. This watchdog compares the actual time spent in a movement operation with an expected time, which is calculated based on the distance of the current and the target position.
|
||||||
- `checkMovTimeoutWatchdog`: Check if the watchdog timed out.
|
- `checkMovTimeoutWatchdog`: Check if the watchdog timed out.
|
||||||
- `setWatchdogEnabled`: Enables / disables the watchdog. This function is also available in the IOC shell.
|
- `setWatchdogEnabled`: Enables / disables the watchdog. This function is also available in the IOC shell.
|
||||||
- `setOffsetMovTimeout`: Set a linear offset for the expected movement time. This function is also available in the IOC shell.
|
- `setOffsetMovTimeout`: Set a constant offset for the expected movement time. This function is also available in the IOC shell.
|
||||||
- `setScaleMovTimeout`: Set a scaling factor for the expected movement time. This function is also available in the IOC shell.
|
- `setScaleMovTimeout`: Set a scaling factor for the expected movement time. This function is also available in the IOC shell.
|
||||||
|
|
||||||
#### msgPrintControl.h
|
#### msgPrintControl.h
|
||||||
|
|||||||
@@ -283,9 +283,12 @@ asynStatus sinqAxis::forcedPoll(bool *moving) {
|
|||||||
pSinqA_->wasMoving = *moving;
|
pSinqA_->wasMoving = *moving;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check and update the watchdog
|
// Check and update the watchdog as well as the general poll status IF the
|
||||||
if (checkMovTimeoutWatchdog(*moving) != asynSuccess) {
|
// poll did not fail already.
|
||||||
return asynError;
|
if (poll_status == asynSuccess) {
|
||||||
|
if (checkMovTimeoutWatchdog(*moving) != asynSuccess) {
|
||||||
|
poll_status = asynError;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// According to the function documentation of asynMotorAxis::poll, this
|
// According to the function documentation of asynMotorAxis::poll, this
|
||||||
|
|||||||
Reference in New Issue
Block a user