Project Execution settings

The project's execution properties are used to set and enable/disable its statistical data procedures and any commands or basic routines that must be executed at  project startup or shutdown.

To edit the project's Execution properties, select the object with the mouse and use the Movicon 'Properties Window'.

 

 

Startup Screen

The name of the Screen to be displayed at project startup is entered in this box. When this property is not set, therefore without any Startup Screen specified, Movicon will check to see if one exists in the name of 'Main' at the startup of the project's runtime and will load it if it does. However, when this property has not been set with a specific startup screen and a 'Main' screen does not exist, Movicon will randomly load one of those present in the project at startup.

Startup Script

The name of the Basic Script to be executed upon project startup is entered in this box. The Script can also be selected by using the '...' button on the right.

 

Shutdown Script

The name of the Basic Script to be executed upon project shutdown is entered in this box. The Script can also be selected by using the '...' button on the right.

 

Startup Commands

The Movicon 'Command List' is opened by clicking the '...' button on the right and allows you to set a list of one or more commands to be executed upon project startup.

For further information on the commands available, please refer to the paragraph on "Command List".

 

Shutdown Commands

The Movicon 'Command List' is opened by clicking the '...' button on the right and allows you to set a list of one or more commands to be executed upon project shutdown.

For further information on the commands available please refer to the paragraph on "Command List".

 

Pre-load Screens

This option allows all those screens marked with "Not destroyable" option to be preloaded at the project startup. This option is not set for default when new screens are created in the project.

When this option is set, Movicon will scan all existing screens at the project runtime startup and preload in memory all those which are marked with the "Not Destroyable" option. 

This operation started functioning with the 956 build and allows maximum velocity when changing pages when needed due to the fact that the screen to be opened will have been already preloaded before being activated.

 

This operation also happens for child project screens only when the child project is marked as executable and in auto run, and when the screens are marked with the preload option.

 

Start Full Screen

Enabling this option will startup the project in Full Screen mode and, therefore, without displaying the title bar.

 

Show Status Bar

Enabling this option will also display the Movicon status bar during the Runtime phase.

 

Show Output Window

Enabling this option will also display the Movicon Trace window during Runtime. The Trace, Output or Debug window is very handy to have especially while debugging the Project.

 

Enable Renaming Manager

This option allows to enable or disable the Renaming Manager for variables and resources  (see "Renaming variables" and "Renaming Resources"). When this property is enabled, you will not need to replace the old name in various parts of the project where it is used with the new name of the variable or resource you are renaming. Disabling this property will prohibit the automatic replacement of variable or resource names.  

 

 

Enable Statistics

This property is used for enabling or disabling project statistical data acquisition. This data can be seen using the "Watch window".

 

 

Startup Commands after Drivers

Enabling this option will execute the startup commands after the communication drivers have been started up.  This property can only be used when the "Sync at Startup" property has been set to true in the General Driver Settings window.

 

Static Object in Background

Enabling this option will activate the static object management for all those screens which have their own "Static Object in Background" open enabled. For further information on this subject, please refer to the paragraph on "Handling Static Objects in Screens".

 

Hide Desktop

When enabling this option the Desktop's icons will be hidden and, therefore, inactive.

Please note that the Windows "Show Desktop" button presented in the 'Quick Start' of  the "Task Bar", permits the Desktop to be reactivated. To avoid this from happening, you will need to disable the 'Task Bar' as well.

 

Hide Start Button

When enabling this option, the Windows Start button will be hidden and, therefore, inactive.

 

Hide Task Bar

When enabling this option, the 'Task Bar' will be hidden and, therefore, inactive.

 

Hide System Clock

When enabling this option will hide the clock displayed in the Windows' 'Task Bar'.

 

Disable Task Switching Keys

When enabling this option, the Windows switching keys such as CTL+ESC, ALT+TAB, etc, will be deactivated.

 

Disable Task Manager

When enabling this option, the Windows' Task Manager will be deactivated.

 

Disable Ctrl+Alt+Del

When enabling this option, the use of the Windows Ctrl+Alt+Del will be deactivated.

 

The Windows Vista O.S. and later versions do not allow you to disable these keys completely.  Instead, a selection screen proposed by the O.S. will open.

 

ROT

When enabling this option, the "PmeDocCmdTarget" interface will record in unsafe mode in the ROT (Running Object Table). For example, this will allow connections to this interface even when the project is run as service.

In order to use the "ROT any Client" option correctly, you will need to enable the "ROT" option and insert the below indicated Windows registry keys.

If the Movicon.exe and MoviconRuntime.exe modules need to be used, you will need to insert the following keys:

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AppID\{BD63E682-1B76-4DDD-AF96-57F3B7EE0567}]

"RunAs"="Interactive User"

[HKEY_CLASSES_ROOT\AppID\MoviconRuntime.exe]

"AppID"="{BD63E682-1B76-4DDD-AF96-57F3B7EE0567}"

[HKEY_CLASSES_ROOT\AppID\Movicon.exe]

"AppID"="{BD63E682-1B76-4DDD-AF96-57F3B7EE0567}"

 

When using the MoviconService.exe module, you will need to insert the following keys:

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AppID\MoviconService.exe]

"AppID"="{BD63E682-1B76-4DDD-AF96-57F3B7EE0567}"

[HKEY_CLASSES_ROOT\AppID\{BD63E682-1B76-4DDD-AF96-57F3B7EE0567}]

"LocalService"="MOVICON"

 

ROT Any Client

When this option is enabled, the "PmeDocCmdTarget" interface will be recorded in the Windows' ROT (Running Object Table) in non safe mode. This will allow you to use the "PmeDocCmdTarget" as well when the project is started up as Windows service.

 

 

Show Service SysTray Icon

When this option is enabled, the Service SysTray Icon will display when Movicon is started up at Service.

 

Show Service At Logon

When this option is enabled, the Service's Main window will display after Windows logon.

 

 

See Also