Measurement Studio for VC++

取消
顯示結果 
搜尋替代 
您的意思是: 

NiIviDmmComponent.h not found?

已解決!
前往解決方案

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 積分
1 條訊息(共 11 條)
10,177 檢視

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 積分
2 條訊息(共 11 條)
10,161 檢視

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 積分
3 條訊息(共 11 條)
10,157 檢視

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 

4 條訊息(共 11 條)
10,128 檢視
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 積分
5 條訊息(共 11 條)
10,122 檢視
解決方案
接受者 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 積分
6 條訊息(共 11 條)
10,119 檢視
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 積分
7 條訊息(共 11 條)
10,106 檢視

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 積分
8 條訊息(共 11 條)
10,071 檢視

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 積分
9 條訊息(共 11 條)
8,850 檢視
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 積分
10 條訊息(共 11 條)
8,828 檢視