Measurement Studio for VC++

취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

problems adding header files

Hi, 

 

For my project I downloaded the Measurement software and installed the NI-488.2 drivers.

 

Now, at the end of my stdafx.h file I am trying to include the libraries from here:

 

 

#include "NiGraph3DComponent.h"
#include "Ni4882Component.h"
#include "NiCommonComponent.h"
#include "NiDAQmxComponent.h"
#include "NiDataSocketComponent.h"
#include "NiMathComponent.h"
#include "NiUiComponent.h"
#include "NiUiCommonComponent.h"
#include "NiUtilityComponent.h"
#include "NiVisaComponent.h"
using namespace NI;


However, when I try to compile it, it says all these header files cannot be found. How do I install these files or where do I find them so that I can include the libraries?

 

 

 

 
0 포인트
1/5 메시지
4,870 조회수

With MStudio2009 I was able to include most of the header files. There's only a couple left that don't work. For example,

Ni4882Component.h

even though I did download and install NI-488.2 17.0

0 포인트
2/5 메시지
4,832 조회수

Hi drstockman,

 

I found a similar forum post to the issue you are having:

 

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Where-do-I-get-ni4882-h-file/td-p/844463

 

When you downloaded the 488.2 driver did you include support for C++? Also would it be possible for you to use the NI-VISA driver for your application? It can accomplish the same task that the 488.2 driver can and so much more.

0 포인트
3/5 메시지
4,827 조회수

Hi, 

 

Thanks for responding. I carefully read all the posts in this thread, installed all drivers from the posted links and installed the VISA driver from the here

 

I uninstalled and reinstalled them a couple of times and made sure that I included all possible supports, also the .NET supports.  

 

However, Ni4882Component.h still cannot be found, and I cannot find it on my hard drive either.

 

Thanks in advance! 

0 포인트
4/5 메시지
4,804 조회수

Hi drstockamn,

 

I just looked at the readme for 488.2 17.0 and it looks like the oldest version of measurement studio that is is compatible with is 2010. Would it be possible for you to upgrade measurement studio?

 

http://download.ni.com/support/softlib//gpib/Windows/17.0/ReadMe.html

0 포인트
5/5 메시지
4,799 조회수