Look through
this page for pictures of the Jagaur, Talon, and Victor Motor controllers. These are the devices you wire your motor up to. They are what the cRIO communicates with to control the speed and direction of the motor.
You will have to decide which component you are using. All three are capable of driving motors. Depending on what you choose, you will need to use the corresponding class that I linked above.