Go to Post I'm totally hooked on reffing now and will be volunteering in the future because of [Beach Blitz]. - Ali Ahmed [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 14-01-2011, 22:04
Biolore Biolore is offline
Lead Programmer
AKA: Josh
FRC #3597 (Robo-Rangers)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Kittery, Maine
Posts: 68
Biolore is infamous around these partsBiolore is infamous around these parts
Jaguars

So, my team wants to use jaguars, and I'm not sure what it is that I need to do in the programming to make them work with CAN. I looked at the sample VI, and I'm not sure what to do from there.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2011, 00:33
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Jaguars

I am still learning the framework of FRC, so hopefully I get this right. The default code should allow you to drive when 2 of jaguars are plugged into pwm1 and pwm2. This is controlled via joystick 1. (arcade drive.)

Edit: If you need to use CAN instead of pwm, then replace the open function in the begin.vi. Replace the "Drive Open 2 motor" with the polymorphic version off of the palette. Then you can choose to use the CAN version.
__________________
Mike B

Last edited by SuperS_5 : 15-01-2011 at 00:37.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2011, 13:11
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Jaguars

Make sure to configure and enable the motors if you use them in Speed, Position, or Current mode.
__________________
-- Marshal Horn
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 10:07.

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