arb_set_duty_cycle
Set the duty cycle percentage for square or pulse waveforms on a specified channel to control pulse width on the waveform generator.
Instructions
Set the duty cycle (%) for square/pulse waveforms on the waveform generator.
Args: channel: Channel number (1 or 2). duty: Duty cycle percentage.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel": "<channel>",
"duty": "<duty>"
},
"name": "arb_set_duty_cycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duty | Yes | ||
| channel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |