01-19-2010 03:41 PM
01-19-2010 11:36 PM
The methods that are invoked return a reference to another object. And you want to work with the properties of that object.
Let's say there is a parent object. If you want to continue working with that parent object, you'd put your next invoke or property node in line with the first one.
However, let's say you want a child object of that parent. To get a reference to the child, the parent has a method called GiveMeChild that returns a reference to the child out of the lower portion of the invoke node. Now if you want to work with the child object, you string your invoke and property nodes along that wire.
Note that the objects may or may not be a parent/child relationship in the class hierarchy, but I'm using those terms liberally to help clarify an example.
01-20-2010 06:28 AM
That makes sense. Thanks for that clarification.
01-20-2010 08:01 AM
Not sure what you want to do with the smart camera and the VBAI inspection running on it, but another option is to use shared variables. You can read and write shared variables in VBAI from another machine and this might be an easier way to get or set simple data (numeric, boolean, string). If you need to get the image or get lots of results from lots of steps, the AviteX method may be better.
Hope this helps,
Brad
01-20-2010 08:12 AM