View Full Version : How to set the deadband in motor vi
RickErmer
16-02-2009, 11:57
How do you set the deadband in motor vi? I would actually like to set a non-symmetric deadband, but can't figure out how to set one at all.
Thanks,
Rick
Team 73
Greg McKaskle
16-02-2009, 20:07
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
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.