## Phidget Motor Position Controller.lvlib:MotorPositionControllerGetDutyCycle.vi

The most recent duty cycle value that the controller has reported.

- This value will be between -1 and 1 where a sign change (±) is indicitave of a direction change.
- Note that `DutyCycle` is merely an indication of the average voltage across the motor. At a constant load, an increase in `DutyCycle` indicates an increase in motor speed.
- The units of `DutyCycle` refer to 'duty cycle'. This is because the controller must rapidly switch the power on/off (i.e. change the duty cycle) in order to manipulate the voltage across the motor.

| Device In Device # Identification

| error in (no error) error in can accept error information wired from VIs previously called.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Device Out Same as Device In

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

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Duty Cycle The duty cycle value. Units: duty cycle (duty cycle) DCC1000_0 (ver: 204, 205, 206) Position Controller: DCC1000_0 (ver: 210, 211, 220) Position Controller: DCC1001_0 (ver: 114, 116, 117) Position Controller: DCC1001_0 (ver: 120, 130) Position Controller: DCC1002_0 (ver: 100, 101, 102) Position Controller: DCC1002_0 (ver: 111, 120) Position Controller: DCC1100_0 (ver: 113, 114) Position Controller: DCC1100_0 (ver: 120, 121, 130) Position Controller: