09-04-2009 02:57 AM
Hi Vision experts,
I have just started tinkering with the Vision module, and am finding it quite nifty.
One rookie question I have, with an Image reference (for example coming from an IMAQdx grab), do I need to wire it through all functions, or is it ok to just use the first copy.
What I really mean is, that with normal references the reference itself is constant, and you do not need to religiously wire it though all states etc.
Please refer to the image which hopefully makes my query a bit clearer. Thanks!
Solved! Go to Solution.
09-04-2009 11:11 AM
From the tests I have done I belive it works like a normal static reference, i.e. you do not need to wire it through all possible cases.
Correct?
09-07-2009 05:33 AM
Yes you are right, it is just a normal static reference. Nevertheless, I prefer to always wire it through all nodes and use shift registers on loops. Just for code cleanness.
And second thing is, beware when you wire the Image Dst input of the vision processing VIs. In that case,the output image reference is equal to Image Dst. If Image Dst is left unwired, the output image is equal to Image Src.
09-08-2009 10:40 AM
Vladimir Drzik wrote:Yes you are right, it is just a normal static reference. Nevertheless, I prefer to always wire it through all nodes and use shift registers on loops. Just for code cleanness.
And second thing is, beware when you wire the Image Dst input of the vision processing VIs. In that case,the output image reference is equal to Image Dst. If Image Dst is left unwired, the output image is equal to Image Src.
Thanks for the tip, I did not know that about the Image Dst.
I also like wiring the reference through all nodes, but don't always wire it into a shift register (really just depends on the circumstance I suppose).