scope_configure_channel
Configure vertical scale, offset, coupling, bandwidth limit, invert, trace, and unit for a LeCroy oscilloscope channel using a single SCPI command. Specify only the settings you need to adjust.
Instructions
Configure one or more settings for a channel in a single call.
All parameters except channel are optional — only the provided ones are applied.
Probe attenuation (ATTN) is set automatically from the LECROY_PROBE_Cn environment variable at connect time and cannot be changed here — it reflects the physical probe and is the engineer's responsibility.
Args: channel: Channel number 1–4 vdiv: Vertical scale in V/div, e.g. 0.1 = 100 mV/div, 1.0 = 1 V/div offset: Vertical offset in volts (positive shifts trace down) coupling: D1M (DC 1MΩ), D50 (DC 50Ω), A1M (AC 1MΩ), or GND bwlimit: Bandwidth limit: OFF (full BW), 20MHZ, 200MHZ. High-BW models also support 500MHZ, 1GHZ, etc. Use scope_capabilities to see valid values for the connected scope. invert: True to invert the signal polarity, False for normal trace: True to show the channel trace, False to hide it unit: Vertical unit: V (volts), A (amperes), W (watts), U (user)
Transport: SCPI
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ||
| vdiv | No | ||
| offset | No | ||
| coupling | No | ||
| bwlimit | No | ||
| invert | No | ||
| trace | No | ||
| unit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |