Creating an Application in Measurement Studio with Visual C++, Visual C#, or Visual Basic .NET
If you program your NI-DAQmx-supported device in Measurement Studio using Visual C++, Visual C#, or Visual Basic .NET, you can interactively create channels and tasks by launching the DAQ Assistant from MAX or from within Visual Studio .NET. You can generate the configuration code based on your task or channel in Measurement Studio. Refer to the DAQ Assistant Help for additional information about generating code. You also can create channels and tasks, and write your own applications in your ADE using the NI-DAQmx API.
For help with NI-DAQmx methods and properties, refer to the NI-DAQmx .NET Class Library or the NI-DAQmx Visual C++ Class Library included in the NI Measurement Studio Help. For general help with programming in Measurement Studio, refer to the NI Measurement Studio Help, which is fully integrated with the Microsoft Visual Studio .NET help. To view this help file in Visual Studio. NET, select Measurement Studio»NI Measurement Studio Help.
To create an application in Visual C++, Visual C#, or Visual Basic .NET, follow these general steps:
- In Visual Studio .NET, select File»New»Project to launch the New Project dialog box.
- Find the Measurement Studio folder for the language you want to create a program in.
- Choose a project type. You add DAQ tasks as a part of this step.