View Single Post
  #3   Spotlight this post!  
Unread 10-03-2010, 08:51
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,658
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: In Range and Coerce?

First, I'd recommend trying the canned Labview holonomic code. It may work better than what you're attempting right now.

However, if you're just trying to decide if the joystick is, say, 50% to the right or 50% to the left, in range and coerce is a bit excessive. You should just be able to use the "greater than" and "less than" comparators from the Boolean palette.

If you're trying to get a series of locations like, say "100%-75% Left", "75%-50% Left", "50%-75% Right", and "75%-100% Right", then a series of in range and coerce functions may be the simplest way to get that done.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote