configure_histogram
Configure histogram type, source, height, and time/voltage bounds on a RIGOL oscilloscope. Reset statistics in the same call to restart collection.
Instructions
Configure the waveform histogram. Omitted items are left unchanged.
The histogram is a statistics display the instrument computes from the trace it is already acquiring: the acquisition is untouched and no output is driven. Read the statistics with get_histogram_result.
type is horizontal (a histogram over time) or vertical (over voltage). source is an analog channel "CH1"-"CH4". height is the display height in divisions (1-4).
left_s and right_s bound the histogram window in seconds, bottom_v and top_v in volts. left_s must be smaller than right_s, and bottom_v smaller than top_v. That is checked host-side only when both bounds of a pair are given in the same call; moving one bound alone past the current opposite bound is rejected by the instrument as an error, and the remedy is to send both bounds of the pair in one call.
reset=true restarts the statistics. It is sent after the settings, so a single call can change the source and start collecting again.
Specify at least one item to change. The device may snap values, so trust applied (the read-back value), not requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| reset | No | ||
| top_v | No | ||
| height | No | ||
| left_s | No | ||
| source | No | ||
| enabled | No | ||
| right_s | No | ||
| bottom_v | No |