Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5625

NI488.2 Installation for Visual Studio C/C++

$
0
0

Hi, I'm trying to control a Measurement device via GPIB. The connection works fine. I want to programm the device with C/C++, and downloaded NI488.2. Including the header NI488.2h works just fine, but running the example somehow I'm getting a lot of errors:

e.g 

C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\lib64\msvc\ni4882.obj:1017:22: warning: null character(s) ignored
C:\Program Files (x86)\National Instruments\Shared\ExternalCompilerSupport\C\lib64\msvc\ni4882.obj:1017:25: error: stray '\20' in programm
Checking the help file, The installation Guide says: Include the header File   AND   To build the application i need to enter following command line: cl /I"%NIEXTCCOMPILERSUPP%\include" cprog.c "%NIEXTCCOMPILERSUPP%\lib32\msvc\ni4882.obj" /MD
 
Sadly i have no Idea about Compilers and Commands and so on. Can somebody  maybe help me/explain me, where i need to paste it?

Thanks! 

Viewing all articles
Browse latest Browse all 5625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>