Navigating the Procedures Module

Navigation:  Looking at the MCL-Designer V4 Work Area > The Project Modules Area >

Navigating the Procedures Module

Previous pageReturn to chapter overviewNext page

 

The "Procedures" module enables the viewing, adding, importing and/or exporting of global procedures, background procedures and global events.

 

Global Procedures - A global procedure is usually created to perform a recurring action. Basically, it is considered a standard program that can be reused in other projects.

Background Procedures - A background procedure is similar to a standard program except it, specifically, runs in the background, parallel to the foreground workflow, with the use of a secondary thread.

Global Events - A global event is a set of processes, similar to a routine, which is associated to a timer, to be used at project level and not just within a program.

 

Follow the links below for each of the elements in the "Procedures" module:

General Right-Click Menu below;

Available Menus for Global Procedures;

Available Menus for Background Procedures;

Available Menus for Global Events.

 

 

General Right-Click Menu

 

Access this shortcut menu by right-clicking an empty space of the "Procedures" module or the module's title.

 

This menu is used to:

 

Add Global Procedure

Add a global procedure. See Global Procedures.

Add Background Procedure

Add a background procedure. See Background Procedures.

Add Global Event

Add a global event. See How to Work with Global Events.

Library Import

Open the "Library Manager" window and import the intended element into your current project. See Import from Library.

 

 

Available Menus for Global Procedures

 

Access this menu by right-clicking "Global Procedures" - the title of the global procedure's section.

 

This menu includes the following options:

 

Add Global Procedure

Adds a global procedure. See To Add a Global Procedure to a Project.

Library Import

Opens the "Library Manager" window so you can import the intended element into your current project.

See To Import a Global Procedure from Library and/or Import from Library.

 

 

Access the following menu by clicking a global procedure included in the "Procedures" module.

 

This menu includes the following options:

 

Edit

Opens the selected global procedure's properties window so you can edit it.

Copy

Copies the selected global procedure.

Paste

Pastes the previously copied global procedure. This option is only available after a "copy" operation takes place.

Duplicate Global Procedure

Duplicates the selected global procedure with all its features, controls and processes. The duplicate has the same name as the original global procedure with an incremented number.

Delete

Deletes the selected global procedure.

Add Local Procedure

Adds a local procedure to the selected global procedure. See Local Procedures.

Add Screen

Adds a new screen to the selected global procedure. See Creating and Editing a Screen.

Add Routine

Adds a routine to the selected global procedure. See Working with Routines.

Convert to Program

Converts the selected global procedure into a program which is, then, displayed last in the tree view.

Param In

Opens the selected global procedure's "Param In" tab directly.

Param Out

Opens the selected global procedure's "Param Out" tab directly.

Open All Screens

Opens all the screens included in the selected global procedure.

Library Export

Exports the selected global procedure to Library. See To Export a Global Procedure to Library.

Library Import

Opens the "Library Manager" window so you can import the intended global procedure or any other element from Library.

See To Import a Global Procedure from Library  and/or Import from Library.

Search in ...

Opens a "Search" window. See Detail of Search.

 

The "Search in..." option enables an automatic search in the selected global procedure.

Search 'xxx'

Opens a "Search" window. See Detail of Search.

 

This "Search 'xxx'" option performs an automatic search of the selected text string in the current project and returns all the occurrences.

 

 

Available Menus for Background Procedures

 

Access this menu by right-clicking "Background Procedures" (the name of the section that displays the existing background procedures).

 

Use the following options to:

 

Add Background Procedure

Add a background procedure. See Adding a Background Procedure.

Library Import

Open the "Library Manager" window so you can import the intended background procedure or any other element into your current project.

See To Import a Background Procedure from Library and/or Import from Library.

 

 

Open the following menu by right-clicking a background procedure included in the "Procedures" module.

 

 

This menu includes the following options:

 

Edit

Opens the selected background procedure's properties window so you can edit it. See Editing a Background Procedure.

Copy

Copies the selected background procedure. Use the "Paste" option in the right-click menu of the destination element to complete the operation.

Paste

Pastes the previously copied background procedure. This option is only available after a "copy" operation takes place.

Duplicate Background Procedure

Duplicates the selected background procedure with all its features and processes. The duplicate has the same name as the original background procedure, plus an incremented number. See Duplicating a Background Procedure.

Delete

Deletes the selected background procedure. See Deleting a Background Procedure.

Add Local Procedure

Adds a local procedure to the selected background procedure. See Local Procedures.

Add Routine

Adds a routine to the selected background procedure. See Working with Routines.

Input

Opens the selected background procedure's "Input" tab directly.

Output

Opens the selected background procedure's "Output" tab directly.

Library Export

Exports the selected background procedure. See To Export a Background Procedure.

 

If the selected background procedure is a "locked" background procedure (identified with a ), this option is NOT applicable. "Locked" elements are not exportable - any export attempt leads to an error message.

Library Import

Opens a "Library Manager" window so you can import the intended element from "Library". See To Import a Background Procedure and/or Import from Library.

Search in ...

Opens a "Search" window. See Detail of Search.

 

The "Search in..." option in this menu enables an automatic search in the selected Background Procedure.

 

Search 'xxx'

Opens a "Search" window. See Detail of Search.

 

This "Search 'xxx'" option performs an automatic search of the selected text string in the current project and returns all the occurrences.

 

 

Available Menus for Global Events

 

Open this menu by right-clicking "Global Events" (the name of the section that displays the existing global events).

 

This menu includes the following options:

 

Add Global Event

Adds a global event. See Adding a Global Event.

Library Import

Opens the "Library Manager" window so you can import the intended global event or any other element into your current project.

See To Import a Global Event and/or Import from Library.

 

 

Access the following menu by clicking a global event included in the "Procedures" module.

 

This menu includes the following options:

 

Edit

Opens the selected global event's properties window so you can edit it. See Editing a Global Event.

Duplicate Global Event

Duplicates the selected global event. The duplicate has the same name as the original global event with an incremented number. See Duplicating a Global Event.

Delete

Deletes the selected global event. See Deleting a Global Event.

Event

Opens the selected global event's "Event" tab directly.

Library Export

Exports the selected global event. See To Export a Global Event.

Search in ...

Open a "Search" window. See Detail of Search.

 

The "Search in..." option in this right-click menu enables an automatic to search in the selected global event.

 

Search 'xxx'

Opens a "Search" window. See Detail of Search.

 

This "Search 'xxx'" option performs an automatic search of the selected string in the current project and returns all the occurrences.