Go to documentation repository
The SLAVE object corresponds to the Computer system object.
The SLAVE object sends events presented in the table. Procedure is started when the corresponding event occurs.
Events | Description | Comment |
CONNECTED | Connecting | Event is generated when a Client is connected to the Server |
DISCONNECTED | Disconnecting | Event is generated when a Client is disconnected from the Server |
KEY_IGNORED_HW | Key ignored (mismatch of card codes) | Event is generated if codes of cards (or HID) in the key mismatch to current codes of computer |
KEY_IGNORED_SW | Key ignored (limitation exceeded) | Event is generated if there software limitations. For example, if key is accepted but number of created objects in the objects tree is more than specified in the key |
KEY_UPDATED | Key updated | |
PROTOCOL_RCVD | Protocol received | |
REBUILD_IN_START | Start of archive re-indexing | |
REBUILD_IN_STOP | End of archive re-indexing | |
REGISTER_ATTEMPT | Attempt of unauthorized access | |
REGISTER_ERROR | Limit of access attempts is exceeded | Event is generated when user failed to enter the system a lot of times. Some timeout is started after the event when user can’t try to enter the system. Number of attempts and timeout can be changed using registry |
REGISTER_USER | User registration | This event is generated when user tries to enter the system (when entering login and password) |
DISC_EXIST | Disk for archive record exists | |
NO_DISC | There is no disk for archive record | |
KEY_IGNORED_FR | Key ignored | Event is generated in case of key file is not recorded on the disc |
SHUTDOWN | Shutdown | |
DISC_MOUNT | Disc connected (mounted) | |
DISC_UNMOUNT | Disc disconnected (unmounted) | |
ARCHIVE_DEPTH | Archive depth | Event is generated at midnight and contains information about archive depth on all disks in hours (the depth<> parameter). To call the event manually, use the GET_DEPTH reaction. Archive depth in the Days:Hours format is specified in the Additional information field of the Event Viewer when displaying an event. Also this information contains in parameter of the param0<> event. Archive depth is counted as discrepancy between date of creation the oldest archive file and date of creation the newest archive file (on disk or by camera) |
FORCED_OFF | Forced offload | The event is generated before the forced unload of Axxon PSIM, for example, if the Guardant security key is removed. Unload is performed after the action caused it (for example, removing the Guardant key) after the time specified by the UnloadDelay registry key—see Registry keys reference guide |
DEACTIVATE_ALL_DISP | Hide all displays | The event is generated when Hide all command is executed on a computer set in slave<> parameter. If except<> parameter is present, all displays except the one specified in this parameter are hidden |
LIC_EXPIRATION | License expires in | Not generated by default. Set NotifyExpireLic = 1 to enable (see Registry keys reference guide). The days<> parameter shows the number of days left till license expiration (can be non-integer). The event is generated at Axxon PSIM start-up and when the day changes |
DATABASE_ERROR | Database connection lost | The event is generated when the connection to SQL Server is lost the first time it is accessed after the disconnection |
SCRIPT_ERROR | Script execution failed | By default, the event is not generated, since it is not added to the psim.ddi external settings file. In order for the SCRIPT_ERROR event to be generated and added to the PROTOCOL table, it must be added to the psim.ddi table (see Editing the external setting file (Axxon PSIM.ddi) using the ddi.exe utility) |
List of commands and parameters for the SLAVE object is presented in the following table:
Command—command description | Parameters | Description |
"SETUP"—set parameters for a computer | display_id<> | Display ID |
drives<> | Disks for record of video archive | |
drives_a<> | Disks for record of audio information | |
flags<> | Flags | |
arch_days<> | Size of event archive | |
connection<> | Connection | |
disable_protocol<> | Disable protocol | |
ip_address<> | IP-address of device | |
is_backup<> | Backup | |
is_load<> | Loaded | |
local_protocol<> | Local protocol | |
modem<> | Modem connection | |
name<> | Object name | |
password<> | Password | |
sync_time<> | Time synchronization | |
username<> | User name | |
"BACKUP"—backup database | - | - |
"CONNECT_ONE"—connect to a computer. Connects the corresponding computer. It is recommended to avoid using of this reaction manually | - | - |
"CONNECT_OTHER"—connect to cores. Connects computer to other cores from configuration. It is recommended to avoid using of this reaction manually | - | - |
"DISCONNECT_ONE"—disconnect from computer. Disconnects the corresponding computer. Core can be connected automatically in case of disconnection. It is recommended to avoid using of this reaction manually | - | - |
"SYNC_PROTOCOL"—run SyncProtocol.exe utility of protocol synchronization. Protocol merging is happened if synchronization is configured | - | - |
"SYNC_TIME"—synchronize time. To perform this reaction it is required to create SyncTime parameter with value 1 on the system to which reaction was addressed in the HKEY_LOCAL_MACHINE\SOFTWARE\AxxonSoft\PSIM (HKEY_LOCAL_MACHINE\Software\Wow6432Node\AxxonSoft\PSIM registry section for 64-bits system) | - | - |
"CREATE_PROCESS"—run process | command_line<> | Command line. Commands of Windows command line written without hyphens through |, & or && separating characters |
"SEND_MY_CONFIG"—send configuration. Send configuration to other computers. The same as “SPREAD_CONFIG” | - | - |
"MOVE_CONFIG"—move configuration. Moves configuration created in the objects tree on the basis of the computer–supplier to the computer–recipient | from<> | Supplier |
to<> | Recipient | |
"SPREAD_CONFIG"—spread configuration. The same as “SEND_MY_CONFIG” | - | - |
"GET_DEPTH"—get archive depth. The ARCHIVE_DEPTH event (see table below) is formed in response to reaction in system. Absence of one or both parameters concedes request of depth by records for all values of parameter | cam<> | Camera ID for which archive depth is required |
drive<> | Disk or network path on which archive depth is required. Name of disk is specified in the following format: "<letter of disk>:\\", for example drive<D:\\> Note. The "\" symbol is an escape character. Network path is specified in the UNC format | |
"ACTIVATE_DISPLAY"—change the display. The command allows showing the Display with the given identifier on the monitor (monitors) of the computer | display_id<> | The identifier of the corresponding Display object. If an empty value is passed to the parameter, then all displays are hidden when running this command |
Properties of the SLAVE object are shown in the table.
Properties of the SLAVE object | Description |
ID<> | Object ID |
PARENT_ID<> | Parent object ID |
USER_ID<> | User ID |