| aMotion_GetValue | Index |
Definition:
Parameters:
| stemRef | - | An opaque library reference representing the aStem library which manages the communication with the BrainStem modules. |
| module | - | The IIC address of the Moto module that will return the setpoint (or value) for one of its motion control channels. This need not be the router. |
| channel | - | The index of the motion control channel. |
| pPosition | - | Address of short where the result will be stored. |
Return Value:
Description:
This routine manages the BrainStem packets needed to request the 2-byte setpoint associated with a motion control channel and receive the reply.
See the cmdMO_SET documentation for a discussion of what the setpoint means for various motion control modes.
Related: