In Microsoft's Build 2019, it said .NET Core is the future. So Measurement Studio will move to .NET Core or can be used in .NET Core?
I would also like to see a roadmap on support for .NET Core as it is the future of .NET along with new C#/VB language support. Any insight from NI teams would be great. Thx
DAQ works for me in .NET Core 3.1, but when I try to use TDMS, the NationalInstruments.Common
assembly blows up.
Portability Analyzer shows a few unsupported methods:
Otherwise it's flagged as 99.45% compatible (except when you do new TdmsFile()).
I tried the .NET Portable Analyzer against NationalInstruments.DAQmx DLL and found the following:
Target typeTarget memberHeader for assembly name entries.NET Core + Platform Extensions.NET Core.NET Standard + Platform ExtensionsRecommended changes
|T:Microsoft.VisualC.MiscellaneousBitsAttribute||T:Microsoft.VisualC.MiscellaneousBitsAttribute||NationalInstruments.DAQmx||Not supported||Not supported||Not supported|
|T:Microsoft.VisualC.MiscellaneousBitsAttribute||M:Microsoft.VisualC.MiscellaneousBitsAttribute.#ctor(System.Int32)||NationalInstruments.DAQmx||Not supported||Not supported||Not supported|
|T:Microsoft.VisualC.DebugInfoInPDBAttribute||T:Microsoft.VisualC.DebugInfoInPDBAttribute||NationalInstruments.DAQmx||Not supported||Not supported||Not supported|
|T:Microsoft.VisualC.DebugInfoInPDBAttribute||M:Microsoft.VisualC.DebugInfoInPDBAttribute.#ctor||NationalInstruments.DAQmx||Not supported||Not supported||Not supported|
|T:Microsoft.VisualC.DecoratedNameAttribute||T:Microsoft.VisualC.DecoratedNameAttribute||NationalInstruments.DAQmx||Not supported||Not supported||Not supported|
|T:Microsoft.VisualC.DecoratedNameAttribute||M:Microsoft.VisualC.DecoratedNameAttribute.#ctor(System.String)||NationalInstruments.DAQmx||Not supported||Not supported||Not supported|
|T:System.Runtime.InteropServices.Marshal||M:System.Runtime.InteropServices.Marshal.GetExceptionPointers||NationalInstruments.DAQmx||Supported: 3.0+||Supported: 3.0+||Not supported|
I made an inquiry yesterday about this via our support channels. This is the reply I got from NI:
"Measurement Studio 2019 is not expected to work with .NET Core. NI is currently investigating the best way to support .NET Core across our platform since this impacts more than just MStudio (Drivers, TestStand, etc..). We're working closely with Microsoft and the IVI foundation to ensure we take an approach that considers the long-term health of our products and also compatibility with existing systems. We do not have a detailed roadmap to share at this time."
There is much more at stake here than just Measurement Studio. We also use IVI drivers and TestStand heavily in our automation systems. I could not find anything on the IVI website regarding plans to support .NET Core. I tried calling a .NET core module from TestStand 2019 but this would not load (could not load file or assembly System.Runtime Version 188.8.131.52) so assume TestStand 2019 does not currently support .NET core either).
So for now we will be stuck at .NET 4.8 whilst the rest of the world move on with ,NET 5.0 (in effect .NET core) from November 2020. I would like to see some sort of road map from NI sooner, rather then later so that we can plan the migration of our test systems.
Wanted to chime in again on this hoping the NI support channels are listening. Understanding this is a complicated topic as it touches various software/products, it would be very helpful if a roadmap would be provided (even if a ways out).
NI recently rebranded and said they going to be transformative, innovative, and focus on customers. Any updates on future .NET support will be appreciated.