01-22-2009 01:42 PM
I'm finally getting closer on this conversion from a big Visual Studio C++ 6.0 project to Visual Studio .Net 2005.
Now in my NIIncludes.h file, it is unable to find NiIviDmmComponent.h. I have freshly installed Ni-Dmm 2.9 and it shows in the last screen for it installs that it will be installing to c:\program files\IVI Foundation\IVI.
After install, there are some files in that directory, but not the one in question. The only place I do find "NiIviDmmComponent.h" is in D:\program files\National Instruments\MeasurementStudio\VC\Include. The date looks newer, but I think that directory is old stuff for Visual Studio 6.0.
There is a similar directory, D:\program files\National Instruments\MeasurementStudioVS2005\VCNet\Include, but the file is not in there.
I'm confused. Where should the correct directory for the file be for VS.Net 2005? Is "NiIviDmmComponent.h" even a part of Ni-Dmm?
Solved! Go to Solution.
01-23-2009 11:37 AM
Hey King!
It looks like NI-DMM does not install directly for Visual Studio .Net, and a wrapper is needed to be able to use it, according to this KnowledgeBase Article. The wrappers can also be downloaded from that link. Hope this helps.
Doug
Applications Engineer
National Instruments
01-23-2009 11:42 AM - edited 01-23-2009 11:43 AM
Thanks for the response Doug.
I don't think those wrappers are the answer. They appear to be for C# or VB projects. I'm still using C++, so I should be able to lilnk directly.
Is it not installing correctly? To Visual Studio.Net?
01-26-2009 08:48 AM
Hello,
Unfortunately, as stated in the Measurement Studio Incompatibilites document in the Measurement Studio help documentation:
"Measurement Studio does not include IVI class driver Visual C++ class libraries for use in Visual Studio 2005 with MFC 8.0. Contact National Instruments support if you require these class libraries."
However, If you give me permission to contact the forum administrator in order to get your email address, I will email you the necessary support files to finish your conversion to Visual Studio 2005.
Thanks, and sorry for the inconvenience,
NickB
National Instruments
01-26-2009 10:31 AM
01-26-2009 10:38 AM
I have requested your information, and will follow up with you via email as soon as I get the opportunity.
Thanks for your patience,
NickB
National Instruments
01-26-2009 05:53 PM
01-27-2009 10:17 AM
Hello,
NIArppsComponent.h is a piece of one of five IVI compliant 3rd party devices that wrappers were specially created for many years ago. Unfortunately, these components were not rebuilt for support of any version of VC++ later than 6. I will contact you again via email regarding potential solutions to this issue.
Thanks,
NickB
National Instruments
01-27-2010 12:46 PM
I also recieve fatal error C1083: Cannot open include file 'NiArppsComponent.h' can you post the solution or send to me.
IDE Visual C++ 6.0 with Measurement Studio 8.1.2 for Visual Studio 6.0.
01-28-2010 10:18 AM