scope_setup_measurements
Set up the measurement panel (P1–P6) on a LeCroy oscilloscope for a selected channel by specifying up to six parameters (e.g., PKPK, FREQ, RMS). Ensures measurement parameters are active in the display for accurate readings.
Instructions
Configure the scope's measurement panel (P1–P6) for a channel.
PAVA measurements only return valid values for parameters that are active in one of the six display slots. Call this once after connecting to a channel with a new signal. The scope_measure and scope_measure_all tools will also auto-configure if they detect an invalid result, but calling this explicitly sets up the display panel for that channel.
Args: channel: Channel number 1–4 params: List of up to 6 parameter names to show in the panel. Defaults to ['PKPK', 'FREQ', 'MEAN', 'RMS', 'RISE', 'DUTY']. Valid names: MEAN MAX MIN PKPK FREQ PERIOD RMS RISE FALL WIDTH DUTY BASE TOP AMPL OVSP UNDSP PHASE DELAY AREA
Transport: SCPI (PACU)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |