Log in
Linked Applications
Loading…
Axxonsoft Documentation
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
PSIM 1.0.0-1.0.1 (english)
Pages
Blog
Go to documentation repository
Contact technical support
Search
Page tree
Browse pages
Configure
Space tools
Documentation for
Axxon PSIM 1.0.0-1.0.1
.
Previous page
Next page
A
t
tachments (0)
Page History
Page Information
Resolved comments
View in Hierarchy
View Source
Export to PDF
Export to Word
Copy Page Hierarchy
Pages
Documentation
Skip to end of banner
Jira links
Go to start of banner
Guide for creating scripts (programming)
Guide for creating scripts. Introduction
The Program object. Programming using the embedded language of Axxon PSIM
Programming tools in Axxon PSIM
The Program system object
Debug window
Syntax analyser
Recommended procedure of writing programs
Description of syntax
Description of variables
Description of procedures
Standard procedures
Creating custom procedures
Description of operators
Operators and expressions
Description of functions
Examples of scripts in the embedded language
Examples of scripts with Cameras and Video surveillance monitor
Examples of scripts with Computer and Display
Examples of scripts with the Map
Examples of scripts with Archive and Edge storage
Examples of scripts with Macros and Time zones
Examples of scripts with PTZ devices and Control devices
Example of a script with Core
Examples of scripts with the Incident server and Incident manager
Examples of scripts with Operator protocol and Event Viewer
Examples of scripts with Operator query panel and SIP-terminal
Examples of scripts with Audio
Example of a script with Videogate
Examples of scripts with Detection
Example of a script with User
Examples of scripts with Captions
Examples of scripts with System restart service and Failover service
Example of a script with BacNet
Examples of scripts with Relay and Sensors
Examples of scripts with Message services and notification services
Appendix 1. Priorities of the start and stop recording commands
Appendix 2. Defining the param_id and param_value values for the SET_IPINT_PARAM reaction
The Script object. Programming using the JScript language
Purpose and features of the JScript language
Programming in JScript
The Script system object
The Editor-Debugger utility
The Debug window
Enabling the Debug window
Working with Debug window
Getting the list of system names of objects, reactions and events in Axxon PSIM
Creating your first script
Working with script
Creating a script
Saving a script
Deleting a script
Searching text in script
Replacing text in script
Script debugging
Script debugging features
Creating and using test events
Working with the debugging windows of the Editor-Debugger utility
Viewing the script messages
Displaying messages about starting, verifying, changing and executing scripts in the debugging windows
Using third-party debugger programs
Examples of scripts in the JScript language
Examples of scripts with Video surveillance monitor and Cameras
Examples of scripts with Map
Examples of scripts with detection tools
Examples of scripts with Macros
Example of script with Users
Examples of scripts with Incident server and Incident manager
Example of script with Failover service
Examples of scripts with BacNet
Example with Telegram bot
Examples of scripts with Event Viewer
Appendix 1. Description of the Editor-Debugger utility
The purpose of the Editor-Debugger utility
The interface of the Editor-Debugger utility
The Editor-Debugger interface
The Debug-edit script tab
The Script messages tab
Main menu
Description of the Filter dialog window
Description of the Highlight dialog window
Description of the toolbar of the Editor-Debugger utility
Appendix 2. Creating custom objects with ability to set events, reactions and states
Purpose of custom objects and their implementation in Axxon PSIM
How to create a custom object
DBI file preparation
DDI file preparation
XML file preparation
Creating and using a custom object in Axxon PSIM
Description of events and reactions of system objects
GRABBER Video capture device
CAM Camera
MONITOR Monitor
MACRO Macro
SLAVE Computer
DISPLAY Display
PLAYER Audio player
CORE
MAP Map
OLXA_LINE Microphone
TELEMETRY PTZ device
TELEMETRY_EXT Keyboard
JOYSTICK Control device
TIME_ZONE Time zone
ARCH Backup archive
FAILOVER Failover service
OPERATORPROTOCOL Operator protocol
EVENT_VIEWER Event Viewer
GATE Videogate
CAM_VMDA_DETECTOR VMDA detection
TITLEVIEWER Captions search
PERSON User
CAM_FACECAPTURE Face Detection
IPSTORAGE Edge storage
CAM_TITLE Captioner
TELEGRAM Telegram bot
CAM_IP_DETECTOR Embedded detection
SIP_TERMINAL SIP-terminal
INC_MANAGER Incident manager
INC_SERVER Incident server
DIALOG Operator query panel
MMS Mail Message Service
MAIL_MESSAGE Mail message
VMS Voice Message Service
GRELE Relay
GRAY Sensor
VNS Voice notification service
SMS Short Message Service
SSS_WATCHDOG System restart service
BACNET BacNet
Description of the object model in Axxon PSIM
The Core object and its built-in methods
The Core object
The GetObject methods
The GetObjectName method
The GetObjectParam method
The GetObjectParentId method
The GetObjectState method
The GetObjectParentType method
The GetObjectIdByParam method
The GetObjectChildIds method
The DoReact methods
The DoReact method
The DoReactStr method
The DoReactSetup method
The DoReactSetupCore method
The DoReactGlobal method
The NotifyEvent methods
The NotifyEvent method
The NotifyEventGlobal method
The NotifyEventStr method
The NotifyEventGlobalStr method
The SetObjectParam method
The SetObjectState method
The DebugLogString method
The Base64Decode method
The Sleep method
The Itv_var method
The Int_var method
The GetIPAddress method
The CreateMsg method
The Lock and Unlock methods
The IsAvailableObject method
The GetUserId method
The GetEventDescription method
The SaveToFile method
The GetLinkedObjects method
The WriteIni method
The ReadIni method
The AddIni method
The SetTimer method
The KillTimer method
The Base64EncodeFile method
The Base64EncodeW method
The run_cmd and run_cmd_timeout methods
The WriteIniAny method
The ReadIniAny method
The AddIniAny method
The MsgObject and Event objects and their built-in methods and properties
The MsgObject and Event objects
The GetSourceType method
The GetSourceId method
The GetAction method
The GetParam method
The SetParam method
The MsgToString method
The StringToMsg method
The StringToParams method
The Clone method
The GetObjectIds method
The GetObjectParams method
The SourceType property
The SourceId property
The Action property
Possible errors when working with the script and ways to resolve them
Programming guide. Conclusion
Export to PDF
No labels
Overview
Content Tools
{"serverDuration": 507, "requestCorrelationId": "8bcaf2526d4de716"}