Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

image reference

Solved!
Go to solution

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!

 

image ref.PNG

0 Kudos
Message 1 of 4
(3,611 Views)

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?

0 Kudos
Message 2 of 4
(3,594 Views)
Solution
Accepted by topic author Neil.Pate

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.


View my profile on LinkedIn
Message 3 of 4
(3,569 Views)

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).

0 Kudos
Message 4 of 4
(3,548 Views)