set_channel
Configure an oscilloscope channel's vertical settings: enable, scale, offset, and coupling. Adjust only desired parameters to fit a signal on screen for measurement.
Instructions
Set a channel's vertical configuration (enable, V/div, offset, coupling).
Only the arguments you pass are changed; omit any to leave it as-is. Use this to fit a signal on screen before measuring or capturing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Vertical scale in volts per division (e.g. 0.5 = 500 mV/div). None leaves it unchanged. | |
| offset | No | Vertical offset in volts, shifting the trace up (+) or down (-). None leaves it unchanged. | |
| channel | Yes | Analog channel to configure, 1-based (1–4). | |
| enabled | No | Turn the channel's display/acquisition on (True) or off (False). None leaves it unchanged. | |
| coupling | No | Input coupling: 'DC', 'AC', or 'GND'. None leaves it unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||