scope_configure_trigger
Configure oscilloscope trigger mode, source, slope, and level via SCPI command. Set trigger mode (AUTO, NORM, SINGLE, STOP), source (C1-C4, EX, EX5, LINE), slope (POS, NEG, EITHER), and voltage level. Only provided parameters applied.
Instructions
Configure trigger mode, source, slope, and/or level in a single call.
All parameters are optional — only the provided ones are applied. For complex trigger types (pulse width, window, TV, etc.) use scope_write.
If level is provided without source, it is applied to C1. To set the level on a different channel, always pass source together with level.
Args: mode: Trigger mode: AUTO (free-running), NORM (wait for trigger), SINGLE (one capture then stop), STOP (stop acquisition) source: Trigger source: C1, C2, C3, C4, EX, EX5, or LINE slope: Edge slope: POS (rising), NEG (falling), or EITHER level: Trigger threshold in volts
Transport: SCPI
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| source | No | ||
| slope | No | ||
| level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |