RobotStudio event

How can i read every object coordinate from instruction CamGetResult

Options

Hi,

I was wondering if there is anyway that i can read each coordinate of the object in my workspace by instruction of "CamGetResult". Setting an example of my question, i have 6 parts and 3 of them is partA and the left is partB. When i picked up partA, i don't want to "randomly" picked any of partA. On the contrary, I would like to get all these 3 parts' coordinates and pick a designated one manually. I've read integrated vision manual and knew that "while...do..." loop. But i guess that there are more information stored in the instruction of "CamGetResult" since we can know how many targets we have in the workspace by "CamNumberOfResults".

By the way, I connected Congex insight series camera to Yumi and used RobotStudio to communicate or run my code with Yumi. Thank you!

Best,

Na_