View Single Post
  #5   Spotlight this post!  
Unread 30-01-2009, 14:58
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(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: Labview servo motor PWM correlation to set VI

Quote:
Originally Posted by ebmonon36 View Post
0=127 - One end of the rotation
1=255 - The other end of rotation.
Any number in between 0 and 1 would be a position between the stops on the servo. 0.5 would be half way.
This is incorrect. Please bother to actually to do some research on a question before you answer it.

The correct answer is that a 0 to 1 range on the input of a Servo:SetPosition.vi corresponds to an 11 to 253 range of actual PWM values. So in your parlance:
0.0 = 11 One end of rotation
1.0 = 253 The other end of rotation

You can discover this by simply opening up some of the associated VIs. You may even learn something in the process.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote