Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate C#.net wrapper for IVI-C driver

Solved!
Go to solution

Hi,

As i am unable to find Meausrement Studio instrument driver conversion wizard for c#.net even after installing the latest evaluation version on VS2008 professional two time, can some please genrate the corresponding wrapper for me :).

 

All i see in the add new project template are NI windows application and NI class library. :S

 

Tektronix Oscilloscope. TDS 1012B

Here is the device specific driver.

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=9074

 

I would be really thankfull. 

Regards,

0 Kudos
Message 1 of 6
(5,512 Views)

Please can someone help me with this. I really need this urgently.

0 Kudos
Message 2 of 6
(5,485 Views)

Hi,

 

I checked out if it is possible to convert the driver to C# automatically, but I don´t think that it´s actually possible.

LabWindows CVI provides a LabWindows/CVI Conversion Wizard for C++, not for C#:

 

Use the LabWindows/CVI Conversion Wizard to create a Microsoft Visual C++ copy of an existing LabWindows/CVI project. This wizard is useful when you want to migrate a LabWindows/CVI project to Visual C++. If you want to create a new Visual C++ project that uses the LabWindows/CVI libraries, use the LabWindows/CVI Application Wizard.

 

 

Marco Brauner NIG

0 Kudos
Message 3 of 6
(5,439 Views)

Hi, sorry, I was too fast with answering 🙂

 

Let me see what I can do...

 

 

Marco 

0 Kudos
Message 4 of 6
(5,437 Views)
Solution
Accepted by topic author NikkGrey

Ok, I´ve generated the Wrapper class within a VS 2008 C#-Project.

 

Here you go...(rename to .cs from .zip)

 

 

Marco Brauner NIG

 

 

Message 5 of 6
(5,433 Views)

Thank you for your help really appreciate it. 🙂

I have tested some of the functionalities of the driver and it seems to be working. 

So essentially a wrapper around CVI drivers also works.

Message 6 of 6
(5,430 Views)