Torsten Bögershausen 90643807f3 devMotorAsyn: remove initEvent in init_record()
When the motorRecord is initialized, init_record() is called.
For asynMotors init_record() calls init_controller() in devMotorAsyn.c

From here, the encoder ratio is send to the driver.
After doing that, the code "locks" the execution waiting for a callback
to call epicsEventSignal(pPvt->initEvent) which "unlocks" the code.

As Mark Clift points out, this code can be simplified and the initEvent
can be removed.

Mark Rivers suggested to use the asynFloat64SyncIO interface,
which locks the asyn port when calling the driver.
2020-10-12 06:25:03 +02:00
2020-06-15 16:33:28 -05:00
2020-06-11 17:30:40 -05:00
2020-06-15 16:33:28 -05:00
2019-04-15 16:58:24 -05:00
2019-04-16 14:14:06 -05:00
2002-09-13 19:26:38 +00:00

motor

Build Status

This module contains motor support for the Experimental Physics and Industrial Control System (EPICS).

The core motor functionality resides in this respository. Starting with R7-0 the drivers have been moved from motor to standalone github repositories, which have been added to motor as submodules. The driver repositories can be found here: https://github.com/epics-motor

Getting started

Updating clones created before 2019-04-02

Use the following procedure to update clones that were created before the beginning of the motor split:

$ cd motor
$ make distclean
$ git fetch origin
$ git status
<behind by many commits and can be fast-forwarded>
$ git stash
$ git rebase origin/master
$ git stash apply
$ git submodule init
$ git submodule update

Failure to 'make distclean' before rebasing will result in many driver source directories in motorApp with "O.*" directories that need to be removed manually.

Cloning motor with support for all motor controllers

The following command results in a motor directory that contains all of the driver submodules:

$ git clone --recursive https://github.com/epics-modules/motor.git

Cloning motor with support for a single motor controller

The following procedure allows only required drivers to be built, which can significantly reduce build times:

$ git clone https://github.com/epics-modules/motor.git
$ cd motor
$ git submodule init
$ git submodule update modules/motorMotorSim

Additional Info

For more information, see:

Report an issue with Motor
Request a feature

S
Description
This is motor record version 7. The older (incompatible) motor record version 6 is here: https://git.psi.ch/epics_driver_modules/motor. The "upstream" branch is a fork of https://github.com/epics-modules/motor. Do not modify that one. All used submodules have their own repo. Don't modify them here.
Readme 7.7 MiB
Languages
C++ 62.3%
C 34.6%
Makefile 1.7%
Python 1.3%
Shell 0.1%