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

NI488 c console examples, build, but can't connect to GBIB-USB (windows)

$
0
0

The standard C examples compine and link ok, but none so far seem to communicate with GPIB0.

 

I am using visual C, and the command line in the readme for the build:


    cl /I"%NIEXTCCOMPILERSUPP%\include" FindInstruments.c "%NIEXTCCOMPILERSUPP%\lib32\msvc\ni4882.obj" /MD

 

no compile errors (I did coment out conio.h, it is not in vs c anymore?)

 

output after the run:

Error : Unable to open board
ibsta = 0x8100 iberr = 5 (ESAC)
Cleanup: Taking board offline

 

I can talk to the adapter with all the other tools in the install, and see my instruiments.

 

Compiled console examples can not find the USB adapter.

 

Any ideas?

 

Thanks

Randy


Viewing all articles
Browse latest Browse all 5565

Trending Articles



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