02-17-2010 05:00 PM
Thanks Eric. I decided to take out the event structure, since it really doesn't seem to help or hurt me with the time out errors and the inconsistant image read out times.
I have been trying to get a 1:1 correspondence as you described, but I am not sure if I am doing it correctly. Please see the attached screenshot. Now I am having even more difficulties than using the VI's I showed in my last post. I have no idea what I need to do to ensure that there is a 1:1 correspondence...
I have also been trying to alternate turning on and off my light source with my trigger pulses, so I can verify that each image is correctly acquiring for each high pulse. After looking more at the results using the code in my previous post's screenshots it looks like indeed their is a 1:1 correspondence. What I mean by this is that every other image is dark when the light wasn't turned on, and the trigger pulse was still sent. It also doesn't seem that there was any "bleeding" over to the subsequent images. However, as I mentioned it requires that I wait about 5ms after reading out each image. If I take out the wait VI it still has the time out problems everytime when the trigger pulse is short (e.g. 1,2,3,4ms)? Does this really mean that I have a 1:1 correspondece or am I just fooling myself? I suppose it is possible that their is some "bleeding", and I can't see it with my eyes when looking at the images. Maybe it only shows up as a time out error with the short trigger high times.
Also what did you mean by "IMAQdx will help you do this by letting you define a behavior for requesting a buffer that is too old and is no longer in memory"? Is this in a particular IMAQdx VI, or are you refering to the get image VI?
Thanks again for your help.
Kevin