Go to documentation repository
Resetting antipassback (APB) parameters for a given user is performed using a script sending simulated entrance/exit commands to the Gate controller:
- emulation of entrance (i.e. user entering the "In" region): the SIMULATE_ENTER command of the RAVELIN_SINGLE access point object. The person_id parameter is to contain user idin the Intellect software.
- emulation of exit (i.e. user entering the "Out" region): the SIMULATE_EXIT command of the same object with the same parameter.
These commands can only be executed for a single-door controller or a turngate.
Example:
// generating entrance if(Event.SourceType == "MACRO" && Event.SourceId == "1" && Event.Action == "RUN") { DoReactStr("RAVELIN_SINGLE","1.1","SIMULATE_ENTER","person_id<1>"); } // generating exit if(Event.SourceType == "MACRO" && Event.SourceId == "2" && Event.Action == "RUN") { DoReactStr("RAVELIN_SINGLE","1.1","SIMULATE_EXIT","person_id<1>"); }
Overview
Content Tools