Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

2-axis XY Motion Move Based on Free Hand Drawing on XY Graph

This VI uses an event structure and the NI Motion VIs to track the movement of a graph cursor and then write those movements to the motion card. Essentially, the motion card will mimic whatever shape is drawn on the XY graph with a cursor, by the user. This code can be the basis for various applications.


VI is attached in LabVIEW versions 8.6 and 2011


NI Motion Card

NI-Motion Driver


1. Open VI

2. Select Board ID, Axis Assignments, Velocity, and Acceleration

3. Run VI

4. Use Cursor to draw shape

5. Click "Draw Moves"

6. Motion Card will draw the shape and user can see shape drawn on the accompanying XY Graph

Applications Engineer
National Instruments