View Single Post
  #3   Spotlight this post!  
Unread 11-04-2011, 02:42
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Help with CAN/ JAG encoder settings

Quote:
Originally Posted by PhilBot View Post
what value do I send the Drive VI? +/- 1 or RPM?
Drive is a special beast since it is intended to be controlled by a joystick (-1 to 1). You set the Max Output value on the Open Drive (Existing Motors) VI to control what that -1 to 1 gets scaled to.

Quote:
Originally Posted by PhilBot View Post
How does it know what Speed I want? Will it mimic the JAG test app?
In the case of Motor Control Set Output, in speed mode, the units are in RPM... look at the context help for details. You need to configure the number of encoder lines in LabVIEW so it can scale to RPM.

Quote:
Originally Posted by PhilBot View Post
Also, can I use the encoder counts to measure distance if I'm using them to control speed.
Yes... but to do it you need to configure the position reference as well as the speed reference.
Reply With Quote