LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vision assistant loses match,

hey guys , is the a way to buffer the previous value of my y axis from Vision Assistant , if i lose a match .

ie if y = 52 .then is i lose the image match , how do i keep y at 52 until it finds the image again? an internal data buffer of such??

0 Kudos
Message 1 of 4
(1,959 Views)

Hi, 

 

I'm Chiara, an engineer at NI, and I'll be trying to help you out with this.  I think what you probably want to look at using is a Shift Register on your loop around the vision assistant, to record the last y value.

 

Some further information on shift registers can be found here: 

Tutorial:  http://www.ni.com/white-paper/7592/en/

Community Example: https://decibel.ni.com/content/docs/DOC-6264

 

Please let me know if this helps.

 

Best wishes, 

Chiara

Chiara A
Applications Engineer with NI UK & Ireland
0 Kudos
Message 2 of 4
(1,924 Views)

hey chiara, thanks for the help. 
so far i have a shift register, that has a 3 reading buffer on it so if the image goes missing it has 3 samples to re-find it before it zero's

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

Hi, 

 

Great, I'm glad that you found the information useful and best of luck for your continued programming in LabVIEW.

 

Best wishes, 

Chiara

Chiara A
Applications Engineer with NI UK & Ireland
0 Kudos
Message 4 of 4
(1,914 Views)