Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

c# .net

hello all

  

    i am new with ni.i have ni usb-6008 device here allready one application running with it but now we planning to devlope new application with C# .NET but i have no idea how to read a data from ni usb 6008 device.i search lot on net and devlope one small programe wich read data from it but i 'll not get success please provide me that type of solution which provide me data from ni usb 6008 device.

i m working with vs2010 .netframework 4.0

 

here i m attaching my demo project please help me out.

 

Thank u....

0 Kudos
Message 1 of 4
(4,442 Views)

Rizwan,

 

There are several examples located at C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET4.0.

 

I would recommend starting with one of these as a template. Most simple DAQ applications can be made with small modifications or by combining these examples.

 

If you have a specific question about particular functionality or tasks, then we can help from there.

National Instruments
0 Kudos
Message 2 of 4
(4,429 Views)

Hi..D Beil

 

Thank you for quick reply.

i look at this location but i'll not find any example for DotNET4.0. there is only example with DotNET1.0.and this eaxmple are not working properly in DotNET4.0 its give liabrary related erreor.....

 

0 Kudos
Message 3 of 4
(4,424 Views)

It sounds like you didn't install .NET Framework 4.0 support for DAQmx. Make sure you select the feature ".NET Framework 4.0 Languages Support" in the DAQmx feature tree. For examples, you need to enable the sub-feature "Examples".

 

DAQmxFeatureTree.png

Jonathan N.
National Instruments
0 Kudos
Message 4 of 4
(4,410 Views)