set_counter
Configure the Rigol MHO98 hardware counter by setting mode (frequency, period, totalize), resolution digits, and input source to measure signals accurately.
Instructions
Configure the hardware counter.
mode: FREQuency|PERiod|TOTalize (short forms FREQ/PER/TOT ok); digits: resolution, integer 3 to 6 (Period/Frequency modes only); source: CH1..CH4 or D0..D15; totalize_enable: counter statistics switch (Period/Frequency only); totalize_clear: clear the totalize count (Totalize mode only).
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": "set_counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| digits | No | ||
| enable | No | ||
| source | No | ||
| totalize_clear | No | ||
| totalize_enable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |