Why Do HSDIO C Examples With HWS Not Work After Installing HWS 1.4.6? Primary Software: Driver Software>>NI-HSDIOPrimary Software Version: 1.5.3 Primary Software Fixed Version: 1.6 Secondary Software: Measurement Studio>>Visual C++ Support
Problem: All NI-HSDIO C Examples that use NI-HWS will not properly compile or link after installing NI-HWS 1.4.6 from the August 2008 Driver DVD. As part of an effort to better comply with Microsoft Windows Vista user protection, all ADE examples are being moved to C:\Documents and Settings\All Users\Documents\National Instruments\NI-xxxx\examples. Additionally, a central location has been created for non-instrument drivers to install header and import library files. The location by default is C:\ProgramFiles\National Instruments\Shared\ExternalCompilerSupport\C. National Instruments installers also define the environment variable NIEXTCCOMPILERSUPP, which points to this folder.In LabVIEW 8.6, the NI-HWS installer (version 1.4.6) was updated to install header and import library files to this central location. The files should have continued to be installed in the previous location, C:\Program Files\National Instruments\NI-HWS, but these files are removed upon installation of NI-HWS 1.4.6. The next version of NI-HSDIO will ship updated examples that point to the new location, but all users of NI-HSDIO 1.5.4 and earlier who install the latest version of NI-HWS will experience this issue.Solution: To fix this issue, you need to update the example's Microsoft Visual C++ project (example.dsp) or the ANSI C mak file (example.mak) to pull the header and import library from the new location. A safe way to do this is to use the environment variable $(NIEXTCCOMPILERSUPP) in place of the hard-code path.Below are some easy instructions to follow to fix your examples:
Related Links: Attachments:
Report Date: 08/12/2008 Last Updated: 08/18/2008 Document ID: 4OBFTBDE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
