Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

C examples for NI IMAQ-IO not working

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.

 

 

 

0 Kudos
Message 1 of 1
(5,258 Views)