Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

When will NI-SCOPE have .NET 4.0 support?

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.

Message 1 of 7
(6,708 Views)

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.

0 Kudos
Message 2 of 7
(6,673 Views)

"Not all of us want to use LabView."

 

Amen brother.

0 Kudos
Message 3 of 7
(6,652 Views)

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.

 

Systems Engineer
SISU
0 Kudos
Message 4 of 7
(6,637 Views)

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

0 Kudos
Message 5 of 7
(6,634 Views)

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

Systems Engineer
SISU
0 Kudos
Message 6 of 7
(6,609 Views)

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

Systems Engineer
SISU
0 Kudos
Message 7 of 7
(6,284 Views)