MCL-Designer V4 Workflow

Navigation:  Getting started with MCL-Designer V4 >

MCL-Designer V4 Workflow

Previous pageReturn to chapter overviewNext page

 

MCL-Designer V4's Basic Architecture

 

The illustration below displays a basic workflow when using MCL-Designer V4:

 

 

The project is created in a workstation and, after it is finished, it is loaded, via USB cable or WiFi, to the device.

 

 

The Development Workflow of an MCL-Designer V4 Project

 

The illustration below displays a typical development workflow within MCL-Designer V4, starting with new project creation, and ending with the sending of a completed project (that is to say, an application) to a device.

 

 

Step-by-Step

 

1. Create a new project. See Creating a New Project.

 

2. Edit the initial program ("Main program") which is automatically added after creating a new project.

Create all the necessary program routines and procedures in the Main program. See How to Work with Programs.

 

3. Edit the initial screen which is automatically generated after creating a new project.

 

4. Add objects to the screen (items such as text, shapes, menu buttons, etc.) and edit their style for customization. See How to Work with Screens.

 

5. Add processes to the screens and the objects within (processes contain the logic of the application). See How to Work with Processes.

 

6. Create any additional programs that are required for the application (for example, an inventory program, an audit program, etc.) and furnish them with screens, program routines, procedures and processes. (repeat steps 4 to 5). See How to Work with Programs.

 

7. Use MCL-Designer V4.'s "Verifier" to make sure the project does not contain any inconsistencies or errors. See Detailing the Icon Shortcut Bar.

 

8. Test the applications on your computer, with the help of the "Simulator" contained in MCL-Designer V4. These simulation and debugging steps are useful for highlighting logic flow and code flaws. See Simulating a Project.

 

9. Finally, once the project is thoroughly tested, it can be moved to the production environment by using the "Load to Device" option (located in the Menu Bar Area > Project) or the icon. The project is now ready for production use. See Loading an Application/Project to a Device.

 

 

Example of an Application Workflow

 

Below is an example of the workflow of a simple data collection application.

The device operator enters the number of the reference document (Header screen) and, then, reads an item's barcode (Item screen). As an addition, the device operator can view the scanned items, delete all entries or print the file (List screen).

 

 

 

In this example, most of the workflow is managed via button objects. Each button object contains the default “On Click” event (event=action performed by the device operator that triggers processes) to which a Go to process with a specified destination was added (process=action triggered by the event). As a result, whenever the device operator clicks a specific button in the device’s screen, he is redirected according to the destination you have selected within that “Go to” process (ex: B - In the Start screen, if the device operator clicks the button “Continue”, he will proceed to the Header screen).

The default event associated to an input keyboard or an input barcode object is an “On Change” event (Header and Item screens). In this case, the process(es) you add to the event are triggered when the device operator enters data and presses <ENTER> in the device’s keyboard, or simply scans a barcode.

 

The purpose of the Header screen is to collect the document number and redirect the device operator to the Item screen. So, a process was added(C) to the input keyboard object:

Go to S: Item

 

The purpose of the Item screen is to save the entered data into a file and view a data input confirmation window. Therefore, 3 processes were added to the input barcode object (D):

Write Record <name of the file where the data is being written>

Message Box

Go to <End of Action> to ensure the end of the file writing and allow the next scan

 

This data collection application also allows the device operator to check the data being entered. Once the device operator is redirected to the List screen, with the help of the “Browse List” button, you can not only view the entered data (in the file browse object) but you can also delete that data. In this case, the button “Dell All” does not redirect the program’s workflow to another screen (there is no Go to process added to the “On Click” event) but performs a delete action (G).

 

If required, the device operator can print the file.

The default “On Click” event of the “Print File” button on the List (H) screen includes a specific Go to process (GoSub) that calls for a routine (routine=a set of processes representing specific or recurrent tasks) designed to trigger the printing of the file displayed in the file browse object. The routine must finish its processing with a Go to <Exit> and the “On Click” event of the “Print File” button should include a Go to <End of Action> process which is necessary to conclude the action.

As a result, when the device operator clicks the “Print File” button, the routine is called and the file is printed.