Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Random questions from first year programmer (http://www.chiefdelphi.com/forums/showthread.php?t=132627)

GeeTwo 25-01-2015 01:24

Re: Random questions from first year programmer
 
Quote:

Originally Posted by Commando386 (Post 1433588)
To talk about how the motors are backwards I agree how setup might be backwards as it has happened to me but also make sure that the electrical wiring is not backwards. I can't really explain it well as I am Software Lead and not Electrical Lead. If not you could always insert a negative block (It's under Numerical and it has a -x on it) and attacth it to you inputs and it will flip your Y-axis controls (forwards and backwards) and that should fix it software wise. Also a note that in autonomous coding forward is negative and backwards is positive values. I have always run into this situation in the old labview and the new one.

If you do have the motors swapped, it can be fixed in at least three ways as I believe the post above was trying to explain:
  1. Software (swap left and right port numbers or variables in the code)
  2. Controls (swap one end of the PWM cables, either the controller or the RIO)
  3. motors - swap the wiring from motor to controller at one end
  4. Actually, you could physically swap the motors along with the wires, but that would be more work than necessary

Wawa 26-01-2015 19:21

Re: Random questions from first year programmer
 
Thanks guys! I went down the list of possible issues and it turns out the motors weren't connected to the right controllers. I swapped the positions of the PWM cables and it worked perfectly! :D

Thank you all so much!

Wawa 08-02-2015 22:01

Re: Random questions from first year programmer
 
Alright, so programming has run pretty smoothly. I've got everything for teleop set and running perfectly, thanks to all of you wonderful people. :) This will probably be my one of my last questions:

How do I program pneumatics and another motor(for the arm) in autonomous?

I can figure out the driving through all the examples, but I can't find a lot on pneumatics and extra motors.


All times are GMT -5. The time now is 20:14.

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