Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

acquisition window invalid

Hello,

  I have been using this piece of code (refer attachment) for my redlake es2093 camera with a double exposure mode with labview 6.1 base version. Of late i have been getting this error which the IMAQ configure buffer.vi has been generating in my code and other example codes.

error  -1074397067
possible reasons:
NI-IMAQ:  requested acquisition windows invalid

I have no idea why this is happening. I also happen to notice that while using the Measurement and Automation Explorer to check the camera, the  Grab function works fine but the Snap function gives a "did not receive all expected video data within the timeout period".

Can someone help me figure out what is happening and  fix the error?
0 Kudos
Message 1 of 9
(5,016 Views)

Hi Raja,

I was wondering, have you always seen this problem occur in the past and What version of NI-IMAQ are you using?  I know there was an issue with acquisition window settings that was fixed with NI-IMAQ 3.1.3 or later.  Try upgrading to NI-IMAQ 3.1.3 and see if both the Measurement & Automation Explorer timeout and the LabVIEW error go away.

Hope this helps,
Irene Chow
National Instruments
Applications Engineer

 
0 Kudos
Message 2 of 9
(5,001 Views)
Hi Irene,

I am using NI-IMAQ version 3.1.3. The problem has appeared only recently. The code and some modified examples were working fine the last time I used them. The error is being generated by the configure buffer vi. The Measurement & Automation Explorer times out only with the snap function. the grab function works just fine .. which i think its because it does not involve the configure buffer vi. Can this is have something to do with the OS .. i'm using windows 2000.

regards,
raja
0 Kudos
Message 3 of 9
(4,983 Views)
Hi Raja,

It may be that the camera file or driver that got corrupted.  Try repairing or reinstalling NI-IMAQ 3.1.3.  Also, find a fresh copy of the camera file to use; perhaps the acquisition window settings got messed up there.

Let me know what happens,
Irene Chow
National Instruments
Applications Engineer
Message 4 of 9
(4,963 Views)
Hi Irene,

Thanks for the suggestions. I will try reinstallation of the drivers and with the new camera files and let you know what happens. Meanwhile I tried installing the hardware on a different machine with windows xp. I face a different problem here. The imaq card is automatically recognised by windows as a "PCI standard RAM controller" and not an NI IMAQ device. The necessary IMAQ drivers (v3.1.3) have been installed. Uninstallation and reinstallion does not help either. I'm unable to get the card recognized as a NI device. Do you have any workaround for this issue??
Thanks,

Regards,
Raja

0 Kudos
Message 5 of 9
(4,944 Views)
Reinstalling NI-IMAQ worked !! thanks ..

the "PCI standard RAM controller" issue is still not clear to me. The OS on the other pc would not recognize the device correctly not let me install the specific driver!

regards,
raja



0 Kudos
Message 6 of 9
(4,938 Views)

Hello Raja,

 

 

That does seem odd that your IMAQ card would be recognized as a PCI standard RAM controller.  What kind of IMAQ card do you have?  Occasionally I’ve had luck with deleting a card out of device manager and then going to Add Hardware Wizard to add it back in.  Windows will then detect the best driver for the card and will hopefully install the IMAQ driver and recognize it as an IMAQ card.  

 

 

If this doesn’t work you could try the newest version of driver (3.5.1) which is bundled with the vision software now.  This driver will not work for LV 6.1 but it would tell you if it is just a driver issue that you were encountering.

 

 

I hope this helps clear things up,

 

Travis Marsh
NI Florida
0 Kudos
Message 7 of 9
(4,925 Views)
Hi Travis,

I have an IMAQ PCI-1428 card. deleting the card just didnt work for me. It would get wrongly recognized again the next time i try to add it back in. After a bit of tinkering I found that microsoft was loading the wrong driver from machine.inf (you will find this in C:\windows\inf). I tried copying this file elsewhere and asking the hardware wizard to install the card. Now it lets me choose IMAQ driver but the resources allocated to the device aren't fine. I guess it was trying to use the same resources that the PCI standard RAM controller needed which cant be allocated to the IMAQ card. I dont know how to continue further.

About the IMAQ 3.5.1 driver, I did give it a try but I keep getting a 1935 Error.

thank you,
raja
0 Kudos
Message 8 of 9
(4,914 Views)
Hello Raja,
 
It sounds like you've been doing some great troubleshooting so far.  I don't know exactly what Windows is doing under the hood that it keeps trying to load the wrong driver.  I would try a different PCI slot because it may try and assign all of the driver and resources fresh.  As far as error 1935 there is a great KnowledgeBase that I found by searching ni.com for error 1935.  This details what happens when you encounter error 1935 during the VISA install portion of the installer.  I actually had this same problem on my home computer and that KB was able to help me out.
Travis Marsh
NI Florida
0 Kudos
Message 9 of 9
(4,897 Views)