Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

converting c++ code to c#

I have c++ code that interfaces the a PC-DIO-96 board (or equivalently a USB-6509).  I'd like to convert my code to c#.  There are a few examples of c# code but they're very simple.  I can use PInvoke from c# to call c++ functions but I'd rather use c# function calls directly.  Does anyone know where I can find a listing of c# functions with appropriate namespaces and which dll's if any I need for c#?  Thanks.

0 Kudos
Message 1 of 2
(146 Views)

Hi Gene,

 

In the next links you can find the help documents for Measurement Studio, there you can find some additional examples and syntaxis for C# code.

 

Measurement Studio 2012 for Visual Studio 2010 Help

http://zone.ni.com/reference/en-XX/help/372636F-01/

 

NationalInstruments.UI.WindowsForms Namespace

http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/bc10ffb8/

 

Using the Measurement Studio Windows Forms .NET Controls

http://zone.ni.com/reference/en-XX/help/372636F-01/mstudiowebhelp/html/usingninetwinformscontrolswin...

 

Hope this can help.

Best regards,
Cesar Ortega
Technical Support Engineering
National Instruments
www.ni.com/support
0 Kudos
Message 2 of 2
(117 Views)