mhs5200_set_duty_cycle
Set the duty cycle for a selected channel on an MHS-5200A signal generator, primarily for square waves. Specify channel and percentage from 0.0 to 99.9 to adjust output.
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 |