Phidget RC Servo.lvlib:RCServoSetTargetPosition.vi

If the RC servo motor is configured and TargetPosition is set, the controller will continuously try to reach targeted position.

Position and Pulse Width

Adjusting the Servo's Limits

  • To tune your program to a specific servo:
    1. First adjust the servo's range of motion by setting the MaxPulseWidth and MinPulseWidth. You can use the default values for these (or the ones on your servo's datasheet) as a starting point.
    2. Send the servo to MaxPosition and MinPosition to check the results. Repeat steps 1 and 2 as nessesarry.
    3. Set the MaxPosition and MinPosition to match whatever numbers you find best suited to your application.
    4. Phidget RC Servo.lvlib:RCServoSetTargetPosition.vi

      cu64

      Device In

      Device # Identification

      cerrcodeclst

      error in (no error)

      error in can accept error information wired from VIs previously called.

      cdbl

      Target Position

      The position value

      1000_0 (ver: 200, 201) RC Servo Motor Controller:

      1000_0 (ver: 300, 312) RC Servo Motor Controller:

      1000_0 (ver: 313) RC Servo Motor Controller:

      1001_0 (ver: 200, 201) RC Servo Motor Controller:

      1001_0 (ver: 300, 302, 312) RC Servo Motor Controller:

      1001_0 (ver: 313) RC Servo Motor Controller:

      1061_0 (ver: 100) RC Servo Motor Controller:

      1061_0 (ver: 200) RC Servo Motor Controller:

      1061_1 (ver: 300, 301, 302, 303, 304) RC Servo Motor Controller:

      RCC0004_0 (ver: 400) RC Servo Motor Controller:

      1066_0 (ver: 100) RC Servo Motor Controller:

      1066_1 (ver: 100, 101) RC Servo Motor Controller:

      RCC1000_0 (ver: 106) RC Servo Motor Controller:

      RCC1000_0 (ver: 110, 111, 120) RC Servo Motor Controller:

      iu64

      Device Out

      Same as Device In

      ierrcodeclst

      error out

      error out passes error or warning information out of a VI to be used by other VIs.