Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

What files to I need to implement GPIB functions in Visual C++?

I have written a program in Visual C++ (using Visual Studio .NET 2002) which contains GPIB command functions (I am sending command strings to specific devices connected through GPIB). The compiler does not recognize the GPIB functions (I am using "ibwrt()" and "ibfind()") What files do I need to add to my project in order for these GPIB functions to be defined and how to I add them to my project?
0 Kudos
Message 1 of 2
(6,685 Views)
Hi,
 
When writing a GPIB program in C++ you will need to attach the ni488.2.h file. I think the best thing for you to do is reference the shipping examples which can be found in the following files.   C:\Program Files\National Instruments\NI-488.2\Languages. In this file you will find examples for several different programming languages. Please look at these they will show you proper programming for GPIB and how to include the proper files.
 
 

Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(6,674 Views)