Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Extract buffer

Hello Everybody,
 
I have written a VI for triggered acquisition using IMAQ and LV8.2. The camera used is an analog camera. I have configured the occurence for frame done event. When I am using the "Wait on Occurence" function with "Ignore Previous" input False, the wait on occurence function doesn't timeout even when the trigger is not given. As a result, the function "IMAQ Extract buffer" gives an error. If the "Ignore Previous" input is true, the function correctly times out if the trigger doesn't appear. Also, the trigger input is taken if the trigger provided is within that waiting interval of the "Wait on occurence" function. But my application is such that, the trigger might have occured before itself. So I do not want the "ignore previous" input to be true. How do I rectify this problem?
 
Thanks in advance,
Saranya
0 Kudos
Message 1 of 2
(3,351 Views)
Hello Saranya,

When you are using the wait on occurrence function, what value are you setting the timeout input?  The default value is a -1, i.e. the function does not time out.  What is the exact error are you getting in the extract buffer function?  If you could attach a screenshot or a very simplified version of your code that demonstrates this error, it would be helpful in giving suggestions on how to resolve the issue.

Vu D


0 Kudos
Message 2 of 2
(3,290 Views)