EPICS Motor Module motor-R6-8-RC1_1-4
Typedefs
Routines that set axis control parameters

Typedefs

typedef int(* motorAxisSetDoubleFunc )(AXIS_HDL pAxis, motorAxisParam_t, double)
typedef int(* motorAxisSetIntegerFunc )(AXIS_HDL pAxis, motorAxisParam_t, int)
typedef int(* motorAxisGetDoubleFunc )(AXIS_HDL pAxis, motorAxisParam_t, double *)
typedef int(* motorAxisGetIntegerFunc )(AXIS_HDL pAxis, motorAxisParam_t, int *)
typedef int(* motorAxisSetDoubleFunc )(AXIS_HDL pAxis, motorAxisParam_t, double)
typedef int(* motorAxisSetIntegerFunc )(AXIS_HDL pAxis, motorAxisParam_t, int)
typedef int(* motorAxisGetDoubleFunc )(AXIS_HDL pAxis, motorAxisParam_t, double *)
typedef int(* motorAxisGetIntegerFunc )(AXIS_HDL pAxis, motorAxisParam_t, int *)

Detailed Description

Set a callback function to be called when motor axis information changes

This routine sets a function to be called by the driver if the motor status changes.

Only one callback function is allowed per AXIS_HDL, and so subsequent calls to this function using the original axis identifier will replace the original callback. Setting the callback function to a NULL pointer will delete the callback hook.

Parameters:
pAxis[in] Pointer to axis handle returned by motorAxisOpen.
callback[in] Pointer to a callback function taking a void parameter.
param[in] Void pointer to parameter that should be used when calling the callback
Returns:
Integer indicating 0 (MOTOR_AXIS_OK) for success or non-zero for failure.

Typedef Documentation

typedef int(* motorAxisGetDoubleFunc)(AXIS_HDL pAxis, motorAxisParam_t, double *)

Sets an integer parameter in the controller.

The function parameter is described in the description of the #motorAxisParam_t enumeration.

Parameters:
pAxis[in] Pointer to axis handle returned by motorAxisOpen.
function[in] One of the #motorAxisParam_t values indicating which parameter to set.
value[in] Value to be assigned to the parameter.
Returns:
Integer indicating 0 (MOTOR_AXIS_OK) for success or non-zero for failure or not supported.
typedef int(* motorAxisGetDoubleFunc)(AXIS_HDL pAxis, motorAxisParam_t, double *)

Sets an integer parameter in the controller.

The function parameter is described in the description of the #motorAxisParam_t enumeration.

Parameters:
pAxis[in] Pointer to axis handle returned by motorAxisOpen.
function[in] One of the #motorAxisParam_t values indicating which parameter to set.
value[in] Value to be assigned to the parameter.
Returns:
Integer indicating 0 (MOTOR_AXIS_OK) for success or non-zero for failure or not supported.
typedef int(* motorAxisGetIntegerFunc)(AXIS_HDL pAxis, motorAxisParam_t, int *)

Gets a double parameter in the controller.

The function parameter is described in the description of the #motorAxisParam_t enumeration.

Parameters:
pAxis[in] Pointer to axis handle returned by motorAxisOpen.
function[in] One of the #motorAxisParam_t values indicating which parameter to get.
value[out] Value of the parameter.
Returns:
Integer indicating 0 (MOTOR_AXIS_OK) for success or non-zero for failure or not supported.
typedef int(* motorAxisGetIntegerFunc)(AXIS_HDL pAxis, motorAxisParam_t, int *)

Gets a double parameter in the controller.

The function parameter is described in the description of the #motorAxisParam_t enumeration.

Parameters:
pAxis[in] Pointer to axis handle returned by motorAxisOpen.
function[in] One of the #motorAxisParam_t values indicating which parameter to get.
value[out] Value of the parameter.
Returns:
Integer indicating 0 (MOTOR_AXIS_OK) for success or non-zero for failure or not supported.
typedef int(* motorAxisSetIntegerFunc)(AXIS_HDL pAxis, motorAxisParam_t, int)

Sets a double parameter in the controller.

The function parameter is described in the description of the #motorAxisParam_t enumeration.

Parameters:
pAxis[in] Pointer to axis handle returned by motorAxisOpen.
function[in] One of the# motorAxisParam_t values indicating which parameter to set.
value[in] Value to be assigned to the parameter.
Returns:
Integer indicating 0 (MOTOR_AXIS_OK) for success or non-zero for failure or not supported.
typedef int(* motorAxisSetIntegerFunc)(AXIS_HDL pAxis, motorAxisParam_t, int)

Sets a double parameter in the controller.

The function parameter is described in the description of the #motorAxisParam_t enumeration.

Parameters:
pAxis[in] Pointer to axis handle returned by motorAxisOpen.
function[in] One of the# motorAxisParam_t values indicating which parameter to set.
value[in] Value to be assigned to the parameter.
Returns:
Integer indicating 0 (MOTOR_AXIS_OK) for success or non-zero for failure or not supported.
 All Classes Functions Variables