Hello,
The values of axCvEdge2.PX/PY are 0 all the time when I try to find a label on the selected area.
How can I get the PX and PY values?
Thank you!
the code you posted is only making adjustments to the parameters of the Edge OCX - it is not actually calling any processing functions and therefore the result properties (amongst them PX and PY) cannot be expected to have useful values.
The Edge tool today is part of the Foundation package. If you are using a resonably recent version of and a reasonably recent dongle, then I don’t see why you should not be able to use TFindFirstEdge and similar functions.
(btw: posted code looks better if you enclose it in tripe-backticks before and after the code)
Hello Illusive, Our dongles do not support Foundations.
So are you telling me that Cvb.Edge.TFindFirstEdge is part of foundations now and we can not use them?
We just upgraded our old parallel dongles to usb from Stemmer, these have edge and minos tools attached to them, and we can not use Cvb.Edge.TFindFirstEdge or the execute functions which was included in your AX Tutorials from 2004 but now you have moved it to Foundations…is that true?
Illusive, we need to use Cvb.Edge.TFindFirstEdge so…what is the solution to this?
Thank you
The Edge tool became part of the Foundation Package in the 11.00.000 release of in 2011. Before that, the Edge tool was an individual tool.
I’d need more input on that before I can comment here:
What dongle (Sentinel/SafeNet/Rainbow or CodeMeter?)
What code are you referring to? Do you mean a “CVC Edge Magic Number”? These do only refer to (and work with) up to and including CVB 10.2 - all versions > 11.0 will need a Foundation Package license instead.
What exactly do you mean with “an error with our dongles when we use that code”?