|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
How do you wire a Kick motor in labview?
Hello I am Lead Programmer for Amherst Robotic Team#2632 Comets Unleashed.
I need help for the autonomous mode for labVIEW My plan is to make the program do this [ move forward, stop, kick the ball] Repeat 3 times. working form the outside in: ForLoop1(with loop count set at three), Watchdog open, RobotDriveRegerstryGet(Left and Right Motors) [inside ForLoop1] WhileLoop, ForLoop2(loop count st at 1) [inside WhileLoop] Watchdog Feed, Drive TankDrive(75%MaxSpeed), ElapsedTime(set to 3 Seconds)(connected to loop condition) [inside ForLoop2] Watchdog Feed, Drive TankDrive(0%Max Speed), All the Watchdog's are connected/All the Drive TankDrive's are connected with the Purple Line So that is what I have. My question is now how do I connect the kick motor so it preforms the way I stated above. I have a program thats like this [MotorControlRegisteryGet(labled KickMotor), connected with a purple line to Motor SetSpeed(Constant at 1). Does that need to go there? Also as a side Note I would like to connect a Watchdog Kill at the very End of everything, but It won't let me. It says this after I connect the purple line from the secoon Watchdog Feed to the Watchdog Kill. It connects to the ForLoop2 making a tunnel, then the ForLoop1 making a tunnel. Then there is a broken wire between the ForLoop1 tunnel and the Watchdog Kill. I hovered the mouse over it and it said this: "Array element conflict Thetype of source is 2-D array of typedef 'WatchdogDevRef.ctl' cluster of 1 element The type of the sink is typedef 'WatchdogDevRef.ctl' clustter of 1 element" If you could explain what that is and how I could connect it that would be great. Thanks, any help appreciated. Kyle Lenox |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you wire the ADXL354 Accelerometer? | AustinGra | Sensors | 4 | 11-02-2010 23:33 |
| How do you wire a rotating component? | alleah2338 | Electrical | 7 | 12-02-2009 08:26 |
| How do you wire a limit switch? | JMH | Electrical | 1 | 16-02-2005 17:44 |
| how to wire the new two motor gearbox | Vince lau | Electrical | 10 | 14-02-2005 07:30 |
| How do you wire ADXRS150EB gyro? | MaxM | Electrical | 2 | 16-02-2004 13:43 |