Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
What is Developer Zone?
United States

Document TypeTutorial
NI Supported: Yes
Publish Date: Feb 18, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links -Products and Services

Using Measurement Studio 8.1.2 and Prior in Visual Studio 2008

7 Ratings | 3.29 out of 5
 Print |  PDF

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

  1. Using Measurement Studio User Interface Controls with Visual Studio 2008
  2. Using DataSocket
  3. 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:

  1. Open Visual Studio 2008.
  2. Create a new project.
  3. Right-click on the Toolbox and choose Add Tab from its shortcut menu.  Name this tab Measurement Studio.


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


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

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

Using DataSocket

  1. Repeat steps 4 and 5 above.
  2. Scroll down to the NationalInstruments.Net namespace.
  3. 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:

  1. Open Visual Studio 2008.
  2. Create a new project.
  3. Right-click on the References node in the Solution Explorer and click Add Reference.

  4. 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

 

7 Ratings | 3.29 out of 5
 Print |  PDF

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/).