Control a motor without the use of the joystick

How can you control a motor without using a joystick. I need to know for one of my class exercises. What code would I need to use to figure out this problem.

Look at the examples…the ‘Motor Control Example’ uses a simple slider control on the screen.

Many of us here can point you in the right direction to find your answer. The problem is, we need to know what direction you need to go.
What I am asking for is more information on what you need to do with the motor. What do you expect it to do, what inputs can you provide if the joystick is not an option. That is the type of thing we need to know to help you.

I want to be able to control the motors through the inputs on the computer, not the joystick. I want to be able to go onto the driver station and use the inputs and controls on the screen to make the robot move forward and backwards.

Oh, you mean you want to use the computer’s GUI to control the robot?
I think your best option would be to use the Driver Station’s simulation of the PSoC I/O.

While it would be nice to build an application to send whatever info you want to the robot, this is not allowed within the rules of FRC.

I still think you would be better off using a simple example and control it from your computer using the slider by simply selecting the RUN icon. Be sure and use the example project and make sure the IP address for the project is the same as the cRio is formatted for.

You can then control the robot from the motor control.vi’s Front Panel by using the slider.