new_class
Creates a LabVIEW class file and assigns listed VIs as member VIs so related VIs can be organized under one class.
Instructions
Create a LabVIEW class (.lvclass) and make the VIs in files its member VIs (Motor.lvclass:Start.vi).
place(vi + "|FP", "/abs/Motor.lvclass", "x,y", "Motor in") then adds a class control to a member VI. The private
data stays empty: LabVIEW keeps it read-only to scripting (edit it in the class's Motor.ctl window).
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": {
"path": "<path>",
"files": "<files>"
},
"name": "new_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| files | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |