Go to Post While searching is not as glamorous, I'm certain you could find a lot of good resources related to this topic. - Katie_UPS [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 09-02-2013, 11:37
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
how to program shooter on LabVIEW

hiii
can someone help me with our shooter programming.our robot consist 2 CIM motor connected to the pneumatic tires and we are using jaguar.i tried programming it but it didnt work.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2013, 11:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: how to program shooter on LabVIEW

Please give more details about what you have tried, possibly even putting up the code or a picture of the code. That will allow others to help you improve rather than telling you how they would do it.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2013, 11:49
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Re: how to program shooter on LabVIEW

here it is
Attached Files
File Type: doc motor.doc (317.5 KB, 50 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2013, 12:49
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: how to program shooter on LabVIEW

That will only initialize your drivetrain, not your shooter. To initialize your shooter, do something like you see in the attached picture.

Then, to make the motor run, you need to configure something in your Teleop.vi. How you come up with a value is up to you, but it should be from -1 to 1 and should be fed into a Set Output vi. (I've attached a screenshot.)
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	48
Size:	3.2 KB
ID:	13876  Click image for larger version

Name:	Capture1.PNG
Views:	46
Size:	2.6 KB
ID:	13877  
Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2013, 12:57
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: how to program shooter on LabVIEW

If you really do want both of the shooter motors to run as a single unit, you can use a "2 motor Drive" for them. But when you save the RefNum, you should give it a name that describes what it is. The "Left and Right Motors" RefNum name is already being used to set the actual drive motors. Make it "Shooter Motors" instead.

But I would open them as two separate motors instead of a "Drive" pair. If I wanted them to always run at the same speed, I would actually open them as a single motor and use a PWM Y cable to send one control signal to two speed controllers at the same time.
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


All times are GMT -5. The time now is 04:30.

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