NI Flexmotion comes with several LabVIEW examples. The can be found in C:\Program Files\National Instruments\LabVIEW 6\examples\Motion\FlexMotion\ There are several libraries of example code there, but the most basic ones are in the One Axis.llb library.
Code for stepper and servo motors are usually exactly the same. You just need to make sure you configure your steppers correctly in the Measurement & Automation Explorer (MAX). Once they are configured and running in there, running the example code should be a stap; just set the board and axis numbers, and your target position.