Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Get measurements from previous step in VBAI

Hi, I am new in Vision Builder and I would like to know how it is possible  to get measurements values from previous step to next step (which is custom step).
Is there other way than using global variable ?
I use  VBAI 3.5 and Labview 8.5.
 
Thanks for any answers
 
0 Kudos
Message 1 of 3
(3,123 Views)
Hello pisko,

If the two steps are in the same state, this is pretty easy to do without Inspection Variables.

When you use the Run LabVIEW VI step, configure the "VI Control" to "Use Measurement," and set it to the value from your previous step.

If the two steps are in different states, you can use "Inspection Variables" (Tools » Variable Manager...).
First, create a variable in the Variable manger.
Then, write the data you want the VI to access to that variable (using the Set Variable step).
Finally, use the Run LabVIEW VI step, and configure VI Control to an input variable (you can also use Set Variable to send the VI's output to a variable).
Chris Bolin
LabVIEW Partner Program, CLA
0 Kudos
Message 2 of 3
(3,101 Views)
There are also a couple good articles in the Vision Builder help:
  • Run LabVIEW VI Configuration
  • Run LabVIEW VI Control
  • Run LabVIEW VI FAQs
Chris Bolin
LabVIEW Partner Program, CLA
0 Kudos
Message 3 of 3
(3,096 Views)