Chapter 5 straight-line moves – National Instruments NI-Motion User Manual
Page 5

Contents
vi
ni.com
Chapter 4
What You Need to Know about Moves
Trapezoidal...................................................................................................... 4-1
S-Curve ........................................................................................................... 4-2
Basic Moves ..................................................................................... 4-2
Coordinate Space .............................................................................. 4-3
Multi-Starts versus Coordinate Spaces............................................. 4-3
NI 73xx Floating-Point versus Fixed-Point ...................................... 4-4
NI 73xx Time Base ........................................................................... 4-5
Straight-Line Move Algorithm ....................................................................... 5-1
C/C++ Code .................................................................................................... 5-5
1D Straight-Line Move Code ........................................................... 5-5
2D Straight-Line Move Code ........................................................... 5-7
Algorithm ........................................................................................................ 5-11
LabVIEW Code............................................................................................... 5-13
C/C++ Code .................................................................................................... 5-13
Algorithm ........................................................................................................ 5-18
LabVIEW Code............................................................................................... 5-19
C/C++ Code .................................................................................................... 5-20