## Phidget Digital Output.lvlib:DigitalOutputSetDutyCycle.vi

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

- A `DigitalOutputDutyCycle` of 1.0 translates to a high output, a `DigitalOutputDutyCycle` of 0 translates to a low output.
- A `DigitalOutputDutyCycle` 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 `DigitalOutputDutyCycle` 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) 1010_0 (ver: 903, 904) Digital Output: Min: 0 Max: 1 Default: 0 1011_0 (ver: 100, 101, 102, 103) Digital Output: Min: 0 Max: 1 Default: 0 1012_0 (ver: 600) Digital Output: Min: 0 Max: 1 Default: 0 1012_0 (ver: 601) Digital Output: Min: 0 Max: 1 Default: 0 1012_0 (ver: 602, 603, 604) Digital Output: Min: 0 Max: 1 Default: 0 1012_1 (ver: 605) Digital Output: Min: 0 Max: 1 Default: 0 1012_2 (ver: 605) Digital Output: Min: 0 Max: 1 Default: 0 1012_3 (ver: 606) Digital Output: Min: 0 Max: 1 Default: 0 1013_0 (ver: 800, 811, 820) Digital Output: Min: 0 Max: 1 Default: 0 1013_0 (ver: 821, 823) Digital Output: Min: 0 Max: 1 Default: 0 1014_0 (ver: 700) Power Relay: Min: 0 Max: 1 Default: 0 1014_0 (ver: 704, 705, 706) Power Relay: Min: 0 Max: 1 Default: 0 1014_1 (ver: 707) Power Relay: Min: 0 Max: 1 Default: 0 1014_2 (ver: 707) Power Relay: Min: 0 Max: 1 Default: 0 1014_2 (ver: 710) Power Relay: Min: 0 Max: 1 Default: 0 1014_3 (ver: 810, 811, 812) Power Relay: Min: 0 Max: 1 Default: 0 1014_3 (ver: 810, 811, 812) Power Relay: Min: 0 Max: 1 Default: 0 1017_0 (ver: 100) Signal Relay: Min: 0 Max: 1 Default: 0 1017_1 (ver: 100) Signal Relay: Min: 0 Max: 1 Default: 0 1017_2 (ver: 210, 211, 212) Signal Relay: Min: 0 Max: 1 Default: 0 1017_2 (ver: 210, 211, 212) Signal Relay: Min: 0 Max: 1 Default: 0 1018_0 (ver: 824, 825, 826) Digital Output: Min: 0 Max: 1 Default: 0 1018_1 (ver: 826) Digital Output: Min: 0 Max: 1 Default: 0 1018_2 (ver: 900, 901, 902, 903, 904) Digital Output: Min: 0 Max: 1 Default: 0 1018_3 (ver: 1000, 1001) Digital Output: Min: 0 Max: 1 Default: 0 1019_0 (ver: 826) Digital Output: Min: 0 Max: 1 Default: 0 1019_1 (ver: 903, 904) Digital Output: Min: 0 Max: 1 Default: 0 1023_0 (ver: 200) Digital Output: Min: 0 Max: 1 Default: 0 1023_0 (ver: 200) LED Driver: Min: 0 Max: 1 Default: 0 1023_0 (ver: 200) Onboard LED: Min: 0 Max: 1 Default: 0 1023_0 (ver: 201, 202, 203, 204) Digital Output: Min: 0 Max: 1 Default: 0 1023_0 (ver: 201, 202, 203, 204) LED Driver: Min: 0 Max: 1 Default: 0 1023_0 (ver: 201, 202, 203, 204) Onboard LED: Min: 0 Max: 1 Default: 0 1023_1 (ver: 205, 206) Digital Output: Min: 0 Max: 1 Default: 0 1023_1 (ver: 205, 206) LED Driver: Min: 0 Max: 1 Default: 0 1023_1 (ver: 205, 206) Onboard LED: Min: 0 Max: 1 Default: 0 1024_0 (ver: 100, 101, 103) Digital Output: Min: 0 Max: 1 Default: 0 1024_0 (ver: 100, 101, 103) LED Driver: Min: 0 Max: 1 Default: 0 1024_0 (ver: 100, 101, 103) Onboard LED: Min: 0 Max: 1 Default: 0 1024_1 (ver: 301) Digital Output: Min: 0 Max: 1 Default: 0 1024_1 (ver: 301) LED Driver: Min: 0 Max: 1 Default: 0 1024_1 (ver: 301) Onboard LED: Min: 0 Max: 1 Default: 0 1024_1 (ver: 301) Digital Output: Min: 0 Max: 1 Default: 0 1024_1 (ver: 301) LED Driver: Min: 0 Max: 1 Default: 0 1024_1 (ver: 301) Onboard LED: Min: 0 Max: 1 Default: 0 1024_1 (ver: 310) Digital Output: Min: 0 Max: 1 Default: 0 1024_1 (ver: 310) LED Driver: Min: 0 Max: 1 Default: 0 1024_1 (ver: 310) Onboard LED: Min: 0 Max: 1 Default: 0 1024_1 (ver: 310) Digital Output: Min: 0 Max: 1 Default: 0 1024_1 (ver: 310) LED Driver: Min: 0 Max: 1 Default: 0 1024_1 (ver: 310) Onboard LED: Min: 0 Max: 1 Default: 0 1024_1 (ver: 320) Digital Output: Min: 0 Max: 1 Default: 0 1024_1 (ver: 320) LED Driver: Min: 0 Max: 1 Default: 0 1024_1 (ver: 320) Onboard LED: Min: 0 Max: 1 Default: 0 1024_1 (ver: 320) Digital Output: Min: 0 Max: 1 Default: 0 1024_1 (ver: 320) LED Driver: Min: 0 Max: 1 Default: 0 1024_1 (ver: 320) Onboard LED: Min: 0 Max: 1 Default: 0 1030_0 (ver: 100, 101, 200, 201, 202) LED Driver: Min: 0 Max: 1 Default: 0 1031_0 (ver: 100, 101) LED Driver: Min: 0 Max: 1 Default: 0 1032_0 (ver: 200, 201) LED Driver: Min: 0 Max: 1 Default: 0 1070_0 (ver: 826) Digital Output: Min: 0 Max: 1 Default: 0 1072_0 (ver: 903) Digital Output: Min: 0 Max: 1 Default: 0 1073_0 (ver: 904) Digital Output: Min: 0 Max: 1 Default: 0 1202_0 (ver: 100) Digital Output: Min: 0 Max: 1 Default: 0 1202_0 (ver: 120, 121) Digital Output: Min: 0 Max: 1 Default: 0 1202_1 (ver: 123, 124) Digital Output: Min: 0 Max: 1 Default: 0 1202_2 (ver: 200, 201, 202, 203, 204) Digital Output: Min: 0 Max: 1 Default: 0 1203_0 (ver: 100) Digital Output: Min: 0 Max: 1 Default: 0 1203_0 (ver: 120, 121) Digital Output: Min: 0 Max: 1 Default: 0 1203_1 (ver: 123, 124) Digital Output: Min: 0 Max: 1 Default: 0 1203_2 (ver: 200, 201, 202, 203, 204) Digital Output: Min: 0 Max: 1 Default: 0 1219_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1 Default: 0 1220_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1 Default: 0 1221_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1 Default: 0 1222_0 (ver: 110, 111, 113) Digital Output: Min: 0 Max: 1 Default: 0 ADP0001_0 (ver: 200) Digital Output: Min: 0 Max: 1 Default: 0 ADP0001_0 (ver: 200) Digital Output: Min: 0 Max: 1 Default: 0 ADP0002_0 (ver: 100) Digital Output: Min: 0 Max: 1 Default: 0 ADP0002_0 (ver: 100) Digital Output: Min: 0 Max: 1 Default: 0 HUB0000_0 (ver: 117, 118, 119) Digital Output: Min: 0 Max: 1 Default: 0 HUB0000_0 (ver: 121, 125, 126, 127) Digital Output: Min: 0 Max: 1 Default: 0 HUB0000_0 (ver: 307) Digital Output: Min: 0 Max: 1 Default: 0 HUB0000_1 (ver: 400, 401) Digital Output: Min: 0 Max: 1 Default: 0 HUB0001_0 (ver: 111, 113, 114) Digital Output: Min: 0 Max: 1 Default: 0 HUB0001_0 (ver: 115, 116) Digital Output: Min: 0 Max: 1 Default: 0 HUB0002_0 (ver: 100, 101) Digital Output: Min: 0 Max: 1 Default: 0 HUB0007_0 (ver: 101, 102) Digital Output: Min: 0 Max: 1 Default: 0 HUB5000_0 (ver: 100) Digital Output: Min: 0 Max: 1 Default: 0 HUB5000_0 (ver: 102, 104, 105, 106) Digital Output: Min: 0 Max: 1 Default: 0 HUB5000_0 (ver: 107) Digital Output: Min: 0 Max: 1 Default: 0 HUB5000_0 (ver: 203, 204, 205) Digital Output: Min: 0 Max: 1 Default: 0 LED1000_0 (ver: 104, 105) LED Driver: Min: 0 Max: 1 Default: 0 OUT1100_0 (ver: 100) Digital Output: Min: 0 Max: 1 Default: 0 OUT1100_0 (ver: 110) Digital Output: Min: 0 Max: 1 Default: 0 OUT1100_0 (ver: 120, 130) Digital Output: Min: 0 Max: 1 Default: 0 REL1000_0 (ver: 101) Power Relay: Min: 0 Max: 1 Default: 0 REL1000_0 (ver: 110, 120, 121) Power Relay: Min: 0 Max: 1 Default: 0 REL1100_0 (ver: 100) Digital Output Isolated: Min: 0 Max: 1 Default: 0 REL1100_0 (ver: 110) Digital Output Isolated: Min: 0 Max: 1 Default: 0 REL1100_0 (ver: 120, 130) Digital Output Isolated: Min: 0 Max: 1 Default: 0 REL1101_0 (ver: 102) Digital Output Isolated: Min: 0 Max: 1 Default: 0 REL1101_0 (ver: 110, 111, 120) Digital Output Isolated: Min: 0 Max: 1 Default: 0 REL1101_1 (ver: 100, 200, 201, 212, 213) Digital Output Isolated Frequency Control: Min: 0 Max: 1 Default: 0 REL1101_1 (ver: 100, 200, 201, 212, 213) Digital Output Isolated: Min: 0 Max: 1 Default: 0 SBC3003_0 (ver: 101, 102) Digital Output: Min: 0 Max: 1 Default: 0 SBC3003_0 (ver: 108, 109, 110) Digital Output: Min: 0 Max: 1 Default: 0 SBC3003_0 (ver: 203, 204) Digital Output: Min: 0 Max: 1 Default: 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.