ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Errors using IMAQ PCI-1409

I'm getting an error when running a fairly basic VI to acquire a sequence from the PCI-1409 card. It is -1074397110 Exhausted resources (general). It's occurring in the 'generate pulse' bit. As far as resources go, the number of buffers in MAX is still the default 50 and I'm only trying to acquire a sequence of 2 frames at this point. Has anyone got any clues as to where I'm going wrong? If I use grab in MAX it works fine (get's 25fps).
0 Kudos
Message 1 of 5
(3,471 Views)
You are not disposing of the pulse after generating it in your VI. You must dispose of the resource at the end of your program in order to reuse it. Take a look at the following example program that shows how to set up and dispose of the pulse:
Low-level Pulse Generation example -
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E39956A4E034080020E74861&p_node=DZ52492&p_source=External
Message 2 of 5
(3,471 Views)
Ah, brilliant thank you! That's stopped that error occurring. However, I'm now getting "error -1074397150 in IMAQ Sequence.vi", " Wait timed out; acquisition not complete." I guess this is because my pulse doesn't seem to be being produced as I've got the line trig 0 (and it's associated ground) hooked up to a scope and nothing's happening so the sequence capture is timing out waiting for the pulse. Any ideas what else I'm doing wrong with the pulse to cause this?

Thanks again!
0 Kudos
Message 3 of 5
(3,471 Views)
Do you not get a pulse out with the example program either? I'm curious as to whether there is an issue with the pulse creation, or with the way it is set up in the VI you attached. If the example program works, make sure that you are setting up the pulse in the same way. Also, you still don't have a Stop Pulse function in the program...
0 Kudos
Message 4 of 5
(3,471 Views)
Hi,

I got in touch with an engineer in the end and found out that the timeout was due to the sequence aquisition waiting for a pulse to COME IN on the line, while all I was doing was sending OUT on that line. I've attached the final file for yours or anyone elses information.

Thanks!

Fred
0 Kudos
Message 5 of 5
(3,471 Views)