r/LabVIEW • • 1d ago

I wanted to help the LabVIEW community, so I built 13 open-source Python libraries from unanswered forum threads

32 Upvotes

I've been wanting to give something back to the LabVIEW community for a while. My pure LabVIEW skills aren't that great, so I went with what I know best: Python.

I used an AI to dig through the NI forums, LAVA and Stack Overflow for real LabVIEW problems that never got an answer, then I sat down and solved them in Python, one by one. The result is 13 small open-source libraries (MIT, pure Python, no dependencies, typed and tested):

- **lverror**: turns LabVIEW, VISA and DAQmx error codes (888 of the common ones) into a plain explanation, no LabVIEW install needed - **lvflatten**: reads and writes Flatten To String binary data, the bytes LabVIEW sends over TCP, UDP, serial or to a file - **lvtime**: the 128-bit LabVIEW timestamp (1904 epoch) to and from datetime, without losing precision - **lvconfig**: LabVIEW config files with LabVIEW's exact escaping, path and boolean rules - **lvmio**: LabVIEW Measurement (.lvm) files - **tdmread**: NI TDM/TDX files - **lvjson**: Flatten To JSON, including NaN, Infinity and LabVIEW's 20-digit numbers - **lvxml**: Flatten To XML / Unflatten From XML - **lvpath**: LabVIEW path strings, the portable /C/DIR form and the flattened form - **lvtypedesc**: LabVIEW type descriptors, parsed and written back - **lvext**: 80-bit extended floats (EXT) - **lvfxp**: fixed-point (FXP) numbers - **lvbitpack**: Boolean arrays and bit packing

All of them are a `pip install` away, e.g. `pip install lverror`.

Overview: https://lianes8studio.com/open-source/labview All the code is public on GitHub, linked from that page.

I'd really like these to be community libraries. If you hit a bug, miss a case, or have a LabVIEW ↔ Python problem nobody has solved, open an issue or send a PR. Help keeping them maintained and up to date is very welcome.

And if there's a pain point you deal with every week, tell me in the comments. It might be the next one.


r/LabVIEW • • 3d ago

LV Forge — open-source MCP for reviewing saved LabVIEW VIs

14 Upvotes

I built LV Forge for a workflow where I wire VIs myself and use an MCP client to review the saved diagrams. It uses LVKit to inspect nodes and wiring, compare two saved VIs, and render diagrams. It can also generate a self-contained HTML inspection report with a file hash, diagram, and parser warnings.

The optional Windows IDE check reports runnability and was tested with LabVIEW 2020 32-bit. LV Forge does not generate, edit, or run VIs. Some files parse partially, and the report flags that explicitly.

The repo includes small examples for trying a diff, a case structure, and a SubVI call. If you try it, I’d appreciate hearing your LabVIEW version and bitness, and what the inspection missed or got wrong.

https://github.com/harisunder1991/lv-forge


r/LabVIEW • • 3d ago

Self Learnings Agents for LabVIEW using Second Brain (GenVI)

6 Upvotes

GenVI, a Second Brain for LabVIEW, is one of the tools for working with AI in LabVIEW. Today, every agent session starts from zero. Whether you work in Claude or GitHub Copilot, the agent forgets everything once the session ends. What if it could capture what it learns and reuse it next time?

In this simple demo, the agent learns a user's preferred documentation style and then applies that same style in a brand-new session, without being told again. Learnings is a capability we recently added to Second Brain, and it's quickly proving essential.

It's one of the first steps toward agents that are more grounded and that work the way you do. Try out today for free - Releases · solitontech/secondbrain-ga


r/LabVIEW • • 6d ago

I generated Unit Tests for 2 VIs in OpenG Array Library using AI in under 10 minutes

7 Upvotes

I used the Second Brain - GenVI Unit Tester Agent and generated unit tests using AI for a couple of Slice 1D Array VIs. Interestingly AI was able to generate even corner cases that the VI was not covering it!

Model Used: Claude Opus 5.5

Time Taken for Generation: 5 mins

Time Taken to Run Tests: 2 mins

My intention was not to find bugs here but use an Agent to even cover corner cases that we might miss. Increase the test coverage for your LabVIEW projects by using it from here - Releases · solitontech/secondbrain-ga


r/LabVIEW • • 6d ago

Are there any sources on how can I use math script for my controllers and indicators in Labview 🫤

2 Upvotes

Need it for my uni project, my professor is an ass and my group mates are in a much worse state compared to me. Idk how to implement math script into my work, which is to create an automatic washing machine system


r/LabVIEW • • 6d ago

TestStand w/ All Python?

6 Upvotes

Is anybody using TestStand with all Python or 90% Python / 10% LabView?

With the rise of AI, it seems like a very good approach to test development, but are there any downsides? The biggest one I can think of is that most of the libraries are not officially from NI. If speed or timing is an issue, that code could be run in LabVIEW.

https://github.com/ni/nitsm-python/tree/main


r/LabVIEW • • 8d ago

I was able to test LabVIEW source code using AI

10 Upvotes

I added a new agent in GenVI - Second Brain for LabVIEW -> GenVI Unit Tester that helps to generate unit tests for LabVIEW VIs.

Use GenVI to understand the LabVIEW project and use the Unit Tester to generate unit test cases with any AI model of your choice.

 Download the installer: Releases · solitontech/secondbrain-ga and start to test your LabVIEW project with the help of GenVI-Second Brain for LabVIEW.


r/LabVIEW • • 9d ago

Open-source tool: let AI (Claude Code etc.) create, edit and run LabVIEW VIs

8 Upvotes

Made an open-source MCP server for LabVIEW.

With AI you can:

- Read / explain VIs

- Create new VIs

- Edit existing VIs

- Run & test them

Works with the free Community Edition.

GitHub: https://github.com/shlim-t/labview-mcp

Contact: shlim6869@gmail.com

Please give me feedback!


r/LabVIEW • • 19d ago

GenVI - Second Brain for LabVIEW

14 Upvotes

🚀 GenVI - Second Brain for LabVIEW is here, and it's generally available to the entire LabVIEW community.

GenVI transforms your LabVIEW project into structured knowledge that AI tools can understand and use for documentation, code audit and modernization. It captures the structure of your code, including VIs, hierarchy, dependencies, and other contextual information, helping AI coding assistants better understand your LabVIEW codebase and support your development workflows.

And there's more: This Second brain supports 30+ programming languages and more unstructured files, with LabVIEW (GenVI) being one of them.

Here's how it works:
✅ Add your LabVIEW project to Second Brain
✅ Use MCP to connect your codebase to the AI harness of your choice
✅ It's a desktop app — data stays in your system

👉 Download the installer: Releases · solitontech/secondbrain-ga

Try it on a real project and tell us what works and what doesn't. Your feedback shapes what comes next.


r/LabVIEW • • 22d ago

TestStand in an AI world

7 Upvotes

Seen a lot of discussion around LabVIEW and AI. What are your thoughts about TestStand in the current environment? I've always heard about the power of TestStand and that you never want to make your own sequencer. Do you think this is still true? Why not just have AI create a Python sequencer? Endless integration with everything else and easy to add features/fix bugs.


r/LabVIEW • • 22d ago

HALUG November 2026: The Why and How of Using .NET or Python with LabVIEW

10 Upvotes

Did you know that you can do everything in LabVIEW? Did you know that sometimes there is a reason not to? 

Join us at the next Huntsville Alabama LabVIEW User Group meeting at 12:00 on Thursday, November 12, at GigaParts, 6123 University Dr NW Huntsville, AL, as we explore why you might use another language (or framework) like C# (.NET) or Python alongside LabVIEW.

Hamilton Woods will demonstrate the technique of calling another process from LabVIEW and of receiving data from that process into LabVIEW.

Hamilton Woods has a CDL (oops, CLD) from NI. He is a mechanical and electrical engineer who develops software systems for automated assembly and testing. Mr. Woods is one of the organizers of HALUG and also one of the organizers of the local Python user group, hsv.py.

Come hang out with the technical community and meet men and women who make things happen using LabVIEW.

Note that the meeting date is different from the normal third Wednesday due to a scheduling conflict.

Lunch will be provided by NI.

LinkedIn link: https://www.linkedin.com/events/7505300815142633473/?viewAsMember=true


r/LabVIEW • • 24d ago

I need help with downloading

0 Upvotes

(english isnt my first language, im sorry)

so i need labview 2015 sp1 for university, we get it for free so i’ve already installed it. But i can not figure out how to open it and get it to start working. I have a mac book pro with M1. Can somebody please help me figure out what the problem is, i can send pictures if needed. But currently i’m really lost.


r/LabVIEW • • Oct 23 '26

Professional LabVIEW developers, I'd like to hear more about your current and previous jobs, and how you found them.

13 Upvotes

I'm a full time LabVIEW developer, and I love it. But I've been starting to think about trying to find a new job doing this. What can you tell me about the job market these days?


r/LabVIEW • • Oct 20 '26

Variables That Can't Be Deleted?

Post image
8 Upvotes

New to Labview, I'm modifying some old code and can't seem to delete these variables. Any help would be appreciated!


r/LabVIEW • • Oct 20 '26

How can I measure the frequency (Hz) and speed (RPM) of a three-phase motor using a NI cRIO-9056 FPGA?

1 Upvotes

Hi everyone,

I have an NI cRIO-9056 and a three-phase motor. I want to use the FPGA in LabVIEW to measure the motor's frequency (Hz) and rotational speed (RPM), then display both values on the LabVIEW front panel.

Could anyone explain how to implement this step by step in LabVIEW FPGA? I would appreciate examples of the FPGA block diagram, the required input signals or sensors, and how to transfer the measured values from the FPGA to the LabVIEW front panel.

Thanks in advance!


r/LabVIEW • • Oct 18 '26

How do you guys stay updated on reddit?

4 Upvotes

I use RSS to get updates from reddit, but it looks like that's being deprecated in a month. Using this, I have a posts feed for the subreddit and a comments feed. It's not ideal, but it works for the limited amount of traffic I follow on reddit.

I tried enabling the email option, but it looks like the only option is to get a digest, which is formatted badly and inlcudes a bunch of other stuff from reddit I don't want.

Do you have a better way of following content here? If not, I expect I'll just stop using it, except for maybe popping in occasionally when I think about it. It's not as if this subreddit (or LAVA, or the NI forums) is particularly active anyway. I guess everyone went elsewhere (AI? Facebook? Discord?). I tried looking at the Discord community, but it didn't seem to have a better update mechanism and I don't want to have to poll it if it's active. To be fair, polling is basically what I do for the NI forums and LAVA.


r/LabVIEW • • Oct 15 '26

Built a streamlined web viewer for quick TDMS plotting without LabVIEW

13 Upvotes

Funny timing seeing another TDMS tool posted here recently—looks like a few of us got tired of labview

I built this free web viewer with a focus on speed and a super clean, zero-friction plotting UI and no data upload to server.

Give it a try via https://megarows.com/tdms-viewer-online

I'm actively developing this and would love some brutal, honest feedback from actual LabVIEW users. Are there specific data types, plotting features (like dual Y-axes or cursors), or file structures you wish it handled better? Let me know so I can improve it!


r/LabVIEW • • Oct 12 '26

I made the Joystick initialize VI for macOS

6 Upvotes

I recently got a mac and while porting my labVIEW projects there was some errors that were pinpointed to the Joystick VIs that rely on dlls, so I made the macos framework and tried to recreate the windows behavior as close as i could so as to not change the project flow i already had. If you needed it, please enjoy: https://github.com/eir4/Joystick-Vi-for-macos


r/LabVIEW • • Oct 09 '26

Can LV easily access variables in some other generic application running on the same Windows PC?

3 Upvotes

I would like to extract/plot numbers in a 3rd party application running alongside LabView. Is there a straightforward way to achieve this?


r/LabVIEW • • Oct 08 '26

SOLVED Error 3430001 with Error 263027 using NI Replication and Deployment Utility (NI RAD)

6 Upvotes

Publishing this as it is not currently found on the forums (the NI TSE who helped me will be creating a public knowledgebase) but in the meantime...

I was having problems creating images of both a cRIO-9033 and cRIO-9045, getting the error codes shown in screenshot on a machine that was previously working. Error 3430001 comes up with a different error code for firewall issues. That was not the problem as I could deploy images to these two cRIOs and could also deploy/retrieve with a NI-9149.

There appears to be a security validation error. The solution is to open a command prompt in Windows and:

ssh admin@<IP address>

When you get an authenticity error, type yes

Login with account that has admin privileges

Logout

NI-RAD should now work.


r/LabVIEW • • Oct 08 '26

I made a free browser tool to open TDMS files without LabVIEW

13 Upvotes

https://kymogram.com

Hello everyone !

Drop a .tdms file. It is read in your browser and never uploaded, and
it works offline once the page is loaded.

- Plots every value, with zoom, cursors and statistics
- Table view, export to CSV, Excel or Parquet
- Compare two files, only what differs
- Batch Extract: a folder of runs into one PASS/FAIL table
- Repairs damaged files into a clean copy

The free online viewers I found upload the file or show only its first
samples. This one reads big-endian, interleaved and truncated files.
Not DAQmx raw data.

Free beta, no account. I am looking for files it fails on: tell me the
warning and how the file was written, not the file itself.


r/LabVIEW • • Oct 06 '26

Message Handler Test Executive

3 Upvotes

I'm relatively new to LabView. I've been able to implement my test program as a state machine, but I want to make something a little more flexible. I'd like to be able to either run individual tests from the front panel or run a repeating test flow (maybe an operator has to insert a new part to test) that saves out the data to a csv file.

I think I want to use the channeled message handler, but I'm not quite sure how to route all of the settings, data and instrument handles. My instinct was to have three shift registers on the message handling loop, one for settings, one for results, and one for instrument handles...as the program loops the results need to end up in an array.

Can anyone point me in the right direction. I've watched all the Core 1 and Core 2 videos as well as many youtube videos (shout out to cannon controls), but I can't find any videos going over this level of complexity (which is probably as basic as it gets).


r/LabVIEW • • Oct 05 '26

Security Update from NI regarding NI-PAL

22 Upvotes

The following went out to Champions and User Group leaders with a request to spread it as fast possible.

Customers using NI software or hardware on Windows should check their installed NI-PAL version. Systems running NI-PAL 26.3.1 or earlier are affected and should be updated to NI-PAL 2026 Q3 or later.

Beginning as early as November 10, Microsoft may block affected older NI-PAL components from loading when the Microsoft vulnerable driver blocklist is enabled. Without the update, affected NI software and connected hardware workflows may stop working after the applicable Windows security update. Users may encounter application failures or timeouts, driver communication failures, or unspecified errors in NI MAX, NI Hardware Manager, and device drivers.

 This is a targeted update to one component. It does not require a driver version upgrade, is backwards compatible with previous NI-PAL versions to at least NI-PAL 17.0, takes about one minute to install, and requires a reboot.

Update instructions: https://www.ni.com/ni-pal-update

Security advisory: https://www.ni.com/en/support/security/available-critical-and-security-updates-for-ni-software/2026/local-privilege-escalation-in-ni-pal.html

For older or isolated systems, those that are not connected to the internet and do not receive the applicable Windows security update may not experience the November 10 blocklist-related operational interruption at that time. The affected NI-PAL version still contains the security vulnerability, however, and the issue may surface if the system is later connected, receives the Windows update, or has the blocklist enabled by another method. Installing the NI-PAL update remains the safest course wherever possible.