Just a thought, you seem to know your way around the rockwell PLC, but you did call the subroutine from main?
"Sadly" the AOI source code isn't published, or it wasn't back then - things may have changed since I left.
But it would also seem they did in fact update the AOI? You say it doesn't look exactly the the one in the manual I linked to?
Then you may have the more advanced AOI, it was developed by the training team and they started "giving" it to customers just before I left, so I never did get any experience with that - and come to think about it, they actually did release the source code for that.
Sadly I have lost all my old files, so I can't even try to set up a system, my license is probably also expired by now.