View Single Post
  #11   Spotlight this post!  
Unread 20-01-2012, 03:18
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: Programming Logitech Extreme 3D Pro

Quote:
Originally Posted by Alan Anderson View Post
There is a function in LabVIEW called "In Range and Coerce". You can use the value of the throttle knob as the "maximum" input of the function, and use its negation as the "minimum" input if you want. The coerced output will follow the function's input, but will be limited to always be no lower than the minimum and no higher than the maximum.
This will work, but well make a hard limit. The other solution post a few times makes a soft limit, applying the limit linearly across the whole a axis. There are reasons to use either. Your drivers may have an opinion on which way you pick.
__________________
Mike B
Reply With Quote