Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

Data Acquisition in C# .NET Interactive Tutorial Code

5 ratings | 4.60 out of 5
Print

Downloads

Filename: dataacquisitionincsharp.zip
Requirements: View

This example is meant to accompany the Data Acquisition in C# .NET Interactive Tutorial (see link below). This example demonstrates using Measurement Studio with C# .NET to create a digitally triggered continuous analog acquisition. It also demonstrates how to perform a Fast Fourier transform (FFT) on the data and finally publish the data to the web using DataSocket.

DataAcquisition in CSharp.csproj is the project that acquires data, pefroms a FFT, and publishes the data to the web. DataSocketreader.csproj reads the published data from DataAcquisition in CSharp.

Instructions:
1) Launch the DataSocket server
2) Open DataAcquisition in CSharp.sln
3) Click Start (F5)
4) Run the DataSocketReader.exe from the DataSocketReader\bin folder
5) Press the Acquire button

Related Links:
Data Acquisition In C# .NET Interactive Tutorial

Requirements


Filename: dataacquisitionincsharp.zip

Software Requirements


Application Software: Measurement Studio .NET Support 7.0
Language(s): C#
Additional Software: Visual Studio 7.0

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Driver: NI-DAQmx 7.2

 
5 ratings | 4.60 out of 5
Print

Reader Comments | Submit a comment »

Thanks for puttinf this presentation on, it is very heplfull to me. I use to do it in the labView application and I have been tried to work it in the C# environment for longe time. Now, I am much understanding how to code in C#. Thanks, again
- Kevin Lim, L-3 communication/ETI. kevin.p.lim@l-3com.com - Oct 4, 2006

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).