start_sweep
Start or restart a spectrum analyzer sweep; in single mode, wait for completion or use wait_for_sweep_complete when running without waiting.
Instructions
Start (:INITiate:IMMediate) or restart (:INITiate:RESTart) a sweep. In single mode, wait=true (default) blocks until the sweep is complete; with wait=false call wait_for_sweep_complete next, because over the raw transport the instrument ignores every command while it sweeps (VXI-11 queues them). In continuous mode the sweep is restarted and not awaited. There is no stop/pause/resume: the instrument rejects :INITiate:STOP/PAUSe/RESume.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "start_sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for completion in single mode (default true) | |
| method | No | immediate (default) or restart | |
| timeout_s | No | Give up after this many seconds (default: sweep time + 10 s) | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured |