Measurement Studio Compatibility with the Data Execution Prevention (DEP) Setting on Windows VistaPrimary Software: Measurement Studio>>Enterprise Edition (Full Development System)Primary Software Version: 8.5 Primary Software Fixed Version: N/A Secondary Software: Driver Software>>NI-DAQmx, Driver Software>>NI-VISA
Problem: Are there any issues associated with Measurement Studio support for Visual Studio 2008 and the Data Execution Prevention (DEP) Setting on Windows Vista? Solution: Measurement Studio does not support using the DAQ or VISA Add New Item or New Project wizards on a machine with Data Execution Prevention (DEP) enabled. This is true only for versions of DAQmx 8.7.1 and earlier. By default, DEP is enabled in Windows Vista. If DEP is enabled on your machine and you attempt to use the DAQ or VISA Add New Item or New Project wizards, a message will appear indicating that you need to disable DEP. To disable DEP on the system, run the following command on the command line and then reboot the machine.
To restore DEP to the default setting, run the following command on the command line:
For more information, refer to Microsoft MSDN Library documentation for the Caution The AlwaysOff option disables DEP on all processes running on the machine. Disabling DEP can make your system more vulnerable to malicious software. This issue does not affect your ability to use the DAQmx or VisaNS API class libraries. It only affects your ability to use the Assistants within the Visual Studio 2008 development environment. You can use NI Measurement & Automation Explorer to create and configure DAQmx Tasks and use those tasks with the DAQmx class library. This has been fixed for versions of DAQmx later than 8.7.1, and for versions of the Instrument IO Assistant later than 2.5.
Report Date: 03/13/2008 Last Updated: 03/09/2009 Document ID: 4JCEP86S |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
