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

Previous page Next page


The Program system object is used to initialize the program written in the Axxon PSIM programming language in Axxon PSIM and set its execution parameters.

The Program system object is created on the basis of the Programs object on the Programming tab of the System settings window.

Note

By default, the Programs object isn't displayed on the Programming tab. To display it, you must specify the OldScript parameter of the HKEY_LOCAL_MACHINE\SOFTWARE\AxxonSoft\PSIM\ registry key (see Registry keys reference guide) or use the tweaki.exe utility (for more details, see point 19 on the page The Settings panel of the Axxon PSIM section).

Attention!

If you create a large number (more than 100) of Program system objects, it can cause system instability.

The settings panel of the Program system object is shown in the figure:

In the settings panel of the Program system object, you can specify the time schedule of program execution and computers (cores) on which the program must be executed.

Note

To set all checkboxes next to all computers, select a cell in the column with checkboxes and press Ctrl+A. To clear all checkboxes, select a cell and press Shift+A.

To pre-filter events processed by the program, set the value in the Filter field. The filter format is TYPE|ID|EVENT divided by semicolon. For example, the CAM||MD_STOP;CAM||MD_START format allows filtering Alarm and Alarm end events from all Camera objects.

There is a text editor on the settings panel of the Program system object. It is used for writing and editing the program code.

You can undo or redo some action using keyboard shortcuts in the text editor on the settings panel of the Program system object. To undo some action, press Alt+Backspace; to redo, press Ctrl+Y.

  • No labels