event_case
Sets the event handled by an Event Structure frame, for a front-panel control event or a VI/app event, and replaces that frame's existing events.
Instructions
Make frame frame of an Event Structure (a.vi%GObject|EV) handle event: of a front-panel control
(control="a.vi%Control|Stop", event "Value Change", "Mouse Down", ...) or, without control, of the VI/app
("Timeout", "Panel Close?", ...). Replaces that frame's events. Add frames first with
invoke(target, "Add Frame"). An unknown name lists them all.
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": {
"target": "<target>",
"frame": "<frame>",
"event": "<event>"
},
"name": "event_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| frame | Yes | ||
| target | Yes | ||
| control | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |