PE program that locks a door getting disabled with error "Unable to lock door while timed unlock is in effect" or "Unable to lock door while permanent unlock is in effect"
Door has been timed unlock.
When a door is unlocked via the PermanentUnlock flag or the Timed Unlock attribute, PE programs are not allowed to re-lock the door.
From the command line print the permanent unlock attribute of the door, if attribute is true re-set it to false.
The name of the attribute is PermanentUnlock
From the command line print the timed unlock attribute of the door, if attribute is > 0 re-set it to 0
The name of the attribute is TimeUnlock
- Add a line E to the program to keep it from getting disabled.