Set Duty Cycle VI
- Updated2023-02-21
- 2 minute(s) read
Set Duty Cycle VI
Owning Palette: PWM VIs
Requires: myRIO Toolkit, roboRIO Toolkit, or NI ELVIS RIO Control Toolkit
Sets the duty cycle value of a pulse width modulation (PWM) signal.
![]() |
PWM Ref In specifies the reference to the PWM channel. Use the Open VI to open a reference to the PWM channel. Do not modify the PWM Ref In values. |
![]() |
Duty Cycle specifies the percentage of time the PWM signal remains high over one PWM cycle. Valid values must be within the range [0, 1]. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
PWM Ref Out returns the reference to the PWM channel that you specify. |
![]() |
error out contains error information. This output provides standard error out functionality. |