Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni-DAQmx .NET6 Support

For any other developers who find this post, I also built a minimalistic .NET 6.0 C# wrapper around the NI-DAQmx driver.  (The dll is actually named 'nicaiu.dll'.) 

 

I only needed it to open and close some relays, so that is all I implemented.  Feel free to expand it with the functions you need.  The readme provides some assistance.

 

NI-DAQmx driver for C#

https://github.com/jrdnwrth/NetDAQmx

 

 

 

Message 11 of 17
(3,041 Views)

I opened a ticket with NI support last week to ask when they plan to have DAQmx support for .NET6 or .NET8, they replied with the following:

 

 

DAQmx was expected to include support in the H2 of 2025.
 
This is a possible time frame, but the exact date has not yet been confirmed.
 
Is there anything else I can assist you with?
 
Kind regards,
 
<FirstName LastName>
Technical Support
NI Support

 




Message 12 of 17
(1,475 Views)

This sounds great. At the moment must use .NET 4.8.1 application which streams data by gRPC protocol from NI devices to ASP.NET Core web server running on .NET9.

When DAQmx can be directly integrated into new developments, it would be great. Hopefully .NET9 will be supported too.. not just .NET8.

0 Kudos
Message 13 of 17
(1,467 Views)

Heyho 🙂 Reviving this post, since we just got .NET10 LTS 😄 I wonder if NI wants to do anything with this? In the mainwhile, I start to dig into LabVIEW gRPC stuff.
(next year we will need to interface/access a legacy LabVIEW app from a .NET10 desktop app,and in long term re-implement everything in .NET/C#)

0 Kudos
Message 14 of 17
(637 Views)

Just bumping this post again — we also need .NET 8 support.
At the moment, we have been forced to rely on an open-source wrapper (thanks to the creator), which is far from ideal. The only alternative is to wait… but the question is: how long?

0 Kudos
Message 15 of 17
(535 Views)

Bump. We really need the .net 8 support as well. The open source wrapper is missing lots of functions we need and we don't have resources to write them ourselves. Any reply from NI on this?

0 Kudos
Message 16 of 17
(116 Views)

Just a hint: Microsoft has done something since .NET 9 to integrate a sort of compatibility layer between .NET (Core) and .NET Framework. Now it is possible to directly reference an old Framework 4.8 DLL (not standard 2.0) that uses NationalInstruments.DAQmx.dll and NationalInstruments.Common.dll. I made a project in .NET 10 and use some counters on X series cards and it works.

 

I hope this helps but I don't know yet where the limitations are.
And it should not excuse NI for taking such a long time for a clean support (or at least dropping a clear dependable statement).

 

 

0 Kudos
Message 17 of 17
(58 Views)