Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

gpib usb C++ builder

I have installed the NI488.2 software to connect a module GPIB-USB-HS on my computer.

I want to use the "ni488.h" library with my compiler (C++ Builder).

I can't compile this library ! There is some type unknown by the compiler (such as PVOID...).

Could you please explain me where these type are defined??


Thanks,

best regards,


Lionel
0 Kudos
Message 1 of 2
(3,131 Views)
Because the standard Windows header file, WINDOWS.H, contains definitions used by NI488.H (which contains prototypes for the GPIB routines and constants), you need to include it in your application. Simply insert it just before including NI488.H, as shown below.

#include <windows.h>
#include "ni488.h"

Hope this information helps.
0 Kudos
Message 2 of 2
(3,121 Views)