07-15-2013 12:39 PM
It would seem to me that NI would have updated NI-SCOPE .NET Class Libraries to support .NET 4.0 since it was released 04/12/2010. 3+ years, seriously folks!!! NI-DMM and NI-DCPower only support .NET 4.0. So I have to use the .NET wrappers for NI-DMM and NI-DCPower instead of the .NET Class Libraries since I have to use .NET 3.5 for NI-SCOPE.
Can you recompile NI-SCOPE .NET Class Libraries for .NET 4.0 or send me the source code and I will recompile?
NOTE: .NET 4.5 was released 08/15/2012 with Visual Studio 2012 and Microsoft is about to release .NET 4.5.1 with Visual Studio 2013. Food for thought.
Not all of us want to use LabView.
07-16-2013 08:30 PM
Hi,
I realize that not having native .NET 4.0 class libraries for NI-SCOPE is inconvenient, and unfortunately we don't have a version update available yet. The official word is that there is not a set release date yet, but another workaround option for now is to use the C API and create a .NET 4.0 wrapper for it. So if you're using older .NET wrappers for the other two libraries, you could switch back to using .NET Class Libraries for those and a .NET wrapper for the NI SCOPE driver instead. I hope that this is helpful as a workaround in the meantime.
07-17-2013 06:50 AM
"Not all of us want to use LabView."
Amen brother.
07-17-2013 01:56 PM
Actually...
A native .NET 4.0 API for NI-SCOPE is currently under development and internal testing is nearing completion. The new API will be released in Q3/Q4 of 2013.
Matt_L is correct, using the C API would be the reccomended way to use the NI-SCOPE driver before this release.
07-17-2013 02:16 PM
Thank you Matt and Nathan for the quick response. I think I will continue using .NET 3.5 Class Library For Scope 1.1.1 and the wrappers for NI-DMM and NI-DCPower until the native .NET 4.0 API for NI-SCOPE are released in Q3/Q4.
I was hoping to upgrade to .NET 4.0 so I could use the NI-DMM and NI-DCPower .NET 4.0 libraries since there is less development time than creating a wrapper for NI-SCOPE and rewriting my driver. I can wait for Q3/Q4.
Best Regards,
Bill Reynolds
07-18-2013 01:57 PM
breyno9363,
Sounds good, I do want to make sure you are aware of a few important points with regard to the native .NET 4.0 libraries:
The .NET 4.0 will not be a drop-in replacement for the older version on the libraries. The reason for this is because the new library will be IVI compliant, and will not be API-compatible with the NI-SCOPE 1.1.1 .NET API. That version was released before the IVI Foundation was ready to work on the IVI .NET standards, so changes had to be made to the API since then.
The new .NET 4.0 libraries will also not include design-time support from NI.
I hope this will not impact your development significantly, but I just wanted to ensure that you are aware of these differences.
-Nathan
11-12-2013 09:30 AM
The NI-SCOPE .NET Class Libraries for .NET 4.0 and 4.5 have been released. Here is the link to the new libraries:
http://www.ni.com/download/ni-scope-.net-class-library-2.0/4468/en/
-Nathan