measure_statistics_item
Read a measurement item's MAX, MIN, CURRent, AVERage, DEViation, or CNT statistic. Set enable=True to turn on statistics for the item.
Instructions
Read one statistic of a measurement item, or enable item statistics.
statistic: MAXimum|MINimum|CURRent|AVERages|DEViation|CNT (short forms ok). source/source2: CH1..CH4 / MATH1..4 / D0..D15 (source2 only for the delay/phase items). enable=True first sends the write form (:MEASure:STATistic:ITEM) to turn on statistics for the item.
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": {
"item": "<item>"
},
"name": "measure_statistics_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| enable | No | ||
| source | No | ||
| source2 | No | ||
| statistic | No | CURRent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |