Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

assign variables

How can I update a variable with a measurement taken in another state? FYI:"set to measurement" is not active for new states
0 Kudos
Message 1 of 2
(3,002 Views)
Hello AndreBP,
 
You can use User-Defined Global Variables to pass data between states.  Found under Use Additional Tools, Set Global Variable will allow you to modify any global variable you have created previously with the Global Variable manager.  You cannot set a global variable to a measurement you acquired in a previous step, and therefore, you will need to set that measurement to an additional global variable in the step in which it was acquired.  You may then set your variable from the additional one you created in any other step you wish.
 
Regards,
 
Jasper S
0 Kudos
Message 2 of 2
(2,982 Views)