04-09-2026 07:25 AM
Since I can’t reply directly to the pinned post Eric started on the first page of the forum, I wanted to ask a question about using .NET packages from GitHub
Let’s say someone has created a .NET package that looks like it would be really useful. Is there a way to bring something like that into LabVIEW and use it? If not, is this something that could be considered down the road?
I realize we’d be responsible for using and supporting these packages ourselves, and I’m not expecting Emerson to build or maintain any custom VIs for them. It would just be nice to have the option to leverage these.NET packages when it makes sense.
If anyone has already done this, or if it’s already possible today, I’d love to hear how you went about it.
Solved! Go to Solution.
04-09-2026 07:41 AM
I'm not sure what you are asking here.
If you have a .Net assembly, you can in most cases interface to them with the LabVIEW .Net functions and use a constructor to create the objects it exposes.
What is your exact problem? Downloading the .Net assemblies from such a project? Creating the .Net assembly from the project source code? Or something else?
04-09-2026 08:16 AM
@rolfk wrote:
I'm not sure what you are asking here.
If you have a .Net assembly, you can in most cases interface to them with the LabVIEW .Net functions and use a constructor to create the objects it exposes.
What is your exact problem? Downloading the .Net assemblies from such a project? Creating the .Net assembly from the project source code? Or something else?
I am basing my question purely on my Visual Studio experience. I believe in VS there is a place where I could download external packages to use in my project/solution. I don't have VS installed on my work PC, so I am relying on memory.
I am sure it's possible in LabVIEW, but I wonder if it is somewhat streamlined to do that...
04-09-2026 12:57 PM
@Eric1977 wrote:
I am basing my question purely on my Visual Studio experience. I believe in VS there is a place where I could download external packages to use in my project/solution. I don't have VS installed on my work PC, so I am relying on memory.
I am sure it's possible in LabVIEW, but I wonder if it is somewhat streamlined to do that...
You are conflating things. You still need Visual Studio to turn your github source code into a .Net assembly, aka DLL. Once you have that DLL assembly created you can copy it into your LabVIEW project sources and then start writing VIs to call it. It's that simple.
04-09-2026 02:15 PM
Yeah, it depends on if you're pulling in compiled code or not. If you have a .NET dll, you're good to go. It's a little obnoxious due to translating syntax between "text based" and "shape based" programming but it works fine.
If you have a bunch of .c/.cpp files and that sort of thing, then no, you can't pull those into LabVIEW. You'd need to make them into a dll on the .NET side.
04-09-2026 02:53 PM
Understand. Thanks guys.