Go to Post FIRST is all about helping eachother and team work, isn't it? - vadyr [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 20-02-2011, 19:36
dwmcc dwmcc is offline
Registered User
FRC #2192 (YAK Attack)
Team Role: Leadership
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Newport, Oregon
Posts: 14
dwmcc is an unknown quantity at this point
Victor + CIM Motor = Jumpy when Negative (Reversed)

Hello All,

Thanks in advance for any and all help on this issue.

We're using Labview with all updates installed, and our robot drives perfectly.
We have a Victor hooked up to PWM 3, and then to a CIM motor. In Labview, we have two True/False bracket that are separately hooked up to two different buttons from the Joystick. If Button 4 is true, it sets the Victor speed to 60. If it is false, it sets the speed to 0. In the other T/F bracket, it sees if Button 5 is true, and sets the Victor speed to -60. If it is false, it sets the speed to 0. The thinking is that if you press one button, the motor goes forward, and if you press the other, the motor goes backward. If no buttons are pressed, the motor is idle/stopped/set to 0.

Here's where it gets weird: If you press button 4, the CIM motor spins forward perfectly. If you press button 5, the CIM motor does not spin backward, and sometimes jumps backward (in reverse) in small increments. What the heck? The code should tell it to go in reverse just the same as it should have gone forward.

Now, we only have one T/F bracket, and we put, say button 4 (if true) to -60, and if false to 0, the motor spins in reverse perfectly.

The two T/F brackets are not connected, and shouldn't be influencing each other, right?

Any suggestions? We're stumped and haven't found any other problems like this on cheif delphi.

Thanks,
dwmcc
Team 2192 Programmer/Web Design/Electrician
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:18.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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