01-02-2013 01:48 AM
Hello !!
I just learned the VB using vision tool.
In the " Mechanical Assembly Example" using the VB6.
We can detect the mising part using the edge line detection.
With 1 model is ok, but i want to detect many model for our parts.
But I can not save the line detect for model by model.
Can you help me how to save the edge Line detection position for model by model.
Because with 1 model, I can insert lines to detect part, but when I closed my sofware, it can not save my line.
And if we have many model, how I can change data by model.
By support me with source code for example.
Thanks.
01-02-2013 09:34 AM
how we use to database for this case ???pls help me your code
01-03-2013 10:08 AM
Just to make sure I understand correctly, you set the line and it works for all parts inspected during a given run of the software. When you close the program and reopen it, you have to reset the line?
Have you considered hardcoding the line information and creating different programs for each model?
01-03-2013 07:52 PM
Hello Cameron-T
"Have you considered hardcoding the line information and creating different programs for each model?"
Yes, I want to mae the line information and creating different programs for each model.
Can you help me how to make it ?
Thanks
01-04-2013 05:04 PM
Generally speaking, when the user interface comes up to define a line you are creating a variable that is then used for the rest of the code. You would need to save that variable and then hardcode the values into the part of the program where it is used. I can't speak specifically because I don't know the specific example. Where did you find the example. I can take a look and give you specifics if you let me know.