Straight-Line Move LabVIEW Diagram
The following block diagrams demonstrate using NI-Motion to complete a 1D and 2D straight-line move, respectively.
Tip Refer to NI-Motion\Documentation\Examples\NI-Motion User Manual\ for the LabVIEW VIs for these examples. |
1D Straight-Line Move Block Diagram
1 Load Velocity | 4 Load S-Curve Time | 7 Start Motion |
2 Load Acceleration/Deceleration | 5 Set Operation Mode | 8 Read per Axis Status |
3 Load Acceleration/Deceleration | 6 Load Target Position | 9 Motion Error Handler |
2D Straight-Line Move Block Diagram
1 Configure Vector Space | 5 Load S-Curve Time | 9 Check Move Complete Status |
2 Load Velocity | 6 Set Operation Mode | 10 Read per Axis Status |
3 Load Acceleration/Deceleration | 7 Load Target Position | 11 Read per Axis Status |
4 Load Acceleration/Deceleration | 8 Start Motion | 12 Motion Error Handler |