Hello
I'm working in a machine vision application, i begun the development working with Labwindows/CVI 7, a PCI 1409 board (drivers NI-IMAQ 2.5.1), and the IMAQ Vision 6.0. To this point i didn't have any problem in the programming.
Recently i received the CVI 8 so i installed on the computer, and i upgraded the drivers to the NI-IMAQ 3.5, so when i run the application it had changed the bit depth from 8 (that i was working with) to 10, i changed it in the MAX, but this changes were not applied when i run the application. For some reasons of time i need to work in a 0-255 grey scale and not in 0-1023 grey scale. So as i wasn't able to change the bit depth (there's no function in CVI to change this attribute, only to read it) i decided to changed the board drivers to the old ones, the NI-IMAQ 2.5.1.
Now it comes the most curious thing, suddenly the IMAQ Vision 6.0 begin to fail (till this point there was no problem with it) now i didn't have the problem with the bit depth anymore, but when i debug the program there's the next error:
FATAL RUN-TIME ERROR: "AdquisicionImagenes.c", line 404, col 9, thread id 0x00000598: Function imaqSetupGrab: (errorCode = -1074395757 [0xbff60593]). DLL not found.
I was using the next code to configure the acquisition:
imgInterfaceOpen (Conf.Vision.nombreInterfaz, &Conf.Vision.interfazId);
imgSessionOpen (Conf.Vision.interfazId, &Conf.Vision.sesionId);
imgSetAttribute (Conf.Vision.sesionId, IMG_ATTR_CHANNEL, 0);
imaqSetupGrab (Conf.Vision.sesionId, IMAQ_NO_RECT);
I'm sorry about the length of my dude but i've tried to explained all what happened. So there could be some kind of incompatibility? I have all the .fp load, and there's no problem in the compilation, the problem comes once i run the program and get to the instruction imaqSetupGrab
Any suggestion will be appreciate
Thanks,
Juan