## Phidget Digital Output.lvlib:DigitalOutputSetDutyCycle.vi

The `DutyCycle` represents the fraction of time the output is on (high).

- A `DutyCycle` of 1.0 translates to a high output, a `DutyCycle` of 0 translates to a low output.
- A `DutyCycle` of 0.5 translates to an output that is high half the time, which results in an average output voltage of (output voltage x 0.5)
- You can use the `DutyCycle` to create a dimming effect on LEDs.

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

| Duty Cycle The duty cycle value Units: duty cycle (duty cycle) 1011_0 (ver: 100, 101, 102, 103) Digital Output: Min: 0 Max: 1Val: 0 1012_0 (ver: 600) Digital Output: Min: 0 Max: 1Val: 0 1012_0 (ver: 601) Digital Output: Min: 0 Max: 1Val: 0 1012_0 (ver: 602, 603, 604) Digital Output: Min: 0 Max: 1Val: 0 1012_1 (ver: 605) Digital Output: Min: 0 Max: 1Val: 0 1012_2 (ver: 605) Digital Output: Min: 0 Max: 1Val: 0 1013_0 (ver: 800, 811, 820) Digital Output: Min: 0 Max: 1Val: 0 1013_0 (ver: 821, 823) Digital Output: Min: 0 Max: 1Val: 0 1018_0 (ver: 824, 825, 826) Digital Output: Min: 0 Max: 1Val: 0 1018_1 (ver: 826) Digital Output: Min: 0 Max: 1Val: 0 1019_0 (ver: 826) Digital Output: Min: 0 Max: 1Val: 0 1070_0 (ver: 826) Digital Output: Min: 0 Max: 1Val: 0 1014_0 (ver: 700) Power Relay: Min: 0 Max: 1Val: 0 1014_0 (ver: 704, 705, 706) Power Relay: Min: 0 Max: 1Val: 0 1014_1 (ver: 707) Power Relay: Min: 0 Max: 1Val: 0 1014_2 (ver: 707) Power Relay: Min: 0 Max: 1Val: 0 1017_0 (ver: 100) Signal Relay: Min: 0 Max: 1Val: 0 1017_1 (ver: 100) Signal Relay: Min: 0 Max: 1Val: 0 1010_0 (ver: 903, 904) Digital Output: Min: 0 Max: 1Val: 0 1018_2 (ver: 900, 901, 902, 903, 904) Digital Output: Min: 0 Max: 1Val: 0 1019_1 (ver: 903, 904) Digital Output: Min: 0 Max: 1Val: 0 1072_0 (ver: 903) Digital Output: Min: 0 Max: 1Val: 0 1073_0 (ver: 904) Digital Output: Min: 0 Max: 1Val: 0 1023_0 (ver: 200) Digital Output: Min: 0 Max: 1Val: 0 1023_0 (ver: 200) LED Driver: Min: 0 Max: 1Val: 0 1023_0 (ver: 200) Onboard LED: Min: 0 Max: 1Val: 0 1023_0 (ver: 201, 202, 203, 204) Digital Output: Min: 0 Max: 1Val: 0 1023_1 (ver: 205, 206) Digital Output: Min: 0 Max: 1Val: 0 1023_0 (ver: 201, 202, 203, 204) LED Driver: Min: 0 Max: 1Val: 0 1023_1 (ver: 205, 206) LED Driver: Min: 0 Max: 1Val: 0 1023_0 (ver: 201, 202, 203, 204) Onboard LED: Min: 0 Max: 1Val: 0 1023_1 (ver: 205, 206) Onboard LED: Min: 0 Max: 1Val: 0 1024_0 (ver: 100, 101, 103) Digital Output: Min: 0 Max: 1Val: 0 1024_0 (ver: 100, 101, 103) LED Driver: Min: 0 Max: 1Val: 0 1024_0 (ver: 100, 101, 103) Onboard LED: Min: 0 Max: 1Val: 0 1030_0 (ver: 100, 101, 200, 201, 202) LED Driver: Min: 0 Max: 1Val: 0 1031_0 (ver: 100, 101) LED Driver: Min: 0 Max: 1Val: 0 1032_0 (ver: 200, 201) LED Driver: Min: 0 Max: 1Val: 0 1202_0 (ver: 100) Digital Output: Min: 0 Max: 1Val: 0 1203_0 (ver: 100) Digital Output: Min: 0 Max: 1Val: 0 1202_0 (ver: 120, 121) Digital Output: Min: 0 Max: 1Val: 0 1202_1 (ver: 123, 124) Digital Output: Min: 0 Max: 1Val: 0 1203_0 (ver: 120, 121) Digital Output: Min: 0 Max: 1Val: 0 1203_1 (ver: 123, 124) Digital Output: Min: 0 Max: 1Val: 0 1202_2 (ver: 200, 201, 202, 203, 204) Digital Output: Min: 0 Max: 1Val: 0 1203_2 (ver: 200, 201, 202, 203, 204) Digital Output: Min: 0 Max: 1Val: 0 1219_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1Val: 0 1220_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1Val: 0 1221_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1Val: 0 1222_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1Val: 0 HUB0000_0 (ver: 117, 118, 119) Digital Output: Min: 0 Max: 1Val: 0 HUB0000_0 (ver: 121) Digital Output: Min: 0 Max: 1Val: 0 HUB5000_0 (ver: 102) Digital Output: Min: 0 Max: 1Val: 0 SBC3003_0 (ver: 101, 102) Digital Output: Min: 0 Max: 1Val: 0 SBC3003_0 (ver: 108) Digital Output: Min: 0 Max: 1Val: 0 OUT1100_0 (ver: 100) Digital Output: Min: 0 Max: 1Val: 0 OUT1100_0 (ver: 110) Digital Output: Min: 0 Max: 1Val: 0 LED1000_0 (ver: 104) LED Driver: Min: 0 Max: 1Val: 0 REL1000_0 (ver: 101) Power Relay: Min: 0 Max: 1Val: 0 REL1000_0 (ver: 110) Power Relay: Min: 0 Max: 1Val: 0 REL1100_0 (ver: 100) Digital Output Isolated: Min: 0 Max: 1Val: 0 REL1100_0 (ver: 110) Digital Output Isolated: Min: 0 Max: 1Val: 0 REL1101_0 (ver: 102) Digital Output Isolated: Min: 0 Max: 1Val: 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.