set_acquisition
Switch a spectrum analyzer between continuous and single sweep modes; in single mode, sweeps occur only when start_sweep or single_sweep is called.
Instructions
Switch between continuous sweep (continuous=true, the instrument's normal state) and single sweep mode (continuous=false, :INITiate:CONTINUOUS OFF). In single mode the instrument sweeps only when start_sweep or single_sweep is used.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"continuous": "<continuous>"
},
"name": "set_acquisition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| continuous | Yes | true = continuous sweep, false = single sweep | |
| instrument | No | Which instrument to use (a name from list_instruments). Default: the `default` instrument, or the only one configured |