07-26-2004 01:19 AM
07-26-2004
06:06 PM
- last edited on
07-24-2025
11:27 AM
by
Content Cleaner
Hello,
Thank you for contacting National Instruments.
The function you are needing is either flex_reset_pos or reset_pos, depending on your motion board and the driver software (FlexMotion or ValueMotion, respectively). The FlexMotion version of this function will reset the position to any desired value. I use this function often with open-loop steppers (no encoders hooked up), and it does behave as expected. The ValueMotion version, however, will only reset the position to 0.
For FlexMotion, you can find complete function documentation in the Program Files>>National Instruments>>NI-Motion>>Documentation directory or at the following link: NI-Motion Function Help.
Documentation for ValueMotion can be found in a similar Start Menu location or at the following link: ValueMotion Software Reference.
Best Regards,
Jesse D.
Applications Engineer
National Instruments