set_value
Sets a constant or live front-panel control value in a LabVIEW VI from a target and value, supporting numeric, string, Boolean, array, cluster, and XML formats.
Instructions
Set a constant or control value. target a.vi%NumericConstant|N (class without spaces) or a.vi%Control|SP
for a front-panel control (its live value: the VI is opened first if it is closed, since a closed VI forgets it;
save_defaults keeps it). fmt dec|frc|str|bool|XML, or expr for any type: [1, 2, 3] (array),
c:(1.5, s:text, b:true) (cluster), numbers, s:text.
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>",
"value": "<value>"
},
"name": "set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fmt | No | dec | |
| value | Yes | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |