Overview
Measurement Studio 8.1.2 .NET class libraries and user interface controls work with Visual Studio 2008. However because Measurement Studio 8.1.2 doesn't natively support Visual Studio 2008, some additional work is required to use Measurement Studio 8.1.2 in Visual Studio 2008. The remainder of this document discusses using Measurement Studio 8.1.2 and prior versions in Visual Studio 2008.
Table of Contents
- Using Measurement Studio User Interface Controls with Visual Studio 2008
- Using DataSocket
- Using Measurement Studio Assemblies with Visual Studio 2008
Using Measurement Studio User Interface Controls with Visual Studio 2008
Measurement Studio 8.1.2 components can be used in Visual Studio 2008, but they do not offer direct integration with the Visual Studio environment.
In order to use Measurement Studio user interface controls in Visual Studio 2008, please follow the steps below:
- Open Visual Studio 2008.
- Create a new project.
- Right-click on the Toolbox and choose Add Tab from its shortcut menu. Name this tab Measurement Studio.

- Right-click on the Measurement Studio tab and select Choose Items from its shortcut menu.

- Sort the items by namespace by clicking on the Namespace column header.
- Scroll down to the NationalInstruments.UI.WindowsForms namespace.
- Select the appropriate Measurement Studio controls. Click OK to add those items to your toolbox.

- All Measurement Studio controls are now visible in the Toolbox.

Using DataSocket
- Repeat steps 4 and 5 above.
- Scroll down to the NationalInstruments.Net namespace.
- Select the appropriate Measurement Studio DataSocket controls. Click OK to add those items to your toolbox

Using Measurement Studio Assemblies with Visual Studio 2008
In order to use Measurement Studio components in Visual Studio 2008, please follow the steps below:
- Open Visual Studio 2008.
- Create a new project.
- Right-click on the References node in the Solution Explorer and click Add Reference.

- Add the National Instruments assemblies that you want to use such as those for analysis, data acquisition, and instrument control.

Related Links:
Using Measurement Studio 8.1.2 with Microsoft Visual Studio 2008
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial 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 content with each new revision of related products and drivers. THIS TUTORIAL 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/).
