Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio for C# language

Recentely, I am trying to edit C# language to control the National Instruments Cards in computer, did any one has data about it? Any help will be appreciated.
0 Kudos
Message 1 of 6
(3,181 Views)

Hi,you can install NI DAQmx. There are many classical C and .net   examples .

Path:  ...\NI-DAQ\Examples\...

Hope  it can help you 

0 Kudos
Message 2 of 6
(3,148 Views)

Thanks so much. It is very helpful for me. 🙂

0 Kudos
Message 3 of 6
(3,143 Views)

Hey, I have just installed both Visual Studio 2012 and MStudioVS2010, I also can find some instructed projects in my computer,  just as  /National Instruments/MStudioVS2010/DotNet/Examples/Analysis,Application.etc. I think the installation is completed. But actually I cannot find any class libary and application templates about Measurement Studio in the panel  when I create a new Visual Studio 2012 project. Is any thing mistake when I do it? For I could like create a project which could control one NI card in my PC. Thanks so much.

0 Kudos
Message 4 of 6
(3,132 Views)

Frist,you can run the examples ,see its effect,learn its struct.

Usually  it includes  the head file,like NIDAQmx.h ,which  can find it in our compter.

You just need call it.

The file's path is...\NI-DAQ\DAQmx  ANSI C Dev\include\...

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

Hello Frank,

   Make sure that you have added references to the

NationalInstruments.Common

and

NationalInstruments.DAQmx

dll files in your project. Mine are located in:

C:\Program Files (x86)\National Instruments\MeasurementStudioVS2012\DotNET\Assemblies\Current\

You can then add them to your list of directives:

using NationalInstruments.DAQmx;
using NationalInstruments;

 

Hope that helps.

     Tim

0 Kudos
Message 6 of 6
(3,055 Views)