The text of a manual · part 21 of 34
MCL-Designer for Phaser Series User's Guide: Chapter 5 Simulating the Designed Project
Pages 161 to 166 of 288, from MCL-Designer for Phaser Series User's Guide
The original document is the PDF (3.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol P360 and Symbol P460
Page 161
Chapter 5 Simulating the Designed Project Testing and Simulating MCL-Designer features an integrated simulator that can test and simulate the newly designed project. The simulator offers all the functionalities of the scanner, so downloading the project is not necessary. Click to open the simulation window.
Figure 5-1. Simulator QTOUR Window
5-1
Page 162
MCL-Designer for Phaser Series User’s Guide
The Simulator window displays the menu design. To start one of the programs, click the key that corresponds to the program, as defined in the Menu options. Refer to Chapter 3, Designing a Main Menu, where the function or numeric menu key was selected. After selecting the program to work with, test the program by entering the required data. For use of the simulator keyboard, refer to the scanner’s Quick Reference Guide. Note: You can use the mouse to click on the scanner keyboard or type on the keyboard of your PC.
Working Items of the Simulator Table 5-1 lists the buttons available on the Simulator window that control the simulation process. Table 5-1. Simulator Buttons Button
Name
Description
Run
Processes to the next step in the program. If the button i green, you must click it for the program to run until the next step. This button works with the Break button.
Break
Sets a break condition, when you can only go to the next step by clicking on the Run button.
Barcode
Simulates the scanner input.
Variable
Displays the list of the different variables in the project. Every time a variable is updated, it appears on this list. A new input overwrites the old value.
Entries
Shows the field in the data files.
MCL Code Displays the MCL code of the current program.
Once the project has been successfully tested, download it to the scanner. Refer to Chapter 6, Downloading A Project on how to download the project.
5-2
Page 163
Simulating the Designed Project
Break Click on the Break button to display the Break dialog box (Figure 5-2). You can set a break on: !
each MCL-Code line or program line
!
each variable update or each variable that is read
!
one specific variable update.
The traffic light icon on the Simulator window switches to red if a break is defined. If desired, you can also click on the Succeed/Fail Dialog Box check box to display a dialog box indicating successful simulation or a failure.
Figure 5-2. Break Dialog Box
Bar Code Input To simulate a bar code input, click on . TheBarcode Input dialog box appears (Figure 5-3). Select the type of bar code that will be simulated. Then type the required input in the Scanned Data window. Note: Only select the bar codes that were previously selected in the Barcode Input Window. Refer to Chapter 4, Designing Programs.
5-3
Page 164
MCL-Designer for Phaser Series User’s Guide
Figure 5-3. Input Dialog Box
Variable List Displays the variables used during the simulation. Click on the to display the Variable List dialog box (Figure 5-4). This window can remain open while the simulator is running. The Search field allows for a quick search of a variable. Enter the first character of the variable and the first variable matching that character displays.
Figure 5-4. Variable List Dialog Box
5-4
Page 165
Simulating the Designed Project
File Viewer Displays the data files used during the simulation. Click on the to display the File Viewer dialog box (Figure 5-5). This window can remain open while the simulator is running. Select the data files to view using the File Name list box.
Figure 5-5. File Viewer Dialog Box
MCL-Code Display The MCL-Code of the project can be displayed in the MCL-Code Viewe dialog box (Figure 5-6). The viewer displays each line that is performed.
Figure 5-6. MCL Code Viewer Dialog Box The dialog box displays: !
project file name
!
current program name
!
MCL-Code line number and command line. 5-5
Page 166
MCL-Designer for Phaser Series User’s Guide
5-6