configure_sweep
Configure frequency sweep on a channel, setting start/stop frequencies, sweep time, mode, direction, and trigger options. Enable by setting state to ON.
Instructions
Configure sweep on a channel. State must be set to ON before other parameters. Builds a single SWWV command with all specified parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| span | No | Frequency span in Hz | |
| stop | No | Stop frequency in Hz | |
| time | No | Sweep time in seconds | |
| start | No | Start frequency in Hz | |
| state | No | Sweep state. Must be ON before setting other params. | |
| center | No | Center frequency in Hz | |
| channel | Yes | Channel to configure | |
| symmetry | No | Symmetry in % (0-100) when direction is UP_DOWN | |
| direction | No | Sweep direction | |
| sweep_mode | No | Sweep mode: LINE (linear), LOG (logarithmic), or STEP | |
| return_time | No | Return time in seconds (0-300) | |
| trigger_out | No | Trigger output state | |
| marker_state | No | Frequency marker state | |
| trigger_edge | No | Trigger edge (only for EXT or MAN trigger source) | |
| carrier_phase | No | Carrier phase in degrees (0-360) | |
| end_hold_time | No | End hold time in seconds (0-300) | |
| carrier_offset | No | Carrier DC offset in volts | |
| manual_trigger | No | Send a manual trigger (only when trigger source is MAN) | |
| trigger_source | No | Trigger source: EXT (external), INT (internal), MAN (manual) | |
| start_hold_time | No | Start hold time in seconds (0-300) | |
| carrier_waveform | No | Carrier waveform type | |
| marker_frequency | No | Marker frequency in Hz | |
| carrier_amplitude | No | Carrier amplitude in Vpp | |
| carrier_frequency | No | Carrier frequency in Hz |