# Steps of the Dynamic Test

During the Dynamic Test, you physically run a target box, specifically built for the test, through the vision tunnel multiple times. The readers take images of the box as it runs through the vision tunnel on the conveyor belt. While the box runs on the conveyor belt, you navigate through the steps of the test in the user interface of your EI Tunnel Manager unit. The test validates the proper functioning of the vision tunnel and gives you visual feedback and detailed test results in the user interface for each step.

The test consists of six steps, which you can access through the Dynamic Test page of the Tunnel Setup app. The user interface guides you through the steps. The test is mostly automatic and it requires little user input.

The following image shows the steps of the test in order.

Step | Description
1 | The Welcome step prepares the readers on the vision tunnel for the test.
2 | Trigger Check is an optional step, which validates whether the box passing through the vision tunnel correctly triggers the readers.
3 | The Encoder Check step validates whether each reader is receiving an encoder signal.
4 | The Left-Justified Test step validates that the readers properly read barcodes if the box is running on the left side of the conveyor belt.
5 | The Right-Justified Test step is similar to the Left-Justified Test, but the box is running on the right side of the conveyor belt.
6 | The Restore & Report step restores the readers to their original settings and allows you to generate and download a report of the test results.

## Welcome

This step prepares the readers on the vision tunnel for the test as follows:

1. Runs device discovery to discover the Multi-Reader Sync (MRS) group of the vision tunnel.

2. Makes backups of the reader settings.

3. Modifies the reader settings for the purposes of the test.

Note: At the end of the test, the app restores the original settings of your readers and reboots them. You can manually download the backups, but it is not necessary.

Number | Description
1 | The progress bar gives you information about the status of the current step of the test.
2 | Click the download button to manually download the backups.
3 | Click the eye icon to access detailed information about the readers in the MRS group.
4 | Click Cancel Test if you want to cancel the test for any reason. If you cancel the test, the app automatically restores the original settings of your reader.
5 | Click Start to proceed to the next step.

## Trigger Check

The Trigger Check step helps you to validate whether the box passing through the vision tunnel correctly triggers the readers. This is an optional step, which means that you can skip this step and still complete the test. If there is a problem with triggering, however, the test might fail because of it.

Vision tunnels typically use a photoeye to control the triggering. The photoeye, also known as a photoelectric sensor, detects the presence or absence of boxes using a light beam. When a box interrupts the light beam, the photoeye senses this change and sends out a signal that turns the trigger on. The test validates whether the trigger signal and the trigger delay settings are correct.

Number | Description
1 | The green circle on the left side of the user interface shows that the trigger is currently on. If the circle is grey, the trigger is currently off. As the box passes through the vision tunnel, validate that the trigger turns on and off at the correct time.
2 | The Trigger Check step shows instructions for fixing common problems with the photoeye. The instructions appear on the right side of the user interface.

## Encoder Check

In the Encoder Check step, first specify the normal speed of your conveyor belt using the input field. Then run the target box through the vision tunnel to validate that each reader is receiving an encoder signal.

After the box passes through the vision tunnel, the results appear in the user interface. Each line represents a reader and provides the following details:

Element | Description
Device Name | The name of the reader.
Encoder Resolution | This is a setting of the reader.
Calculated Belt Speed | The calculated belt speed is computed based on encoder pulses received by the reader, the encoder resolution, and the trigger time. Note: Inconsistent calculated speed results can indicate physical (electrical wiring, mechanical coupling) problems or configuration errors.
Double Rate | This is a setting of the reader.
Pass | A green check mark or a red X, indicating whether the test passed or failed.
Status Message | Provides additional information about the reason why the test failed.

## Left-Justified Test

The Left-Justified Test step involves running the target box through the vision tunnel. You place the box on the left side of the conveyor belt with the front of the box facing downstream. The test validates whether the readers can read the various codes on the target box in this position.

After the target box passes through the vision tunnel, the test results appear in the left side of the user interface, with one row for each test run. If you select a row, more detailed test results appear in the right side of the user interface. A green check mark indicates that the test passed, while a red X indicates that the test failed.

- At belt speeds of less than 300 fpm, every code needs to be read at least once.

- At faster belt speeds, each code needs to be read by the specific banks (group of readers on the vision tunnel).

Note: The Right-Justified Test step is similar to the Left-Justified Test, but the box is placed on the right side of the conveyor belt instead of the left side.

Number | Description
1 | In this section, the results of each test run appear after the box passes through the vision tunnel. Actions column: Click the download icon to download detailed information about the barcodes read by the readers. Click the information button to see the same details in a pop-up window. Trigger Index: The index number assigned by the reader associated with the test run. Test Result: Can be Pass or Fail. Belt Speed: The speed of the conveyor belt at the time of the read. To get more details about a test run in the right side of the user interface, click one of the rows. To clear the results in this section, click the Clear Test Results button.
2 | This section provides more detailed information about the selected test result. Using this information, you can determine which specific tests passed or failed. The details only appear in this section after you have selected one of the tests in the previous section. The image shows the Barcode Results tab, which displays a table of the barcodes used in the test and the readers expected to read them. The Barcode Results tab provides the following information: Position Reference: The area on the box where the specific barcode is applied. Code Type: The type of the barcode, such as 1D or 2D. Side: The side of the target box where the specific barcode is applied. Result: Can be Pass or Fail. This indicates whether the bank was able to read the barcode as expected. From Lead Left to Trail Top: These refer to the banks of your vision tunnel. Each bank is expected to read a specific barcode on the target box. Devices: Click the icons in this column to access more details about your readers in a pop-up window. Not all banks are expected to read every barcode on the box. A blank (-) appears in the table if a bank was not supposed to read a specific barcode. A green check mark indicates that the bank was expected to read the barcode and it was a good read. A red X indicates that the bank was expected to read the barcode but it was a no-read. If you click on a specific test in the Barcode Results tab, you are taken to the corresponding image in the Images tab.
3 | Click these buttons to switch between the Barcode Results view and the Images tabs.

## Restore & Report

The Restore & Report step automatically restores the readers to the original settings and reboots them to ensure that all settings are effective. After the reboot, the test summary appears in the user interface. You can download the report as a .pdf.

The summary includes the number of attempts, indicating how many times you ran the target box through the vision tunnel, and the number of failed attempts. Ideally, the summary should show that the box ran through the vision tunnel a few times and the test passes every time.

Number | Description
1 | The Restore & Report section indicates the status of reader restoration and reboots. After the readers reboot, the results appear in the Test Summary section.
2 | The Test Summary section provides a quick overview of the mandatory tests and their results. Test Mode: Refers to the test, such as Left-Justified Test. Status: Can be Pass of Fail. Attempts: Refers to the number of times you ran the target box through the vision tunnel. The Test Summary lists the total number of attempts, and the number of successful and unsuccessful attempts. Click the buttons in the Device Summary column to access additional information about how many codes the different readers read.
3 | Click the Re-Run Device Restore and Reboot button to re-attempt failed reader restorations or reboots.
4 | Click the Generate Report button to download the test report as .pdf. For more information, see Generate Dynamic Test Report.
5 | Click the Finish button to return to the EI Tunnel Manager home page.