Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

C examples for NI IMAQ-IO not working

$
0
0

Hello,

 

I am currently developping for NI PCIe-8255R. I would like to use C functions (which use imaqio.lib for IMAQ IO) like "imaqioOpen ()", so I wrote a small main program with just "imaqioOpen()" and "imaqioClose()". I managed to compile it, but whenever I run it, I receive "an internal error has occurred". Then I tried MSVC examples for IMAQ IO like "Digital Test Panels.exe" to switch on an ISO output (to light a lamp linked to an ISO output) but I received the same reply.

Actually, none of .exe files in MSVC for IMAQ IO directory work. They all do display the dialog box when I run them, but when I click on the "Open" button, I receive "an internal error has occurred".

 

Strangely, Labview examples in IMAQIO.llb (like Digital test Panels in Labview) work (I can switch on lamps by switching on ISO outputs). 

 

I run them on Windows 7.

 

Any help would be greatly appreciated.

 

 

 


Viewing all articles
Browse latest Browse all 2147

Trending Articles



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