Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Control a motor without the use of the joystick (http://www.chiefdelphi.com/forums/showthread.php?t=87528)

Team 3270 15-11-2010 15:05

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.

Jon236 15-11-2010 15:10

Re: Control a motor without the use of the joystick
 
Look at the examples...the 'Motor Control Example' uses a simple slider control on the screen.

billbo911 15-11-2010 16:10

Re: Control a motor without the use of the joystick
 
Quote:

Originally Posted by Team 3270 (Post 980906)
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.

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.

Team 3270 16-11-2010 14:15

Re: Control a motor without the use of the joystick
 
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.

kamocat 16-11-2010 20:04

Re: Control a motor without the use of the joystick
 
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.

Jon236 16-11-2010 20:25

Re: Control a motor without the use of the joystick
 
Quote:

Originally Posted by Team 3270 (Post 980906)
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.


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.


All times are GMT -5. The time now is 10:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi