read_counter
Retrieve the oscilloscope's frequency counter state, including current value, enable, source, mode, and resolution. Set totalize to also read counter statistics.
Instructions
Hardware frequency counter state.
Returns the current value, enable, source, mode (FREQ/PER/TOT) and resolution (digits 3-6). totalize=True additionally reads the counter statistics switch (:COUNter:TOTalize:ENABle?).
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": "read_counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totalize | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |