Problem statement
At this moment is impossible to get index of the Region Of Interest - which one was selected by user. The only width, heigth and bounding box is returned, but in some cases is impossible to get index of ROI programmatically, because different ROIs may have same bounding box:
For example, the following code will return exactly the same events for two different ROIs shown above:
Suggestion
Add ROI's index output into Get Last Event Method for Vision Display (and into IMAQ WindLastEvent SubVI for external Display):
This index should return index of the selected ROI (from 0 to n-1) or "-1" if no ROI selected (for example, user has clicked outside of ROI)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.