Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Measurement Studio Support for Windows XP x64

Primary Software: Measurement Studio>>Standard Edition (Starter Kit)
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
Does Measurement Studio support the 64-bit version of Microsoft Windows?

Solution:
Measurement Studio provides 32-bit C++ and .NET libraries for Microsoft Visual Studio 2003 and Visual Studio 2005. Windows XP x64 provides support for running 32-bit user-mode applications. Any applications that use the Measurement Studio .NET and C++ libraries must be built as 32-bit applications because Measurement Studio does not provide any 64-bit libraries.

You cannot create C++ and .NET applications that use DAQ, VISA, or GPIB on Windows x64 until there is driver-level support for Windows x64. Refer to the readme associated with each driver to verify the operating systems that are supported.

Using Measurement Studio with VS 2003

No additional setup is required to use Measurement Studio .NET and C++ libraries with Visual Studio 2003 on a Windows XP x64 system.

Using Measurement Studio with VS 2005

When building a VS 2005 project that uses Measurement Studio .NET libraries, you will receive the following error:

Could not load file or assembly 'file:///< installdir> \MeasurementStudioVS2005\DotNET\Assemblies\Current\NationalInstruments.UI.
WindowsForms.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.


The name of the .dll will vary based on the library being used.

To build a Visual Studio 2005 project that uses licensed Measurement Studio .NET libraries on a 64-bit version of Windows, you must add a prebuild and a postbuild step to your Visual Studio 2005 project. To add the prebuild and postbuild steps, complete the following items:

  1. Select the project in the Solution Explorer.

  2. Right-click the project and select Properties.

  3. Select Build Events.

  4. Add the following line in the Pre-build event command line text box: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe setwow.

  5. Add the following line in the Post-build event command line text box: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe set64.
Using Measurement Studio with VS 6.0

Measurement Studio support for Visual Studio 6.0 requires that SP6 be installed; however, this service pack is not supported in Windows XP x64. Because of this, Measurement Studio does not support Visual Studio 6.0 in Windows XP x64.

For more information, refer to Licensing Measurement Studio .NET Class Libraries on a 64-bit Operating System in the NI Measurement Studio Help.

Related Links:
NI Measurement Studio User Manual

Attachments:





Report Date: 08/01/2006
Last Updated: 11/03/2007
Document ID: 400A895B

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit