Start program

Previous chapterNext chapter Show allShow all    Hide allHide all

This function is used to execute an external program (*.exe) from the Runtime. On executing the function transfer parameters for the application to start can be defined.

Give the program file (*.EXE) as the transfer parameter. This function is configured via a dialog mask.

Configurable options are:

Name

name of file which will be executed; search and select via button is possible

Parameters

transfer parameter for program

Open this dialog on runtime

changes program and parameter during online operation when function is called

The program is selected via a dialog mask.

For the start of a program it has to be in a search path (system environment under Windows NT). User-defined programs (Visual Basic) should be stored in the installation path of zenon.

When the alarm list is active and an alarm in the list has been selected, the call of the variables' name can be transferred as a parameter (for external database information systems). The parameter is transferred as a key word.

@alarm.name

Name of the variable

@alarm.unit

unit of the variable

@alarm.value

value, which violated a limit

@alarm.stext

limit text

@alarm.ctime

time comes (value in seconds since 1.1.1970)

@alarm.ctimemilli

with milliseconds

@alarm.gtime

Time cleared

@alarm.gtimemilli

with milliseconds

@alarm.qtime

Time acknowledged

@alarm.user

user, who quitted

@alarm.identification

Identification of the variable

If no alarm list is open, or several or no alarms are selected, no transfer parameters are generated. If several alarm lists are open (global or selective list), the entry of the first found list is used.

When the Chronologic Event list is active and an entry in the list has been selected, the call of the variables' name can be transferred as a parameter (for external database information systems). The parameter is transferred as a key word.

@cel.name

Name of the variable

@cel.unit

unit of the variable (only if a variable is linked)

@cel.value

value, which violated a limit (only if limit entry)

@cel.stext

limit text

@cel.ctime

time comes (value in seconds since 1.1.1970)

@cel.ctimemilli

with milliseconds

@cel.user

user, who quitted

@cel.identification

Identification of the variable

If no Chronologic Event List is open, or several or no entries are selected, no transfer parameters are generated. If several Chronologic Event Lists are open (global or selective list), the entry of the first found list is used.

Additional parameters are:

@picture

picture from within which the function was executed

This function is used to to consider the effects of the started program on the system as a whole (required resources, multitasking, program stability, etc.).