Looking at the block diagram for the Load Program to Board (Init_Board_program.vi) VI, then we can see that the program waits on a certain condition (in this case it is the High Speed Capture) and then it will stop the motor (kill the motor). The Stop Motion VI is called in order to stop movement by your motor.
The following tutorial on our website discusses the three different stopping options you have with a motion board. The kill methods generally takes the longest to stop and can cause some motion even after the command is sent. Refer to the following site if you want to read up on each of these methods:
Stopping Modes
http://zone.ni.com/devzone/conceptd.nsf/webmain/567F08C7E3A0CB1E86256802007B99F5?opendocument
Finally, if you want to look at a few oth
er examples and run some other code on your board, then open up the NI Example Finder (go to the Help menu and select Find Examples). Browse for examples by "Directory Structure" and then expand out the Motion folder, which is installed with NI-Motion. For onboard programs, look through the examples in the Onboard folder.
Regards,
Michael
Applications Engineer
National Instruments