Open todpale opened 5 years ago
$zk->disableDevice(); and $zk->enableDevice(); just to prevent device not responding when library read data from it. By invoke $zk->disableDevice(), user will wait until reading process finish. Because all user data have been read with $users = $zk->getUser(), you can disconnect before you process the data. User data have been stored on variable $user.
@kamshory thanks a lot!
Hello! Thank you very much for so helpful library! I have a question connecting with methods calling. I get the attendances and user data for variables. Can I enable and disconnect the device after this and then make the PHP array processing? For example, I have this code now:
I want to do like this:
Is it real? I would test this idea, but I work with frequently used gadget and don't want to interrupt its process :)