01-16-2009 01:09 PM
We are late on the bandwagon and finally trying to upgrade to .Net. All of my projects have been working/compiling using Visual Studio 6 and we are upgrading to Visual Studio.Net 2005 (specifically 2005 for a reason in case you are wondering why we don't go all the way up to 2008).
I got many of my projects converted already, but lately got stuck on one. I started getting a compiler error that it couldn't find NiVisa.h. I searched the directories and found where it was located and made sure it was in the Visual Studio directory listings to search for header files.
Now it finds NiVisa.h, but i get lots and lots of errors that seem to come straight from NiVisa.h.
Is there a newer version of the NiVisa.h header I should point to instead of NiVisa.h? Or is there some other fix or suggestions anybody has?
Solved! Go to Solution.
01-19-2009 12:20 PM
Hey King,
You get the most recent version of NiVisa.h when you install the NI-Visa driver. To fix the problems with your .h file please go to http://joule.ni.com/nidu/cds/fn/p/sb/navsRel/lang/en?q=Visa&x=0&y=0 download the driver, and install. Make sure you select support for Visual Studio 2005 in the installer. If this doesn't solve your problem, can you please include a listing of the errors on your next post?
01-19-2009 12:24 PM
Aaaaah! That's probably it. Thanks.
I uninstalled everything from NI and reinstalled to get fresh versions for .net development. I assumed it was part of Measurement Studio. I probably didn't install NiVisa.
Thanks.
01-19-2009 05:44 PM