Go to documentation repository
Previous page Next page
To set the additional settings of the external plates database, do the following:
Set the Extended mode checkbox (2) to use the special algorithm for recognizing violators in accordance with restrictions imposed on license plates depending on the day of the week. In this case, all recognized plates that are found in the license plates database are always passed without alarm regardless of the content in the lprdb_rules.xml file. If the recognized plate isn't found in the license plates database, then the execution of rules from the lprdb_rules.xml file (or lprdb_rules_X.xml, where X is the ID of the External Plates DB object if you want to set the extended mode for this DB separately) is checked. This file must be located in the <Auto PSIM installation directory>\Modules64\ folder. In this file, you can specify the day of the week and the time interval within which vehicles whose license plate ends with the specified digit are forbidden to pass.
Example
Example of the lprdb_rules.xml file content. With this file, you can forbid the passage on Mondays for the following vehicles:
1. Vehicles with the last digit of the license plate equal to 1, in the time interval from 12:00:00 PM to 4:00:00 PM and from 8:00:00 PM to 10:00:00 PM.
2. Vehicles with the last digit of the license plate equal to 8, in the time interval from 10:00:00 PM to 13:00:00 AM.
<LPRDB_Rules> <DayOfWeek value ='Monday'> <! The day of week> <Alarm match='1'> <! The last digit of the license plate> <Time from='12:00:00' to='16:00:00'/> <! Time interval> <Time from='20:00:00' to='22:00:00'/> <! Time interval > </Alarm> <Alarm match='8'> <Time from='22:00:00' to='23:00:00'/> </Alarm> </DayOfWeek> <DayOfWeek value ='Tuesday'></DayOfWeek> <DayOfWeek value ='Wednesday'></DayOfWeek> <DayOfWeek value ='Thursday'></DayOfWeek> <DayOfWeek value ='Friday'></DayOfWeek> <DayOfWeek value ='Saturday'></DayOfWeek> <DayOfWeek value ='Sunday'></DayOfWeek> </LPRDB_Rules>
Setting the additional settings of the external database is complete.