View Single Post
  #5   Spotlight this post!  
Unread 21-08-2008, 20:53
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Variable rollover with Labview (suggestions?)

Quote:
Originally Posted by kamocat View Post
That's the trouble. I want it to roll in both directions. Say I'm working with degrees, so I have the rollover set to 360. I need it to reset back to zero when it turns past 359, but I also need it to go to 359 when it goes past zero if it's turning the other direction.


I'll consider that, and see what I can do without too much hinderance to modification.
It sounds like you might be looking for the "modulus" operator. I'm not a LabView expert, but I did find this in my googling - http://forums.lavag.org/Computing-mo...w-7-t8550.html
Reply With Quote