| aMotion_GetParameter | Index |
Definition:
| int aMotion_GetParameter( | char channel, char paramIndex); |
Parameters:
| channel | - | Motion control channel. |
| paramIndex | - | Index of motion control parameter. |
Return Value:
Description:
This routine retrieves a control constant for a motion control channel. See the cmdMO_CFG documentation for details on configuring a motion control channel.
Example:
#include <aMotion.tea>
p=aMotion_GetParameter(0, aMOTION_PARAM_P);
This would retrieve the P constant for motion control channel 0.
Related: