get_bus_config
Reads back the decoding bus configuration from an MHO98 oscilloscope, including mode, display, label, optional protocol keywords, and threshold voltages.
Instructions
Read back the decoding bus configuration.
Default (no extra arguments): queries :BUS:MODE?, DISPlay? and LABel? only. Any of full=True / protocol= / thresholds= additionally reads FORMat/EVENt/POSition; full=True or protocol= also queries every per-protocol keyword the manual defines for the decoding type (returned under 'protocol_config', keyed by the SCPI keyword, e.g. 'RS232:BAUD'); thresholds= adds per-source threshold voltages.
protocol: explicitly select which protocol keyword set to query; by default the set follows the bus mode reported by the instrument. thresholds: threshold source types to query, e.g. ["TX","RX"] or ["SCL","SDA"] (manual 3.4.9) -> {type: volts string}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus | Yes | ||
| full | No | ||
| protocol | No | ||
| thresholds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |