Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Visual C++ 6.0 Include Functions Needed

 
0 Kudos
Message 1 of 4
(3,056 Views)
You might want to take a look at some of the shipping examples that come with the driver. Generally these are installed at:

C:\Program Files\National Instruments\NI-488.2\Languages\Microsoft C

You will also find ni488.h in this directory.

Shawn B.
National Instruments.
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 4
(3,041 Views)
Shawn
Thanks for the response. ni488.h is not compatable with visual c++ 6.0, it has over 200 errors when i compile the project

Thanks again
John
0 Kudos
Message 3 of 4
(3,038 Views)
John,

ni488.h is compatible with Microsoft Visual C++ 6.0. I imagine the errors you are getting are linking errors? If so you need to add gpib-32.obj to your project as well.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 4 of 4
(3,029 Views)