From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,051 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,036 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,033 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,024 Views)