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
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