|
EPICS Motor Module motor-R6-8-RC1_1-4
|
Typedefs | |
| typedef AXIS_HDL(* | motorAxisOpenFunc )(int card, int axis, char *param) |
| typedef int(* | motorAxisCloseFunc )(AXIS_HDL pAxis) |
| typedef AXIS_HDL(* | motorAxisOpenFunc )(int card, int axis, char *param) |
| typedef int(* | motorAxisCloseFunc )(AXIS_HDL pAxis) |
Provide an external logging routine.
This is an optional function which allows external software to hook the driver log routine into an external logging system. The external log function is a standard printf style routine with the exception that it has a first parameter that can be used to set external data on an axis by axis basis and a second parameter which is a message tracing indicator. This is set to be compatible with the asynTrace reasons
If pAxis is NULL, then this logging function and parameter should be used as a default - i.e. when logging is not taking place in the context of a single axis (a background polling task, for example).
| pAxis | [in] Pointer to axis handle returned by motorAxisOpen. |
| logFunc | [in] Pointer to function of motorAxisLogFunc type. |
| param | [in] Pointer to the user parameter to be used for logging on this axis |
| typedef int(* motorAxisCloseFunc)(AXIS_HDL pAxis) |
Initialise connection to a motor axis.
This routine should open a connection to an motor controller axis and return a driver dependent handle that can be used for subsequent calls to other axis routines supported by the motor controller. The driver should support multiple opens on a single axis and process all calls from separate threads on a fifo basis.
| card | [in] Number representing the motor controller. |
| axis | [in] Axis number - some devices may have conventions on virtual axes. |
| param | [in] Arbitrary, driver defined, parameter string. |
| typedef int(* motorAxisCloseFunc)(AXIS_HDL pAxis) |
Initialise connection to a motor axis.
This routine should open a connection to an motor controller axis and return a driver dependent handle that can be used for subsequent calls to other axis routines supported by the motor controller. The driver should support multiple opens on a single axis and process all calls from separate threads on a fifo basis.
| card | [in] Number representing the motor controller. |
| axis | [in] Axis number - some devices may have conventions on virtual axes. |
| param | [in] Arbitrary, driver defined, parameter string. |
1.7.4