Go to Post Look for metal shavings in a pwm port; that's caused us to crash plenty of times. - Gary Dillard [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 30-01-2009, 23:33
ffej ffej is offline
Registered User
None #2357
 
Join Date: Jan 2009
Location: Raymore MO
Posts: 7
ffej is an unknown quantity at this point
Adding non drive motors in Advanced Framwork

I'm a fairly experienced programmer but i'm having trouble creating areference for a non drive
motor in Adv. Frmwork. Labview, If it helps we'll be
using joysticks to turn it on and off, and forward and back.

Any help would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2009, 23:38
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: Adding non drive motors in Advanced Framwork

if you only want to use said motors in teleop you can initiate/run/close them the same as the joystick thats in the advanced framework. I think you can also open it in auton mode as long as you close it there as well.
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2009, 23:45
ffej ffej is offline
Registered User
None #2357
 
Join Date: Jan 2009
Location: Raymore MO
Posts: 7
ffej is an unknown quantity at this point
Re: Adding non drive motors in Advanced Framwork

i tried that but it didn't work, i'm not with the program right now or i would show you how i did it
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2009, 23:49
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: Adding non drive motors in Advanced Framwork

where exactly are the motors being used? autonomous, teleoperated or both?
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2009, 23:51
ffej ffej is offline
Registered User
None #2357
 
Join Date: Jan 2009
Location: Raymore MO
Posts: 7
ffej is an unknown quantity at this point
Re: Adding non drive motors in Advanced Framwork

they will be used in both
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2009, 00:02
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: Adding non drive motors in Advanced Framwork

mmm... hmm...

have you tried opening and running the motor in just the teleop or in just the autonomous iterative? both have initiation cases that should work. i don't have a robot here but i have labview so i can check code but not movement =/
take a look at the picture below. could you put the motor control in there?
Attached Thumbnails
Click image for larger version

Name:	motor in both.jpg
Views:	55
Size:	120.8 KB
ID:	7273  
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2009, 00:06
ffej ffej is offline
Registered User
None #2357
 
Join Date: Jan 2009
Location: Raymore MO
Posts: 7
ffej is an unknown quantity at this point
Re: Adding non drive motors in Advanced Framwork

Ok, so i should open the motors in the init. part of the loop, set speed, the middle state, then close in stop.

how do i wire them together?
Reply With Quote
  #8   Spotlight this post!  
Unread 31-01-2009, 00:27
Burmeister #279's Avatar
Burmeister #279 Burmeister #279 is offline
What Time Is It?
AKA: Nick Burmeister
FRC #0279 (TechFusion)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Toledo
Posts: 207
Burmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of lightBurmeister #279 is a glorious beacon of light
Send a message via AIM to Burmeister #279
Re: Adding non drive motors in Advanced Framwork

picture =) it'll work the same with teleop.

the feedback node will appear automatically when you connect the wire from right to left
Attached Thumbnails
Click image for larger version

Name:	p1.jpg
Views:	47
Size:	73.7 KB
ID:	7274  
__________________
WHAT TIME IS IT? TWO SEVEN NINE!!! [Team B =) ] Awards: 4 Safety, 2 Ind. Design, 2 Xerox, 1 Nat. Champs
2009 Buckeye Semi-Finalists (1014 & 695) || 2008 GLR Safety Award || 2006 GLR Safety Award
2005 Buckeye Regional Champs (67 & 274) & GM Industrial Design Award & Safety Award GLR Quarter Finalist & Xerox Creativity Award & Safety Award National Xerox Creativity Award & Curie Quarter Finalist (1126 & 180)
2004 Buckeye Delphi Driving Tomorrows Technology Award & Quarter Finalist GLR Champs Nationals Curie Division Finalist
2003 GLR GM Industrial Design Award || 2001 National Newton Division Winner & National Champions
2000 MI DaimlerChrysler Team Spirit Award
Reply With Quote
  #9   Spotlight this post!  
Unread 31-01-2009, 00:33
ffej ffej is offline
Registered User
None #2357
 
Join Date: Jan 2009
Location: Raymore MO
Posts: 7
ffej is an unknown quantity at this point
Re: Adding non drive motors in Advanced Framwork

Thanks!

i'll try this tomorrow and post the results

(i think i was making it to be to complicated)
Reply With Quote
  #10   Spotlight this post!  
Unread 31-01-2009, 05:26
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Adding non drive motors in Advanced Framwork

Have you looked at Tip Jar #9 and 10.
http://www.lvmastery.com/tipjar
They show adding servos and gyros to the typedef and propagating them basically to all modes of operation. The motors are probably the same difference. I need to do the same thing this weekend and am going to try to use Ben's example.
Reply With Quote
  #11   Spotlight this post!  
Unread 31-01-2009, 11:10
ffej ffej is offline
Registered User
None #2357
 
Join Date: Jan 2009
Location: Raymore MO
Posts: 7
ffej is an unknown quantity at this point
Re: Adding non drive motors in Advanced Framwork

it doesn't seem to work right, the motor pulses as it is bieing turned on and off
Reply With Quote
  #12   Spotlight this post!  
Unread 01-02-2009, 20:12
ffej ffej is offline
Registered User
None #2357
 
Join Date: Jan 2009
Location: Raymore MO
Posts: 7
ffej is an unknown quantity at this point
Re: Adding non drive motors in Advanced Framwork

For some reason in the code the victor is being opened, set a speed, and then closes in like half a second, any ideas why
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
Tank Drive with Advanced Framework in Labview finman NI LabVIEW 4 30-01-2009 13:35
using non-vex motors MarkH Motors 3 23-04-2006 21:04
2 drive motors VS 4 drive motors Conor Ryan Motors 9 19-01-2005 22:35
adding motors an ok, or not? JamizzleHavok13 Motors 1 10-01-2005 23:02
Four Wheel, all steering, non-omniwheel, ONE power/motor source drive FizMan Technical Discussion 31 27-04-2004 12:12


All times are GMT -5. The time now is 21:12.

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