single_sweep
Switches the spectrum analyzer to single-sweep mode, runs exactly one sweep, and waits for completion so the trace is final and readable. Use continuous acquisition to resume normal sweeping.
Instructions
Switch to single sweep mode, run exactly one sweep and wait until it is complete, so the trace is final and can be read. Leaves the instrument in single mode; use set_acquisition continuous=true to resume normal sweeping.
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": "single_sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |