Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

why do i get c2282 compile errors on examples using c++?

I just installed the NI board and can communicate with equipment using LAbView but when I compile an example in C++ I get error C2282 from decl-32.h missing ','?
0 Kudos
Message 1 of 2
(3,262 Views)
Hello!

Thanks for contacting National Instruments.

I'm going to need to get some more information from you in order to be able to help you. First off, which example is it you are trying to compile? Also, what kind of NI board are you using? From the sounds of the error, it sounds like whatever program you are using is not including all the correct libraries and header files. Be sure to include all the correct library paths and include paths in your program.

Regards,
Steven B.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,262 Views)