01-04-2010 10:52 AM - edited 01-04-2010 10:55 AM
i'm trying to use the ok button to operate the program to add the value in the cluster X Y (millemetre) [which is from the machine vision operation] with the value X Y offset [which i gonna input them myself] but .. i dont' know how to make it done , now i'm trying to use event structure but it's not working
plz give me some advice thanks ... by the way i'm got to make this thing done by 3 days due to my project schedule ... thank you
also this software is to locate the orientation for robot to grip the object by using CCD camera
Solved! Go to Solution.
01-04-2010 12:59 PM
Place the Event structure inside a while loop. Have a look at some of the examples that ship with LV, they for sure show this.
Then use the value change event for the ok button (place the button's terminal in that fram to have the latching behaviour set correctly).
You can pass the data of XY to the loop output in the same event frame to read it at the very moment, the ok button is pressed.
Felix