Documentation for Axxon PSIM 2.0. Documentation for other versions of Axxon PSIM is available too.

Previous page Next page


The SLAVE object corresponds to the Computer system object.

The SLAVE object sends events presented in the table below. Procedure is started when the corresponding event occurs.

Events

Description

Comment

CONNECTED

Connecting

Event is generated when a Client connects to the Server

DISCONNECTED

Disconnecting

Event is generated when a Client disconnects 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 the current codes of the computer

KEY_IGNORED_SW

Key ignored (limitation exceeded)

Event is generated if there are software limitations. For example, if key is accepted but the number of created objects in the hardware tree is greater 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 the user fails to enter the system many times. A certain timeout occurs after the event when the user can’t try to enter the system. You can change the number of attempts and timeout by using the registry

REGISTER_USER

User registration

This event is generated when the user tries to enter the system (when you enter login and password)

DISC_EXIST

Disk for archive recording exists


NO_DISC

There is no disk for archive recording


KEY_IGNORED_FR

Key ignored

Event is generated in case the key file isn't recorded on the disk

SHUTDOWN

Shutdown


DISC_MOUNT

Disc connected (mounted)


DISC_UNMOUNT

Disc disconnected (unmounted)


ARCHIVE_DEPTH

Archive depth

Event is generated at midnight and contains the information about archive depth on all disks in hours (the depth<> parameter). To call the event manually, use the GET_DEPTH reaction.

When you display an event in the Event Viewer, specify the archive depth in the Days:Hours format in the Additional information field. Also, this information is contained in the param0<> event parameter.

The archive depth is counted as discrepancy between the date of creation of the oldest archive file and the date of creation of the newest archive file (on the disk or by a camera)

FORCED_OFFForced offloadThe event is generated before the forced Axxon PSIM unload, for example, if you remove the Guardant security key. Unload is performed after the action that cause it (for example, when you remove the Guardant key) after the period specified by the UnloadDelay registry key—see Registry keys reference guide
DEACTIVATE_ALL_DISPHide all displaysThe event allows hiding all screens on the computer specified in the slave<> parameter. If the except<> parameter is present in the event, then the system hides all screens except for the screen with the specified ID in this parameter
LIC_EXPIRATIONLicense expires in

Not generated by default. To enable it, set the NotifyExpireLic = 1 key (see Registry keys reference guide).

In the days<> parameter, specify the number of days left until the license expiration (can be a fractional number). The event is generated when you start Axxon PSIM and after the day changes

DATABASE_ERRORDatabase connection lostThe event is generated when the connection with the SQL Server is lost and you first access to it after disconnection
SCRIPT_ERRORScript execution failedBy default, the event isn't generated, since it isn't added to the main.ddi external settings file. If you want the SCRIPT_ERROR event to be generated and recorded to the PROTOCOL table, you must add it to the main.ddi table (see Editing the main.ddi external settings file using the ddi.exe utility)

List of commands and parameters for the SLAVE object is presented in the following table:

Commandcommand description

Parameters

Description

"SETUP"—set parameters for a computer

display_id<>

Display ID

drives<>

Disks for recording the video archive

drives_a<>

Disks for recording the audio information

flags<>

Flags

arch_days<>

Event archive size

connection<>

Connection

disable_protocol<>

Disable protocol

ip_address<>

Device IP address

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

NA

NA

"CONNECT_ONE"—connect to the computer. Connects the corresponding computer. We recommend you avoid using this reaction manually

NA

NA

"CONNECT_OTHER"—connect to cores. Connects the computer to other cores from the configuration. We recommend you avoid using this reaction manually

NA

NA

"DISCONNECT_ONE"—disconnect from the computer. Disconnects the corresponding computer. In case of disconnection, the core can be connected automatically. We recommend you avoid using this reaction manually

NA

NA

"SYNC_PROTOCOL"—run the SyncProtocol.exe utility of protocol synchronization. If the synchronization is configured, the protocol merges

NA

NA

"SYNC_TIME"—synchronize time. To perform this reaction, you must create the SyncTime parameter with value 1 on the system to which reaction is addressed in the HKEY_LOCAL_MACHINE\SOFTWARE\AxxonSoft\PSIM (HKEY_LOCAL_MACHINE\Software\Wow6432Node\AxxonSoft\PSIM for the 64-bits system) registry section

NA

NA

"CREATE_PROCESS"—run process

command_line<>

Command line. Commands of the Windows command line written without hyphens through the |, & or && separating characters

"SEND_MY_CONFIG"—send configuration. Send configuration to other computers. The same as “SPREAD_CONFIG”

NA

NA

"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”

NA

NA

"GET_DEPTH"—get the archive depth. The ARCHIVE_DEPTH event (see the table above) is formed in response to a reaction in the system. Absence of one or both parameters concedes request of depth by records for all possible parameter values


cam<>

Camera ID for which the archive depth is required

drive<>

Disk or the network path on which the archive depth is required.

Name of disk is specified in the following format: "<letter of disk>:\\", for example, drive<D:\\>

Note. The "\" character is the escape character.

The network path is specified in the UNC format

"ACTIVATE_DISPLAY"—change the display. The command allows showing the display with the specified identifier on the monitor (monitors) of the computer

display_id<>The identifier of the corresponding Display object. If the empty value is passed to the parameter, then all displays are hidden when you execute this command

Properties of the SLAVE object are shown in the table:

Properties of the SLAVE object

Description of the object properties

ID<>

Object ID

PARENT_ID<>

Parent object ID

USER_ID<>

User ID


  • No labels