10-06-2026 03:08 AM
I'm in a similar boat. My organization has access to cloud models via an in-house browser UI but desktop api-token-based useage is limited to local models nvidia/GLM-5.2-NVFP4 and deepseek-ai/DeepSeek-V4-Flash-0731. I have successfully interactive with these models in OpenCode but could not get LabVIEW MCP working with OpenCode. If someone could explain 1) how to get Labview MCP working with OpenCode and/or 2) doing some sort of copy/paste shenanigans between LabVIEW MCP and our browser-based interface I would appreciate it.
10-06-2026 10:28 AM
If you can install Claude Code, you can reconfigure it to use local models, and can install the extension. You can look up how to do it but it's basically changing some environment variables or, if you want it to "stick", editing a JSON file. If you don't do that, you'll need to link the .md files that tell it how to "do stuff" with the MCP server. I tried but wasn't able to figure that part out, so I just used Claude Code as a "harness".
10-07-2026 02:02 AM
need help to install : LabVIEW MCP with Claude after installing giving error Failed to connect — ENOEXEC: ENOEXEC: unknown error, posix_spawn 'stdio' can u shre methods to install in GitHub its confusion for me LabVIEW 20206 Q3 ,Claude desktop using
10-07-2026 03:59 AM
@BertMcMahan wrote:
If you can install Claude Code, you can reconfigure it to use local models, and can install the extension. You can look up how to do it but it's basically changing some environment variables or, if you want it to "stick", editing a JSON file. If you don't do that, you'll need to link the .md files that tell it how to "do stuff" with the MCP server. I tried but wasn't able to figure that part out, so I just used Claude Code as a "harness".
Normally I would expect a process similar to what I did with OpenCode but I cannot for the life of me find any documentation on how to do so. Do you have any links?
10-07-2026 10:37 AM
I just googled "Use local models with Claude Code" and found a bunch of tutorials. You can set environment variables manually, or you can open your [user]\.claude\settings.json file and add this:
"env": {
"CLAUDE_CODE_USE_POWERSHELL_TOOL": "1",
"ANTHROPIC_BASE_URL": "http://localhost:[port]",
"ANTHROPIC_AUTH_TOKEN": "none",
"ANTHROPIC_API_KEY": ""
},
"model": "gemma4:31b"
The base URL needs to point to your LLM server, so if it's on your own machine, use localhost. In my case I pointed it to the network URL.
I tried it by setting the URL environment variable manually at first and it didn't run; turns out, you MUST set the Auth Token and API keys to something or Claude Code will try to get you to log in. If you set it to some dummy values, it'll just start right up. Depending on the LLM you're using, you might need to tweak the "model" field, but you can do that within CC by typing "\model [modelname]".
I did come across this site that has some other things to try but I didn't mess with any of that yet.
Once I got CC up and running with the model, I installed OP's plugin like the directions say, and it was running. Note that I haven't gotten it to do anything useful yet, but it's opened LabVIEW, made some stuff, and tried. I think my models are not quite right for LabVIEW dev but I haven't had a lot of time to try out multiple models. I'm just using what our IT guys made available to us. I'm sure I could get them to add another one if I had a specific model to try, so if you get it working please let us know what model works well for you!
10-08-2026 03:14 AM - edited 10-08-2026 03:17 AM
Thanks for the reply. Apparently the issue is I was trying to use the GUI and changing the model this way doesn't seem supported for the GUI it HAS to be for the CLI.
I actually managed to get it working with OpenCode. Unfortunately my orgs internal models are impossibly slow for this. I had it create 1 VI which reverses a string and makes every other letter capital. It took about 20 minutes. Guess this is on the backburner until we can use cloud models via api tokens. Here is my config in case anyone wants to try it out. Fields surrounded with ---.--- have been sanitized.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"---CompaniesNameForService---": {
"npm": "@ai-sdk/openai-compatible",
"name": "---NameForServiceInApp---",
"options": {
"baseURL": "---https://CompaniesURLForModels---",
"apiKey": "---apitoken---"
},
"models": {
"nvidia/GLM-5.2-NVFP4": {
"name": "nvidia/GLM-5.2-NVFP4",
"limit": {
"context": 90000,
"output": 20000
},
"tool_call": true,
"reasoning": true,
"options": {
"reasoningEffort": "high"
}
},
"deepseek-ai/DeepSeek-V4-Flash-0731": {
"name": "deepseek-ai/DeepSeek-V4-Flash-0731",
"limit": {
"context": 90000,
"output": 20000
},
"tool_call": true,
"reasoning": true,
"options": {
"temperature": 1.0,
"reasoningEffort": "high"
}
}
}
}
},
"model": "nvidia/GLM-5.2-NVFP4",
"small_model": "deepseek-ai/DeepSeek-V4-Flash-0731",
"mcp": {
"labview": {
"type": "local",
"command": [
"---C:...\\labview-mcp-v1.7.2\\bin\\LabVIEWMCP.exe---"
],
"enabled": true
}
}
}
10-08-2026 01:51 PM
how & what kind of prompts need to give the claude to generete vi & wht skills, plugin, connectors required
11-04-2026 04:16 AM
Ok, this is pretty impressive! I got it up and running and i've build 3 things for now. I just tried to teach a couple of persons some LV and threw the classic example of Find all primes up to 1000 on them, so thought it would be a good start for this one also. I did it slightly harder by asking the AI for the first 1000 primes.
A little touchup and auto cleanup and it looks real nice! There's some 'ghost' label on labelless things, but if you double click in them once they disappear. I don't know if that's a scripting things or XML-> VI thing.
Since LV is mainly used for measurements i had my students make a music player with an FFT. I asked the AI for the same but with a 24 band EQ instead (since that's some extra steps) It did a great job with Music Equalized player and Spectrum to bands. (Those ghost labels seems to be standard)
Then i asked it to play an MP3 song instead and it fired of a PS script. After explaining that i wanted it in LV it cooked up 16 VIs and basically created a drop in replacement for the wav-player. The only issue is that it decodes the full song before starting, so it takes ~10s to start a 5 min song. (MP3 Player is the main VI in the zip)
Apart from the ghost label it likes to extend Index arrays leaving unconnected connections to get to a higher number instead of connecing a constant. It really likes to connect a 0 constant to the 1st outlet of the Index array which is quite unnecessary.
I mean this isn't incorrect, but i prefer the 2nd version
Minor things, but some feedback for further development. Maybe we can teach it some preferred coding style?
(LV2026 in the attachments)
11-04-2026 05:30 AM
I’d like to take a look at the generated code. Could you please convert it for 2020?
Do you know how many tokens that cost you? Just to get a sense of it.
11-04-2026 05:52 AM - edited 11-04-2026 05:57 AM
I'm mainly active on the Discord channel. I find your VIs fascinating because they have so many wires, the cleanup algorithm gets out of sync! I'll run your VIs through my system and try to optimize the cleanup!
Did you use the gRPC or Python backend?
https://discord.com/channels/1015999107921354932/1553399078602154159