Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

NiIviDmmComponent.h not found?

Solved!
Go to solution

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?

0 Kudos
Message 1 of 11
(10,020 Views)

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

Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 2 of 11
(10,004 Views)

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?

Message Edited by KingTermite on 01-23-2009 11:43 AM
0 Kudos
Message 3 of 11
(10,000 Views)

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 

Message 4 of 11
(9,971 Views)
Nick. I totally missed that in the help. Yes, you have my permission. By all means, yes, please send me these files/info. Thank you.
0 Kudos
Message 5 of 11
(9,965 Views)
Solution
Accepted by topic author KingTermite

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 

0 Kudos
Message 6 of 11
(9,962 Views)
Thanks Nick. That solved the immediate problem. Of course, now its still not finding another file (NiArppsComponent.h). Possibly part of same problem or something else altogether you think?
0 Kudos
Message 7 of 11
(9,949 Views)

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 

0 Kudos
Message 8 of 11
(9,914 Views)

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.

0 Kudos
Message 9 of 11
(8,693 Views)
Drew......I was given a "patch" to some of the NI header/library files. I have found it (luckily I still have it). If you post an email address I can email them to, I will send it. Otherwise, you could try to contact NickB in this thread...he's the one who provided them.
0 Kudos
Message 10 of 11
(8,671 Views)