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
Floating-Point versus Fixed-Point ...................................... 4-4
Time Base ........................................................................... 4-5
Arc Move Limitations ....................................................................... 4-13
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