Go to Post There was a manual? - Taylor [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2010, 19:43
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
is there a way to invert a motor live?

is there a way? i want to invert a motor in a four wheel drive
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2010, 20:09
jmanela's Avatar
jmanela jmanela is offline
+1 is BIGGER than -1
AKA: Joshua Manela
FRC #2586 (Fondy Fire)
Team Role: College Student
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Michigan
Posts: 314
jmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to behold
Re: is there a way to invert a motor live?

you could hook up a multiply the value of the motor by 1, or -1 using a select statement (or case structure) that is decided by a control on the front panel, and button on a physical controller, or even using the simulated io's on the dashboard.
__________________
||2009|| Entrepeneurship Award, QF - Traverse City | Rookie All Star, QF - Detroit | Highest Rookie Seed, Rookie All Star, QF - Michigan State Championship | Finalist - MARC ||2010|| Engineering Inspiration, Website Award, SF- Kettering | Judges Award, Website Award, SF - Detroit | Website Award, Winner, Michigan State Champ //Thank you 469 and 1918!! | Finalist - MARC ||2011|| Engineering Inspiration, Website - Kettering | Entrepreneurship, Website, Finalist - Waterford | Website - MSC
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2010, 20:25
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: is there a way to invert a motor live?

the thing is im using a 4 wheel drive theres no way to multiply or such
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2010, 20:49
Pausert Pausert is offline
Registered User
FRC #1727 (REX)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Maryland
Posts: 69
Pausert is an unknown quantity at this point
Re: is there a way to invert a motor live?

If you mean simply invert a motor direction permanently, you can do that at the Open 4 Motor VI. Simply change the boolean constant of the motor in question.

If you mean change it while running the code in real time, you can do that too. What you need to do is replace the boolean constant on Open 4 Motor VI with a boolean indicator and then toggle the boolean indicator on the front panel.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2010, 20:55
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: is there a way to invert a motor live?

The motor open command only occurs once. You cannot change the boolean real time as the motor open should be in the begin VI that is only run once.

One way to do it is to run your joystick wire through a true-false case statement and multiply it by -1 (or use the negate icon in the math menu) when you push a button.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a Way To refrence a true false statement Must Be Drama NI LabVIEW 15 02-02-2010 01:08
Invert camera image? mcb NI LabVIEW 2 21-02-2009 13:23
Is there a way to display Cmaer Live footage? Tottanka FRC Control System 0 12-12-2008 11:21
Is there a way to read your Team Colour during autonomous mode? Firestorm Programming 2 19-02-2005 18:57
Way back there. Size of Nationals, and a solution archiver 2001 23 24-06-2002 03:28


All times are GMT -5. The time now is 22:34.

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