set_datetime
Set the oscilloscope's clock via :SYSTem:DATE and :SYSTem:TIME, then read it back. Accepts 'YYYY-MM-DD hh:mm:ss' (24-hour) and rejects invalid or out-of-range values.
Instructions
Set the instrument clock and read it back (:SYSTem:DATE / :SYSTem:TIME).
datetime: 'YYYY-MM-DD hh:mm:ss' (24-hour). Raises ValueError on bad format or out-of-range fields (year 1900..2100).
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": {
"datetime": "<datetime>"
},
"name": "set_datetime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |