## Phidget DC Motor.lvlib:DCMotorSetTargetBrakingStrength.vi

This setting allows you to choose how hard the motor will resist being turned when it is not being driven forward or reverse (`Velocity` = 0). The `TargetBrakingStrength` sets the relative amount of electrical braking to be applied to the DC motor, with `MinBrakingStrength` corresponding to no braking (free-wheeling), and `MaxBrakingStrength` indicating full braking.

- A low `TargetBrakingStrength` value corresponds to free-wheeling. This means:
  - The motor will continue to rotate after the controller is no longer driving the motor (`Velocity` = 0), due to its momentum.
  - The motor shaft will provide little resistance to being turned when it is stopped.
- As `TargetBrakingStrength` increases, this will engage electrical braking of the DC motor. This means:
  - The motor will stop more quickly if it is in motion when braking is requested.
  - The motor shaft will resist rotation by oustide forces.
- Braking will be added gradually, according to the `Acceleration` setting, once the motor controller's `Velocity` reaches 0.0
- Braking will be immediately stopped when a new (non-zero) `TargetVelocity` is set, and the motor will accelerate to the requested velocity.
- Braking mode is enabled by setting the `Velocity` to 0.0

| 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.

| Target Braking Strength The braking strength value 1060_0 (ver: 100, 110) DC Motor Controller: Val: 0 1064_0 (ver: 100, 101, 102) DC Motor Controller: Val: 0 1064_1 (ver: 102) DC Motor Controller: Val: 0 1065_0 (ver: 100, 101) DC Motor Controller: Def: 0 1065_1 (ver: 100, 101) DC Motor Controller: Def: 0 DCC1000_0 (ver: 115) DC Motor Controller: Val: 0 DCC1000_0 (ver: 204, 205, 206) DC Motor Controller: Val: 0 DCC1000_0 (ver: 210, 211, 220) DC Motor Controller: Val: 0 DCC1001_0 (ver: 114, 116, 117) DC Motor Controller: Def: 0 DCC1001_0 (ver: 120, 130) DC Motor Controller: Def: 0 DCC1002_0 (ver: 100, 101, 102) DC Motor Controller: Def: 0 DCC1002_0 (ver: 111, 120) DC Motor Controller: Def: 0 DCC1003_0 (ver: 100, 101, 102) DC Motor Controller: Def: 0 DCC1003_0 (ver: 110, 120) DC Motor Controller: Def: 0

| 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.