View Single Post
  #2   Spotlight this post!  
Unread 16-02-2009, 20:07
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,751
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 set the deadband in motor vi

If you are talking about setting the motor controller's deadband, it can probably be done, but I'm not familiar with it. You can get the same effect by putting a deadband inline before the call to the motor. The deadband implementation will be some comparisons that select zero or the number depending on a comparison. The real LV control toolkit ships a deadband VI, but I couldn't find it when doing the servo stuff, so I wrote my own. If you need it much, you may want to write your own as a subVI. That way you can send in one limit, two limits, etc.

Greg McKaskle
Reply With Quote