mhs5200_set_duty_cycle
Set the duty cycle percentage for a specified channel to adjust the square wave output on an MHS-5200A signal generator.
Instructions
Set the duty cycle for a channel (primarily affects square waves).
Args: params: Duty cycle parameters containing: - channel (1 or 2): Target channel - duty_percent (float): Duty cycle (0.0 to 99.9 %)
Returns: JSON confirming the new duty cycle setting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |