We have pretty regular operations that require scanning off tags, this typically happen in groups of tags from 400 to about 800 tags at once. I have written some code using AF SDK, since all these devices are located in AF, to perform the scan off or on. I've set the code to wait about 5 minutes in between changes, but i've also seen that a device doesn't always get scan set to 0, for some reason, it seems to be on the 5th device. I'm wondering if it would be better to use PI SDK to perform the tag edits, if this would eliminate a bottle neck, and if anything make sure that scan would always get set to 0.
I have read that PI SDK is deprecated and it's advised to use AF SDK in future applications. Any advice would be helpful.