EtherInspect 11 Documentation
EtherInspect 11 Documentation
Reference Manual
2024 April 11
                                                                                                                 Legal Notices
Legal Notices
The software described in this document is furnished under license, and may be used or copied only in accordance with the
terms of such license and with the inclusion of the copyright notice shown on this page. Neither the software, this document,
nor any copies thereof may be provided to, or otherwise made available to, anyone other than the licensee. Title to, and
ownership of, this software remains with Cognex Corporation or its licensor. Cognex Corporation assumes no responsibility
for the use or reliability of its software on equipment that is not supplied by Cognex Corporation. Cognex Corporation makes
no warranties, either express or implied, regarding the described software, its merchantability, non-infringement or its fitness
for any particular purpose.
The information in this document is subject to change without notice and should not be construed as a commitment by
Cognex Corporation. Cognex Corporation is not responsible for any errors that may be present in either this document or the
associated software.
Companies, names, and data used in examples herein are fictitious unless otherwise noted. No part of this document may be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, nor transferred to any
other media or language without the written permission of Cognex Corporation.
Copyright © 2024. Cognex Corporation. All Rights Reserved.
Portions of the hardware and software provided by Cognex may be covered by one or more U.S. and foreign patents, as well
as pending U.S. and foreign patents listed on the Cognex web site at: cognex.com/patents.
Other product and company trademarks identified herein are the trademarks of their respective owners.
                                                               2
                                                                                                                   Symbols
Symbols
The following symbols indicate safety precautions and supplemental information:
WARNING: This symbol indicates a hazard that could cause death, serious personal injury or electrical shock.
CAUTION: This symbol indicates a hazard that could result in property damage.
Tip: This symbol indicates suggestions and shortcuts that might not otherwise be apparent.
                                                             3
                                                               Table of Contents
Table of Contents
 Legal Notices                                                               2
 Symbols                                                                     3
 Table of Contents                                                           4
 About EtherInspect                                                          8
 Getting Started                                                             9
  About the Release                                                          9
    Software and Hardware Requirements                                       9
      Software                                                               9
      Hardware                                                               9
                                                   4
                                                      Table of Contents
Trigger Options                                                    40
  Camera Trigger Options                                           41
  Simulator Trigger Options                                        41
  Trigger Modes                                                    41
Toolbar                                                            42
  User Settings                                                    42
    Common Settings                                                43
    Instance Settings                                              46
    Camera Settings                                                47
Pre-Acquisition                                                    49
Post-Acquisition                                                   49
    Application Tags                                               50
    Job Verification Testing                                       51
Camera Settings                                                    52
  Acquisition Attempts                                             53
  Image Setup                                                      54
Inspection Settings                                                54
  Category Visibility                                              55
  Changing the Number of Tools                                     56
  Editing the ToolBlock                                            56
  Calibrate                                                        57
    Checkerboard Calibration                                       57
    External Calibration (Sharing between Jobs)                    58
    HandEye2D Calibration                                          58
  Fixturing                                                        66
    Coordinate Spaces                                              67
    Create a Fixture                                               68
  Pattern                                                          69
  Histogram                                                        70
  Blob Tools                                                       71
  Measure Tools                                                    72
    Single Edge                                                    73
    Pair Edge                                                      75
                                                  5
                                                      Table of Contents
   2D Geometry                                                     82
     LineFrom2Points Tool                                          82
     IntersectionOf2Lines Tool                                     83
     DistancePointToPoint Tool                                     83
   Cross Section                                                   84
   Image Crop                                                      84
   Custom ToolBlocks                                               85
     Custom Toolblock UI Controls                                  85
   C# Scripting                                                    90
     Scripting Tool                                                90
Script Editor 91
 File Options                                                      98
 Image Save Options                                                99
    Image Playback Options                                        100
 Communications                                                   100
    Tag States                                                    100
    Setup Tags                                                    101
     Tag Types                                                    102
     Tag Attributes                                               102
                                                  6
                            Table of Contents
                        7
                                                                                                    About EtherInspect
About EtherInspect
EtherInspect is an easy-to-use, network-ready machine vision inspection software that supports a variety of Cognex machine
vision systems including 2D and 3D cameras alongside a simple, customizable user interface. EtherInspect has different
user interface templates that allow for a variety of different applications from tray inspection to EV battery inspection.
EtherInspect also includes ViDi and VisionPro Deep Learning support for machine learning applications.
                                                            8
                                                                                       Getting Started
Getting Started
About the Release
Hardware
     l   PC
     l   Security Dongle
     l   Camera Options:
              o   2D
                       l   Cognex CIC (Area/Line)
                       l   CameraLink Line Scane Cameras (uses BitFlow Framegrabber)
              o   3D
                       l   DS1000 series (Line)
                       l   3D-L4000 Series with VisionPro Firmware (Line)
                       l   3D-A5000 Series (Area)
                       l   PhotoNeo (Area)
     l   Cat6 Ethernet Cable
                                                               9
                                                                                                        Getting Started
    l   Power Options:
             o   Camera Power Supply
             o   GigE PoE switch
             o   GigE PoE Framegrabber
Note: Not all acquisition platforms are supported on all operating systems.
                                                             10
                                                                                                          Getting Started
Note: Make sure to use the ports on the switch that support POE.
  Note:
       l   Perform wiring or adjustments to I/O devices when the vision system is not receiving power.
       l   You can clip unused wires short or use a tie made of non-conductive material to tie them back. Keep bare wires
           separated from the +24 V DC wire.
  1. Verify that the 24 V DC power supply is unplugged and not receiving power.
  2. Attach the +24 V DC connector of the Power and I/O Breakout cable and Ground wires to the corresponding
     terminals on the power supply. For more information, see Specifications on page 1.
CAUTION: Never connect voltages other than 24 V DC. Always observe the polarity shown.
3. Attach the M12 connector of the Power and I/O Breakout Cable to the 24 V DC connector of the vision system.
                                                           11
Software Installation
Refer to the following sections on installing prerequisite Cognex software and EtherInspect.
    l   VisionPro Installation on page 13
    l   VisionPro GPU Supplement on page 15
    l   VisionPro Deep Learning/ViDi Installation on page 16
    l   EtherInspect Installation on page 19
    l   Configure a GigE Camera Using Cognex Vision Configurator on page 21
    l   Bitflow User Assistance on page 26
                                                              12
VisionPro Installation
  1. Go to the VisionPro Installer on the Cognex support site.
  2. Download VisionPro.
  5. The InstallShield Wizard opens. Keep clicking next until you reach the Cognex Software License Agreement page.
  6. Review the License Agreement and click I accept the terms in the license agreement and continue.
                                                          13
 9. Remove VisionPro Development Tools and VisionPro Sample Code and Image Files from the list of features to
    install.
13. Review and accept the Cognex Software License Agreement. Click Next.
14. For Setup Type, select Complete. Click Next.
15. Click Install.
                                                            14
  16. After installing the Cognex drivers, you are prompted with the option to install the DSMax Frame Grabber.
       Uncheck Launch DSMAX Frame Grabber Driver Installer and click Finish.
  17. The installer prompts you to restart your system to complete the installation. Click Yes.
Note: Only VisionPro 9.20 and VisionPro Deep Learning 3.2 use the supplement.
                                                             15
VisionPro Deep Learning/ViDi Installation
  1. Go to the VisionPro Deep Learning Installer on the Cognex support site.
  2. Download VisionProDeepLearning.
  3. Extract the .zip folder and run the .exe file to install VisionPro Deep Learning.
  4. Click Install.
  5. Once the Setup Wizard appears, click Next.
                                                             16
 8. Maintain the default installation options set by CodeMeter when dealing with Custom installation. Click Next.
 9. Click Install.
10. Click Finish.
11. You are sent back to the main installer for VisionPro Deep Learning. Review and accept the Software License
    Agreement.
12. Provide a username and organization name.
13. Select Custom under Setup Type. Click Next.
14. For Destination Location, keep the default configuration and click Next.
                                                          17
15. Uncheck the box labeled DevelopAPI. Click Next.
                                                      18
EtherInspect Installation
  1. Download and run the latest version of EtherInspectSetup.exe.
  2. Run EtherInspect Configuration tool from desktop to configure network interfaces and cameras.
  3. Check the box Start Ether-Inspect with Windows to start the application immediately after the PC boots up. Check
     the box Start Ether-Inspect after installation to run the application after installation. Choose which boxes to check
     and continue the installation.
Note: Enabling Start Ether-Inspect With Windows enables the Auto-Restart function.
                                                          19
4. Configure the application.
5. Click Finish.
                                20
Configure a GigE Camera Using Cognex Vision Configurator
The Cognex GigE Vision Configurator allows you to edit the IP address and network properties of GigE cameras.
   1. To configure a GigE Camera for image acquisition in EtherInspect, you need to open the Cognex GigE Vision
      Configurator included in the VisionPro installation.
Note: The subnet automatically updates when the network connection is updated.
                                                           21
5. Select the camera connected to your network adapter.
6. Change the IP address to a different one from your local network devices.
       Note: Make sure the IP address of your camera is the same subnet as your network adapter for correct image
       acquisition.
                                                        22
Additional Settings for GigE Network Setup
  1. To improve the image quality, set the Jumbo Packet property of your network adapter to the maximum value.
                                                        23
2. To increase the amount of data your network adapter receives, set the Receive Buffer property of your camera to the
   maximum value.
                                                       24
3. To prevent acquisition interruptions, set the Interrupt Moderation Rate of your camera to Disabled.
                                                       25
Bitflow User Assistance
A common issue if you have a BitFlow adapter involves selecting a camera after opening up the EtherInspect application. An
exception in the debug log prevents you from selecting and running jobs on any cameras:
To fix this, you need to modify the environment variables in the Path variable of your system.
                                                             26
2. Select the Path variable under System Variables to display a list of variables in order from top to bottom.
                                                         27
3. In the list of environment variables from various applications, select the variables:
         l   C:\Program\Files\Cognex\VisionPro\bin
         l   C:\Program\Files\(x86)\Cognex\VisionPro\bin
         l   C:\BitFlow\SDK\X.X\Bin64
                                                           28
4. Move both Vision Pro Bin Files up above the bin folder for the BitFlow SDK.
5. You can now access and load jobs onto the GigE cameras on EtherInspect.
                                                        29
                                                                                                 EtherInspect User Guide
The timing chart shows a typical cycle. PLCClear is only valid when ResultsReady is on, and is dropped when
ResultsReady is low. PLCTrigger is only valid when TriggerReady is on and is dropped when TriggerReady is low.
                                                             30
                                                                  EtherInspect User Guide
                                      31
                                                                                                     EtherInspect User Guide
The default UI is Modern. You can change this setting in Setup/Configuration > Common > Default UI.
Cameras in EtherInspect
EtherInspect uses a built-in VisionPro library to access all cameras on your local network. Each one is given a different
thread and runs separately from other cameras. Each camera can be given a different job for processing.
EtherInspect supports the following camera types:
What is a Job?
A job is an inspection process used to complete tasks. The tasks range from finding the location of a robot wheel to go and
pick the robot wheel up to inspecting a tray of items for defects and abnormalities. Each job has an individual set of camera
settings, PLC communication settings, trigger options, and vision tools to complete the tasks given.
                                                                32
                                                                                                    EtherInspect User Guide
What is a Template?
A template in EtherInspect is a preset list of vision tools used for particular applications. For more information on templates
and the type of templates, refer to the EtherInspect Template Documentation.
2. Name your virtual camera. Make sure the name is unique from any existing cameras. Click OK.
   3. After you create the virtual camera, you can set up a template for the virtual camera and edit the settings to be
      different from your original camera. You can also use different VisionPro tools.
                                                               33
                                                                                                    EtherInspect User Guide
The hybrid camera displays the images from all of the cameras as one image. A hybrid camera has several operation modes
which affect how the images are displayed.
The operation modes are:
    l   Calibration Stitch: Stitches images from all of the cameras together through calibration.
    l   Tile Horizontal: Displays images side-by-side.
    l   Tile Vertical: Displays images from top to bottom.
    l   Tile Grid: Displays images in grid.
                                                             34
                                                                                                       EtherInspect User Guide
Calibration Stitch mode runs calibration using fiducial points in the image. The fiducial points serve as reference points to run
image stitching. You need a calibration plate or grid to run the calibration stitch.
The calibration modes are:
     l   Linear
     l   PerspectiveAndRadialWarp
     l   LineScanWarp
     l   LineScan2DWarp
     l   SinTanLawProjectionWarp
     l   ThreeParamRadialWarp
     l   NoDistortionWarp
Note: A calibration grid needs to be in view of all the cameras to run calibration successfully.
File Locations
Logs Folder
The Logs folder is located at C:\ProgramData\Cognex\Ether-Inspect\EILogs and contains logs generated by EtherInspect
during runtime.
                                                               35
                                                                                                    EtherInspect User Guide
Main Menu
The Main Menu contains commonly-used features in EtherInspect.
                 Name                                                         Description
Job                                     Load, save, and import jobs.
System Backup and Restore               Create backup and restore from backup.
Switch User                             Switch user mode.
Global Commands                         Run general commands on multiple cameras.
Help                                         l   About (Opens Versions Dialog)
                                             l   Documentation (Opens EtherInspect documentation)
                                             l   Save Security Key Info (Saves license dongle information)
                                             l   Save Diagnostic Info (Saves diagnostics info from currently loaded job)
The System Backup & Restore options are found in the Main Menu.
When creating a backup, you are prompted to add a comment describing the backup and chose a location to save the
backup. Creating a backup saves the current version of the CameraSettings directory to the target location.
                                                                36
                                                                                                      EtherInspect User Guide
When restoring a backup, EtherInspect requires a restart of the application to load in the previous CameraSettings folder.
You need to manually restart the application.
User Modes
The four user modes in EtherInspect are:
    l   Operator: Can only view the camera feed, monitor communication, and view logs.
    l   Supervisor: Can see only certain categories of tools, serving as the midway point between Operator and Engineer.
    l   Engineer: Has full access to tools and communications and can define what categories are visible.
    l   Integrator: Has full access to tools and communications.
Change the user mode in the main context menu. Select Switch User.
The dialog prompts you to choose the user mode followed by a password (if the target user is not the Operator).
Global Commands
Allows you to run general EtherInspect commands on multiple cameras.
Global commands can run for all Active jobs or all Loaded jobs. Active jobs include jobs that are actively running on each of
the cameras in the current instance. Loaded jobs include all the jobs that are loaded into the cameras in the current
instance.
The global commands include:
    l   Showing the cycle counts dialog for pass/fail jobs during a particular shift or since start up.
    l   Going into AUTO mode.
    l   Going into MANUAL mode.
    l   Resetting the counters in the cycle counts dialog.
                                                                37
                                                                                             EtherInspect User Guide
Reset Counters
Reset all the PASS/FAIL inspection count back to 0. You can also reset the counters using the Cycle Counts Display by
double-clicking.
                                                              38
                                                                                               EtherInspect User Guide
Help Menu
View firmware versions, documentation, save license, and diagnostic information in the Help Menu.
The About button opens the versions dialog, allowing you to see firmware versions for VisionPro, VisionPro Deep
Learning/ViDi, and EtherInspect.
The Save Security Key Info button saves information about the currently connected EtherInspect license dongle. The two
files saved are:
     l   .txt file containing license bit information
     l   .WibuRaC file for updating license dongles
The files are packaged in a .zip file with the file path you specified.
The Save Diagnostic Info button saves information you can send to Cognex IT Support for troubleshooting issues. The
information includes results for the current job, camera settings or configuration, and log files from the current day.
Results
Shows inspection results, camera model, and acquisition times.
                                                                 39
                                                                                                    EtherInspect User Guide
Inspection Results
The Inspection results section shows all of the inspection results for each tool and the result for the global inspection. When a
tool type fails, it displays a number to the right of the result indicating which tool failed.
In this example, Blob Tool 1 failed:
Trigger Options
In the Trigger Options settings, you can change the trigger type, inter-trigger delay, and Auto/Manual mode.
                                                                40
                                                                                                 EtherInspect User Guide
             Name                                                         Description
Toggle Light                    Triggers TurnLightON bit in status word, which you can use to trigger light in MANUAL mode.
Trigger Mode                    Determines when image is captured in AUTO mode.
Snapshot                        Captures a single image from the camera.
Go Live                         Switches to Live Acquisition mode.
Go Auto                         Automatically captures images based on trigger mode.
Inter-Trigger Delay             In Timed or Network / Timed mode, determines time between image captures
                                (in ms).
             Name                                                         Description
Use Inter-Trigger Delay         Enables or disables the use of an inter-trigger delay between images.
Sort into Pass / Fail Folders   Determines if Sort copies images into new PASS / FAIL subfolders.
Sort                            Runs through images in the play folder.
Trigger Modes
Trigger modes determine the rate at which image acquisition occurs. The rate is determined through methods such as inter-
trigger delays, triggers within a PLC, and external triggers based off sensor output.
   Trigger                                                      Description
    Mode
Network      Network trigger mode uses PLC logic to trigger on command. This occurs whenever the PLCTrigger status
Trigger Mode bit goes high in the logic and runs the image acquisition process. The PLCTrigger bit can only trigger when
             the system is online and the TriggerReady bit is high.
                                                             41
                                                                                                   EtherInspect User Guide
External     External trigger mode uses an external sensor output to trigger the cameras. The mode can be set up within
Trigger Mode PLC where a sensor such as a photo-eye can trigger the camera to start image acquisition.
Timed        Timed trigger mode uses the inter-trigger delay under Trigger Options to add a time delay between each
Trigger Mode image capture. The camera runs through the image acquisition process each time the delay elapses.
Network /    Network / Timed trigger mode is a combination of network and timed trigger mode. The mode uses the inter-
Timed        trigger delay to space out the timing between each PLC trigger.
Trigger Mode
Continuous   Continuous trigger mode runs image acquisition continuously with no delays between each trigger. Use the
Trigger Mode mode for fast acquisition.
Fast External Fast External trigger mode is the same as external trigger mode except it runs with little to no delay between
Trigger Mode triggers.
Network /    Network / External trigger mode is a combination of network mode and external trigger mode where, when
External     the external trigger outputs true, the PLC logic is executed.
Trigger Mode
Network /    Network / Continuous trigger mode is a combination of network and continuous trigger mode where the
Continuous   delay between PLC triggered acquisition is 0.
Trigger Mode
Toolbar
 Icon            Function                                                      Description
         Create a new job (Select    Click the icon to open the New Job dialog. From here, you can select a template to
         Template)                   create a new job.
         Load a job (Open)           Click the icon to load a job from disk.
Save a job Click the icon to save the currently loaded job on the current camera.
         Going into MultiCam         Click the icon to open MultiCam View. For more information, see MultiCam view.
         View
         Accessing User Settings     Click the icon to open the User Settings on page 42 dialog, which allows you to configure
                                     settings related to EtherInspect.
User Settings
Allows you to edit the following application settings:
     l   Common Settings
     l   Instance Settings
     l   Camera Settings
     l   Application Tags
     l   Job Verification
                                                                42
                                                                                                   EtherInspect User Guide
Common Settings
  Setting                                                        Description
Default UI     Sets the default UI that EtherInspect loads into when starting the application. For information on the UI
               options, see the User Interface Overview.
Engineer       By default, EtherInspect starts in Engineer mode but you can change the mode to start in Operator mode.
Startup
Idle timeout   Engineer mode automatically logs out after a given timeout. If set to 0, the timeout is disabled.
System         The Edge Intelligence / HMI shows this name and description of system.
Location
Skip       When enabled, backups are written to the data (D) drive instead of C drive.
Backups on
C Drive
Storage        Configure the path where data is stored. The default path is D:\Data.
Directory
                   Note: Data stored within the directory includes PASS / FAIL images during inspection. The images are
                   saved with the job results for that image (in the form of an XML file). This only happens when image
                   saving is done. For more information, see Image Save Options on page 99.
HMI Image      Configure the path where HMI images are stored. The default path is D:\Data.
Directory
                   Note: The path configuration works similarly to the storage directory option where PASS / FAIL images
                   from the HMI are stored. The information includes any job results associated with the image.
Save HMI       The default HMI image format is PNG. Set this option to save it as JPG.
Image as
JPG
                                                              43
                                                                                                   EtherInspect User Guide
Disk Space      Percentage of disk space to keep available on the image storage disks.
Remaining
Target              Note: If you exceed the target, image storage disks delete the oldest images and results.
Abort           Stops saving images if the free space is below the percentage (0 = disabled).
Saving if
Disk fills up
Time            Specifies time (in ms) between deleting images during disk cleanup.
Between
Image
Deletes
Files to        Sets the number of files to delete at once during cleanup (0 = unlimited).
Delete at
Once
EI Instances Maximum number of EtherInspect instances on current device. Read-only.
Note: You can only change the setting in EtherInspect Configuration Utility.
Rerun Job       Controls whether the job re-runs when the input image has changed.
on Tool
image
changed
Keep            To make sure the coordinate tooltip stays on screen, check the Keep Coordinate Tooltips Visible
Coordinate      checkbox. By default, the coordinate tooltips only appear when you double-click on the Camera display and
Tooltips        disappear when you move the mouse.
Visible
Simulators If checked, in simulator mode, EtherInspect does not connect to the PLC.
Ignore PLCs
Enable          To share one copy of a job with multiple cameras, check Enable Common Jobs. You can save a job in the
Common          CommonJobs directory by right-clicking the Save Job button. You can pick a common job for your startup
Jobs            job. The prefix “common” denotes a common job.
Enable 3D       Enables a 3D display for 3D cameras by default.
Display –
Run GC          After N amount of images are acquired, run Garbage Collection to free up memory.
every N
images
Log Memory Keeps track of memory usage in information log.
Usage
Load Job        When enabled, the feature runs when requested by the PLC. If the job changes, EtherInspect uses the copy
from Disk, if   of the job on disk instead of the copy in memory.
changed
Save JSON Saves JSON file to disk when job is saved, containing information on job configuration.
with Job
Web Server The IP address form of a URL to set the web server to retrieve images from inspection.
Address
                                                               44
                                                                                                    EtherInspect User Guide
Use Manual If enabled, EtherInspect adds the prefix “Manual-“ to saved image files when taking a snapshot in MANUAL
– Prefix   mode.
Use            Appends AcquisitionID to end of image file name.
Acquisition
ID in File
Name
Display      Any image that arrives faster than this rate skips updating the display.
Update Limit
(ms)
ViDi Max       Number of ViDi processes allowed to use the same GPU.
Process
Count              Note: Anything greater than one increases tool processing time but allows more tools to run
                   simultaneously.
Note: The IP address of the Edge Intelligence box is the same as the server.
Reboot on      If enabled, firmware updates received from the web interface are installed automatically and reboots
Firmware       EtherInspect with the updated firmware.
Upload
Hide           Disables pass/fail graphics in MultiCam view and camera select display.
MultiCam
Result
Show           Displays inspection settings in AUTO mode.
Inspection
Settings in
Auto
Allow Empty Uses device name if serial number is empty.
Device SN
Password       Default old password for Engineer account is “password”. Default old password for Integrator account is
change         “integrator”. You have an option to set the new password for Engineer/Integrator account.
                                                              45
                                                                                                EtherInspect User Guide
Instance Settings
                          Setting                                                    Description
Heartbeat Period                                            Period of heartbeat in milliseconds. When the period ends,
                                                            the network pings the camera to verify it still exists. The PLC
                                                            can also receive the heartbeat period to monitor camera
                                                            status.
Refresh Status on Heartbeat                                 Automatically refreshes status of PLC tag outputs when
                                                            heartbeat ends. You must restart the application to apply the
                                                            setting.
HMI Size                                                    Configure the width of HMI image in pixels. The height is
                                                            automatically calculated based on the aspect ratio or the
                                                            image.
Show log on Multi-Cam view                                  Shows the information log when MultiCam view is on.
Multi-Cam at Startup                                        If enabled, the application start up sets the MultiCam view.
MQTT Broker address                                         IP address of MQTT broker. Leave the address blank if
                                                            unused.
MQTT Username                                               Username to connect to MQTT broker. Leave it blank for no
                                                            authentication.
MQTT Password                                               Password to connect to MQTT broker. Leave it blank if
                                                            unused.
MQTT TLS?                                                   Enable MQTT TLS encryption.
MQTT
MQTT is a lightweight, publish / subscribe, machine to machine network protocol used to queue, send, and receive
messages. You can use MQTT in remote locations with limited resources and bandwidth for devices.
                                                           46
                                                                   EtherInspect User Guide
Camera Settings
                      Setting                            Description
MultiCam Page #                 Page number on which the camera is shown when MultiCam
                                view is on. The pages can be between 1 to 4. Set 0 hides the
                                camera from MultiCam view. Keep clicking on “MULTICAM
                                VIEW >> F1” to navigate through multiple pages.
MultiCam Sort order             Configure the order of the camera on the MultiCam page
                                assigned to it. Order number can be between 1 to 20. Camera
                                ordering starts from top left to bottom right. More information
                                can be found in MultiCam View on page 112.
Overview X                      Found in the EtherInspect viewer application. A fault
                                animated circle is shown at this coordinate on Overview
                                image.
Overview Y                      Found in EtherInspect viewer application. A fault animated
                                circle is shown at the coordinate on Overview image.
Overview Radius                 Found in the EtherInspect viewer application. A fault
                                animated circle is animated up to configured radius.
                                47
                                                                          EtherInspect User Guide
Job Properties
                           Setting                             Description
Do not Convert Range to Grey         Does not convert range to greyscale.
Allow Color Calib & Filtering        Allows color images in calibration or filtering. Default is false.
2D Hand Eye                          Enables tool for robot calibration with 2D camera.
External 2D Calibration              Use external file for 2D calibration. Default is false.
External Tool Path                   Path used to load tool from external file.
Pre-Acquisition Script               If enabled, you can run a script before acquisition. The Pre-
                                     Acquisition Script is not the same as the Pre-Job Scripting
                                     tool. If the Post-Acquisition Script is enabled, you can run a
                                     script after acquisition. Uses same scripts as pre-acquisition
                                     setting. See Pre-Acquisition on page 49.
                                     48
                                                                                                     EtherInspect User Guide
Pre-Acquisition
Pre-Acquisition scripts allow you to run a script before acquisition.
When enabling Pre-Acquisition Script, an additional setting pops up called Images to Capture which allows you to specify
how many images to capture per camera trigger.
Post-Acquisition
Post-Acquisition scripts allow you to run a script after acquisition.
                                                                49
                                                                                                 EtherInspect User Guide
1. Enable the Post-Acquisition script. Click Image Setup under Camera Settings to edit.
2. Enabling this feature places a Post Script button to edit the post-acquisition script.
Application Tags
                        Function                                                       Description
Verification Start                                          (Input, Boolean) starts the verification when the tag goes high.
                                                            When EtherInspect receives the Verification start, it outputs
                                                            VerificationAck (Output, Boolean). This should be used by the
                                                            PLC to turn off VerificationStart.
VerificationProgress                                        (Output, Int) gives a 0 – 100 value for progress through the
                                                            verification batch.
                                                             50
                                                                                                     EtherInspect User Guide
VerificationResult                                          (Output, Int) provide the overall success / fail for the batch:
                                                             Bit     Status                         Description
                                                              #
                                                            0      All Pass      All jobs from batch passed inspection.
                                                            1      False         There was a false positive in the batch
                                                                   Accept(s)     verification.
                                                            2      False         There was a false negative in the batch
                                                                   Reject(s)     verification.
                                                            3      *Unused*      Bit is not used.
                                                            4      Empty List    Empty list was provided.
                                                            5      Error         An exception/error was experienced during
                                                                                 verification.
                                                            6      No images     No images were provided.
                                                            7      *Unused*      Bit is not used.
                                                             51
                                                                                                    EtherInspect User Guide
3                                  Reset                               Clears the values from the previous job verification and
                                                                       resets the values to -1.
4                                  Job Verification Table              Shows the number of accepts, rejects, false rejects, and
                                                                       false accepts for each batch.
5                                  Add/Remove Batch                    Add and remove batches from job verification.
6                                  PLC                                 Select PLC to add or remove job verification tasks.
Add as many checks as desired. Select the camera name and Job index number. Specify the batch number for each job
verification test that you are setting.
    Note: If jobs are revised, the job always uses the most recent for the index number selected. -1 in a field indicates the
    job did not run a verification check yet.
    Setting                                                      Description
Batch          Multiple Job verification tests can be set to the same batch number which groups them together as one batch
Number         when running it.
Camera         Camera to run job verification off.
Job Number Specifies the job to use within the camera.
Total          Total amount of images that ran during test. This is the sum of Accepts, Rejects, False Rejects, and False
Images         Accepts.
Accepts        Number of images in PASS folder that pass inspection.
Rejects        Number of images in FAIL folder that fail inspection.
False          Number of images in PASS folder that fail inspection.
Rejects
False          Number of images in FAIL folder that pass inspection.
Accepts
When running batches, if the batch number selected is 0, all job verification tests run. If the batch number matches the batch
number of a group of job verification tests, the program runs verification on those specific verification tests.
Verification images are stored in: C:\ProgramData\Cognex\Ether-Inspect\CameraSettings\<CameraName>\<JobNumber>_
Verify_<Pass or Fail>
You can copy images into this directory or save images to the verification batch by right-clicking Save Result and choosing
Save Verification image.
Verification tests can be executed manually by clicking the Run Batch button.
The PLC can initiate the execution and receive results of Verification tests.
Camera Settings
You can modify the camera settings here. Exposure, contrast, and brightness are not visible if the acquisition settings are too
complex to fit. Use the Acquisition Attempts button to configure Exposure, Contrast, and Brightness.
                                                               52
                                                                                                   EtherInspect User Guide
        Name                                                         Description
Exposure              Changes exposure on camera (Min = 0) (Max = 999).
Contrast              Changes contrast on camera (Min = 0) (Max = 1).
Brightness            Changes brightness on camera (Min = 0) (Max = 1).
Copy From Job         Copies camera settings from a different job.
Image Setup           Allows you to modify VisionPro settings of camera.
Acquisition           Add acquisition attempts with different camera settings. For each failed attempt, it goes to the next
Attempts              attempt and tries to acquire an image until it passes inspection or all acquisition attempts fail.
Acquisition Attempts
You can use the Acquistion Attempts features simultaneously. The features are:
    l   Multiple Attempts: Use multiple attempts to attempt the same job multiple times with different image settings. The
        camera iterates through each attempt until either one attempt results in a PASS or all attempts FAIL.
                                                              53
                                                                                                  EtherInspect User Guide
    l   Multiple Sensors (Hybrid Cameras): Use multiple sensors (not pictured) to configure image settings for hybrid
        cameras.
    l   Multiple Images: Use multiple images if the application requires more than one image with different lighting (such as
        SurfaceFX). The feature requires enabling Pre-Acquisition Scripting in the Job settings and setting Number of
        Images greater than one.
            Note: If Use Same Exposure for All images is selected, the tabs for Image 1, Image 2, and so on, are not
            visible.
    l   Multiple Exposures (HDR): Use multiple exposures to create a 16 bit High Dynamic Range (HDR) image.
        HDR images combine pixels from the different exposure levels to create an image the preserves dark and light
        regions without overexposing. Up to five additional exposures can be configured for HDR, for a total of six images.
    l   Tone Mapping: The Tone Mapping algorithm compresses a 16 bit image to 8 bits, preserving local contrast.
Image Setup
Allows you to configure the camera properties, including changing the white balance, modifying the camera region, setting
timeouts, or viewing camera information.
Note: Exposure, Brightness, and Contrast only update when a new image is acquired.
Inspection Settings
Allows you to change settings on various tools in the current template.
                                                             54
                                                                                                  EtherInspect User Guide
Click Inspection Settings at the top to open the Category Visibility Display to show or hide categories.
Click the re-run button in the upper-right to re-run the inspection using the same image.
Click next to any category to show the tool settings for the first tool in each category.
Category Visibility
Use checkboxes to show or hide each category listed in the Inspection Settings Display.
                                                                55
                                                                                                EtherInspect User Guide
   3. Double-click the tool name (such as CogPMAlignTool1) to open the VisionPro tool settings for the tool.
   4. Right-click the tool name to rename the tool.
   5. Change the counter number to change which tool is displayed.
                                                            56
                                                                                                 EtherInspect User Guide
Calibrate
Checkerboard Calibration
        Name                               Description
Checker Size         Sets size of checkerboard squares for calibration.
Calibration Status   Shows status of calibration.
Fiducial Style       Choose feature to use as marker for calibration.
Scale                Displays scaling info for calibration.
Calibrate            Run calibration.
Uncalibrate          Forget calibration.
Edit Region          Specify region of image to limit calibration to.
   1. Set the Checker Size to the size of the checkerboard squares (either metric or imperial units).
   2. Choose the Fiducial Style to set a visual reference in the image to calibrate off of. It is recommended but not
      necessary to use the StandardRectangle fiducial style.
   3. Optional: Click Edit Region if you want to designate a portion of the image to be calibrated.
   4. Click Calibrate to run the calibration process.
   5. If the calibration is no longer needed, click Uncalibrate.
                                                               57
                                                                                                   EtherInspect User Guide
Enabling the setting makes the following controls appear within the Calibrate tool. The Calibrate tool allows you to load
calibrations from other jobs and save calibrations to share with other jobs.
    Note: When you enable the External Calibration option, the calibration is loaded from the file each time the job is
    loaded. If the calibration changes, it only needs to be saved once from a job using it.
HandEye2D Calibration
Use the HandEye2D tool to calibrate robot coordinates based on image coordinates in EtherInspect. The tool combines
checkerboard calibration and N-Point calibration into one tool. The N-Point calibration takes a minimum of 3 and a maximum
of 90 points to correlate the robot coordinate system to the vision coordinates.
The HandEye2D calibration is an optional replacement for standard checkerboard calibration. To enable it, go to
Setup/Configuration > (cameraName) > (jobName) and enable 2D Hand Eye within the job properties.
                                                                58
                                                                                                EtherInspect User Guide
The modes differ based on the setup or configuration and method of calibration used when calibrating the robot.
Robot Mode
Robot mode allows you to register multiple calibration points off of a target.
                                                               59
                                                                                                   EtherInspect User Guide
           Name                                                           Description
Hand Eye Mode                Sets the mode for the HandEye2D Calibration tool.
Checker Size                 Size of checkerboard tiles.
Checkerboard Calibration     Provides the status of the checkerboard calibration (Not Calibrated/Calibrated).
Status
Fiducial Style               Specify the point of reference to base the measurement off of.
Calibrate (Checkerboard)     Runs checkerboard calibration.
Uncalibrate (Checkerboard) Forgets the current checkerboard calibration.
Calibration Points           Specifies the number of calibration points expected to register.
Calibration Status (Point    Provides the status of point registration calibration.
Registration)
Target                       Specifies calibration target. Circle indicates calibration uses findCircle tool. Pattern indicates
                             calibration uses PatMax tool.
Target Edit                  Opens an edit control for advanced settings on calibration target.
Point Registration           Allows you to specify points of calibration including robot X, robot Y, and point #. Number of
                             points must not exceed Cal Points.
Calibrate (Point             Runs calibration on points of calibration.
Registration)
Uncalibrate (Point           Forgets current calibration from point registration.
Registration)
The top portion is a standard checkerboard calibration. For more information, see Checkerboard Calibration on page 57.
                                                             60
                                                                                                     EtherInspect User Guide
       Name                                                  Description
Target                Calibration target to look out for. Checkerboard uses checkerboard pattern on
                      calibration plates. RealPart bases calibration off features in an image as reference
                      points (Alignment finder tool is necessary to generate these points prior to setting this
                      configuration).
Fiducial Style        Point of reference within target to locate.
Algorithm             Algorithm when running calibration process. This is split into two types:
                           l   Exhaustive: Thorough process of calibration (higher accuracy, longer cycle
                               time).
                           l   Efficient: Quick and less detailed calibration (shorter cycle time, lower
                               accuracy).
                                                                61
                                                                                                     EtherInspect User Guide
Skip Image             In normal conditions, the application corrects any image distortion. If application is
Correction             time critical, Skip Image Correction skips the process.
Algorithm specifies the method by which calibration occurs. The different algorithms are:
     l   Standard - Runs calibration at moderate pace with default parameters.
     l   Exhaustive – When dealing with issues such as poor image quality, this algorithm spends more time searching for
         the calibration target and processing the fiducial points in the image.
     l   ExhaustiveMultiRegion – Follows same process as exhaustive but focuses on multiple regions in image for
         calibration.
     l   Efficient – Extracts calibration features in fastest cycle time. Less accurate than exhaustive.
     l   EfficientMultiRegion – Same process as efficient but focuses on multiple regions in image for calibration.
Report generates a performance report based on the accuracy of the calibration process. The report information includes:
     l   Camera Pose in Home2D – X, Y, and theta positions of the camera relative to robot home position.
     l   Home2DFromCamera2D – Offset between camera and robot coordinate systems.
     l   Home2D – Robot Home Position.
     l   Raw2D – Raw uncalibrated position (in pixels).
     l   Quality – Overall accuracy of camera coordinate system.
The report also includes a table of the robot calibration points and their points of accuracy.
                                                                62
                                                                                                  EtherInspect User Guide
RealPart Calibration
  1. Set the Target to Realpart.
  2. Go to Alignment Finder tool.
                                                             63
                                                                                                    EtherInspect User Guide
TCP Interface
   1. Start a TCP listener.
   2. Use the following command to start registering points for calibration:
         StartC,<camera_name>
   3. Use the following command to register points in motion stage mode prior to ending calibration. You can calibrate a
      maximum of 99 points with a minimum of 3 points.
         HECAL,<camera_name>,<point_number>,<X>,<Y>,<Theta>
              l   The point_number is the numbered point (starting from 1).
              l   X is the motion stage X coordinate for the point.
              l   Y is the motion stage Y coordinate for the point.
              l   Theta is the angle/pose of the point.
   4. Repeat Step 3 for all points you want to register.
   5. Use the following command to end calibration and calculate the coordinate system:
         EndC,<camera_name>
Image Filtering
         Name                                   Description
Operation               Options for operations to run on images for filtering
Magnitude               Number of times the filter is run (constant in multiply mode)
Change the Magnitude to change the number of times the filter runs (or the constant in Multiply mode).
Image Conversion
Converts the input image into different format.
                                                                 64
                                                                              EtherInspect User Guide
        Name                          Description
Input Image          Choose which image to run the conversion on.
Region Edit          Edit the Region to run the conversion tool on.
Mode                 Choose which image format to convert to.
                                                             65
                                                                                                     EtherInspect User Guide
Fixturing
Creates a 2D fixtured image. You can use the fixturing tool with the Pattern tool to center the fixture in reference to the pattern
result.
       Name                     Description
Input Image            Image to be used as reference
Fixture X              X coordinate of Fixture
Fixture Y              Y coordinate of Fixture
Fixture Rotation       Angle of Rotation of Fixture
                                                               66
                                                                                                 EtherInspect User Guide
Fixtures provide a reference point that other tools can use to position themselves. The reference point can also be used to
position graphics in an image.
Coordinate Spaces
Coordinate Spaces provide references for the locations of points.
The three types of Coordinate Spaces are:
     l   Root Space
     l   User Space
     l   Pixel Space
Root Space
A left-handed coordinate system perfectly aligns with the pixels of an acquired image prior to any image processing.
User Space
Use User-defined Coordinate Spaces to create and manipulate calibrated spaces and fixtures. When defining a user space,
you determine:
     l   Units
     l   Handedness
     l   Relation to the root space of the Image
Pixel Space
Pixel space is similar to root space in that:
     l   Origin is always in the upper-left corner
     l   Space corresponds to the image pixels
However, pixel space does not readjust itself to reflect the effects of image processing.
                                                              67
                                                                                                       EtherInspect User Guide
Create a Fixture
To create and set a fixture point, you need an image and a reference point within the image to center the fixture on. The
example shows the pattern tool.
   1. Load an image.
   2. Create and train a pattern tool off a part within the image that you plan to use as a fixture.
   3. Add a fixture tool and set the image to Raw.
4. Set the Fixture X, Y, and Rot to the X, Y, and Rot of the trained pattern.
                                                               68
                                                                                                   EtherInspect User Guide
Pattern
The pattern tool uses the VisionPro PatMax tool. Use the pattern tool to train models on specific parts in an image. The tool is
contour-based and uses contrast in the image to find edges to generate a pattern to train the model off of.
         Name                                         Description
Input Image              Reference image to use for training.
Train                    Runs training process.
Search Region Edit       Edit region to limit area of search when looking for trained pattern.
Train Status             Status on whether a model is trained.
Train Region Edit        Edit region to limit area to train on.
Search/Accept Limits     Set limits to restrict search and accept criteria.
Score with Clutter       Includes clutter in the score.
                                                                  69
                                                                                             EtherInspect User Guide
   2. Edit Train Region to focus only on the part that you want to train.
   3. Optional: Edit Search Region to limit area of search.
   4. Click Train to run the pattern training.
   5. Modify the search or accept limits.
   6. Optional: Modify the additional parameters.
Histogram
Use the histogram tool to run statistical measurements on the pixels within a region of an image. The statistical
measurements can find the mean, median, standard deviation, and variance of the pixel values. This generates a histogram
of the pixel values and the number of each pixel value that appears within the image.
                                                               70
                                                                                            EtherInspect User Guide
          Name                                     Description
Input Image             Image to use with histogram tool.
Edit Region             Allows you to limit region to run histogram tool on.
Average                 Mean value of pixels within the region.
Contrast                Difference between light and dark pixels.
Light #                 The number of light pixels in the image.
Dark #                  The number of dark pixels in the image.
Total Pixel Count       Total pixel count of region used in histogram tool.
Threshold               Limit to differentiate between object and background pixels.
Show Search Region      Displays the search region bounding box within an image.
Use as Lighting Check Turns on LightingNOK bit in EtherInspect status word if tool fails.
Blob Tools
          Name                                          Description
Input Image            Image to use with blob tool.
                                                             71
                                                                                                 EtherInspect User Guide
Measure Tools
        Name                                                   Description
Input Image         The image the measure (caliper) tool uses.
Edit Region         Limit region to focus on when finding edges, setting a region is required to run the tool.
Edge Mode           Determines method of searching for edges (Single, Pair).
Scoring Mode        Limit which edges are shown in the image based on their score (Best, First, Last, All).
Contrast            Defines the minimum contrast need to find an edge.
Filter Size         Specifies the number of half pixels on both sides of an edge for it to qualify.
Edge Polarity       Determine the polarity when searching for edges.
Found               Lists the number of found edges and allows user to provide minimum or maximum constraints.
                                                           72
                                                                                                     EtherInspect User Guide
The arrow determines the scan direction of the caliper tool. In the image above, the tool looks for edges from left to right. This
is important when sorting out scored edges.
The two edge modes when dealing with the caliper tool are:
     l   Single Edge: Looks for individual edges (counts each individual edge).
     l   Pair Edge: Looks for a pair of edges (counts two edges as one pair).
Edge Polarity determines whether to find an edge going from dark-to-light pixels, light-to-dark pixels, or both (DontCare).
Scoring mode are different when switching between single edge and pair mode.
Single Edge
Single Edge mode looks for individual edges within a region of interest. The edges that the tool finds can be filtered based on
Scoringmode and Edge Polarity.
The four options for Scoring settings for the edge mode are:
     l   All:Find all edges in the group.
                                                               73
                                                               EtherInspect User Guide
l Best: Find the edge with the highest score in the group.
                                                         74
                                                                                                  EtherInspect User Guide
Pair Edge
In pair mode, the tool counts two consecutive edges as one pair. This can also be filtered using Scoring mode and Edge
Polarity. When setting up an edge pair, the polarity of each edge can be specified. In the examples, edge 0 has a polarity of
DarkToLight while edge 1 has a polarity of LightToDark.
The Scoring setting for this edge mode has four options:
    l   Narrowest: Looks for the edge pair with the shortest distance between them.
l Widest: Looks for the edge pair with the longest distance between them.
                                                              75
                                                                                                      EtherInspect User Guide
     l   WidestContinuous: Looks for the edge pair with the longest distance and contains the same contrast of pixels
         between the two.
l Strongest: Looks for the edge pair with the strongest contrast between the inside and outside of the edge pair.
                                                                76
                                                                                                   EtherInspect User Guide
        Name                                                          Description
Input Image          Image to use with find line tool.
Edit Region          Define region of interest when finding line, region uses affline rectangle to define where the line is
                     expected.
Scoring              Filter edges based on scoring.
Contrast             Defines the minimum contrast needed to find a line.
Filter Size          Defines half pixel width to filter lines.
Polarity             Method to find lines based on dark and light pixels.
Number of Points     Number of calipers that are created.
Angle                The angle that the found line is at.
Show Caliper         Show or hide caliper regions.
Regions
Show Search          Show or hide search region.
Region
                                                                 77
                                                                                                    EtherInspect User Guide
       Name                                                             Description
Input Image           Image to be used in find circle tool.
Edit Region           Define region of interest when finding circle, region uses circular annulus to define where the circle is
                      expected.
Scoring Mode          Filter circles based on score.
Contrast              Minimum contrast to find a line.
Filter Size           Define half pixel width to filter circles.
Polarity              Method to find circles based on dark and light pixels.
Number of Points      Number of calipers that are created.
                                                                   78
                                                                                                       EtherInspect User Guide
When editing a region, you can rotate, expand, and compress the circle annulus region of interest.
When the tool runs, calipers are placed within the region of interest to find points on the circle.
The Scoring mode works similarly to the single edge scoring mode in the Find Line tool. The tool uses the Scoring mode
when there is more than one circle in its region of interest. If the region of interest only containd a single circle, use the Best
for the scoring mode.
There are four scoring mode options:
     l   First: Finds the innermost circle in the region.
     l   Last: Finds the outermost circle in the region.
     l   Best: Finds the circle with the highest score.
     l   All: Finds all circles in the region.
Polarity determines whether the tool searches for points on the circle based on dark-to-light pixels, light-to-dark, or both.
                                                                 79
                                                                       EtherInspect User Guide
        Name                          Description
Input Image            Image to run code scan on.
Edit Region            Limit region of interest for code scanning.
Scan Mode              Choose category of code you are reading.
Code Type              Defines type of code to expect.
Read String            String read from code.
Match String           Reference string to expect .
Show Search Region Show or hide the search region.
Grading                Enables Data Matrix Grading.
                                                             80
                                                                                     EtherInspect User Guide
Color Segmenter
Creates a binary image from a color image, based on selected HSI values.
          Name                                          Description
Input Image               Image to run color segmentation.
Edit Region               Limit region of interest for color segmenter tool.
Add/Remove Color          Add or remove color of your choice, prompted for sample.
Select Color              Select color from list of created colors.
                                                             81
                                                                                                   EtherInspect User Guide
HSI values                  Retrieves HSI values and specifies range of color to look for.
Color Histogram             Allows you to modify HSI values and view histogram results.
Show Processing Region Show or hide processing region.
Hist Display Region         Specify which region in image to search for color for histogram results.
When adding a color to the list, you are prompted to provide a sample from the image. This goes into Edit Region mode
where you can place the rectangle in a region that focuses on the target color. From there, you can pick the color form the list
within Select Color and see the HSI values of it. You can then click Hist Display Region to select a region of the image
where you want to actively search for that color. This generates a binary image where instances of that color appear in white.
2D Geometry
Use the 2D Geometry tool to run geometrical computations based on points provided to it in 2D space. 2D Geometry tool can
be useful in finding the distance between two points or drawing a line from two points.
LineFrom2Points Tool
Generates and draws line from one point to another. Use fixture points to set up the tool.
        Name                             Description
Image                  Input image used in 2D Geometry tool.
Mode                   Computation Mode.
Point Configuration    Sets points to run computations.
Found Angle            Provides angle of line found from computation.
Midpoint Information Provides midpoint X and Y of line.
                                                              82
                                                                                                    EtherInspect User Guide
IntersectionOf2Lines Tool
Finds the intersection point of two lines.
DistancePointToPoint Tool
Finds the distance between two points. Enter the X and Y values for the two points to find the distance. The distance is
usually in pixel measurements. If you calibrate EtherInspect for metric or imperial units, the distance is converted to metric or
imperial units.
                                                               83
                                                                                                EtherInspect User Guide
Cross Section
Finds the cross section of a 3D image based on parameters.
               Name                                                        Description
Show Region                           Show or hide region.
Region                                Edit the region.
Profile from Other Tool               If checked, choose another tool from the dropdown menu.
Show Feature Graphics                 Show or hide feature graphics.
Fixturing                             Expand Fixturing to enter an existing or new fixture.
Tolerances                            Expand Tolerances to enter a tolerance, if available.
Image Crop
Crops an image. Useful for creating an image separate from the original which allows you to run separate tools in a focused
region.
                                                             84
                                                                                                   EtherInspect User Guide
       Name                                     Description
Input Image           Image to be used for cropping.
Edit Region           Selects a region to crop down.
Region Size           Size of region, auto-fills once region is adjusted.
Center Region         Centers region with image space.
Start Position        Start X and Start Y of region, auto-fills once region is adjusted.
    Note: After you specify the region and the tool runs once, a filter appears in the image view that you can select to view
    the cropped image.
Custom ToolBlocks
Allows you to add and edit your own custom VisionPro toolblocks. Any inputs you add to the custom toolblock appear as a
control in the Custom ToolBlocks section.
                                                               85
                                                                                                  EtherInspect User Guide
Number Picker
The Number Picker requires two input terminals. Use one to define type or value, and the other to set the UI properties.
                                                             86
                                                                                             EtherInspect User Guide
DemoNumber is the default value while _DemoNumber is to define additional properties of the UI control.
    Note: Using only the DemoNumber input does not create any UI control. The value of the UI control is based on main
    terminal.
Label
The Label control only requires one input terminal. You can label sections of tools.
                                                              87
                                                                                                  EtherInspect User Guide
Check Box
The Check Box control requires two input terminals. Use one to define type or value and the other to set the UI properties.
DemoChkbox is the default value while _DemoChkbox is to define additional properties of the UI control.
    Note: Using only the DemoChkbox input does not create any UI control. The value of the UI control is based on main
    terminal.
Dropdown
The Dropdown control requires two input terminals. Use one to define type or value and the other to set the UI properties.
DemoDropDown is the default value while _DemoDropDown is to define additional properties of the UI control.
    Note: Using only the DemoDropDown input does not create any UI control. The value of the UI control is based on
    main terminal.
                                                             88
                                                                                                   EtherInspect User Guide
Float
The Float control requires two input terminals. Use one to define type or value and the other to set the UI properties.
DemoFloat is the default value while _DemoFloat is to define additional properties of the UI control.
    Note: Using only the DemoFloat input does not create any UI control. The value of the UI control is based on main
    terminal.
Text Input
The Text Input control requires two input terminals. Use one to define type or value and the other to set the UI properties.
                                                              89
                                                                                                 EtherInspect User Guide
DemoText is the default value while _DemoText is to define additional properties of the UI control.
    Note: Using only the DemoText input does not create any UI control. The value of the UI control is based on main
    terminal.
C# Scripting
Scripting Tool
Use the tool to create and edit scripts.
                                                                 90
                                                                                                    EtherInspect User Guide
Script Editor
Allows editing the C# code used in the EtherInspect scripting environment.
                                                               91
                                                                                                    EtherInspect User Guide
Note: Use EtherInspect scripts instead of VisionPro scripts. VisionPro scripts are only supported in Custom ToolBlocks.
                                                               92
                                                                   EtherInspect User Guide
                                                          93
                                                                         EtherInspect User Guide
                                                               94
                                                                      EtherInspect User Guide
                                                                95
                                                                      EtherInspect User Guide
                                                                96
                                                                                                      EtherInspect User Guide
Script UI Controls
EtherInspect allows you to make your own user-defined controls using scripting.
By creating public static properties at the beginning of a script file, you can modify values at runtime without editing the script.
Placing an attribute called UserSetting before the variable definition allows you to define a display name for that value within
the controls and reserves an area to place a user-defined control in.
                                                                     97
                                                                                     EtherInspect User Guide
File Options
Allows loading or saving jobs and images, and setting startup jobs.
       Name                                      Description
Save Job              Saves Job to disk, need to specify name of job to save as.
Save Result           Saves inspection results including PNG and XML.
Load Job              Loads a job from disk into selected camera.
Load Image            Loads image from disk for inspection.
Job Selection Type Specify method to select job as startup job.
Startup Online        When application starts up and job loads, go into AUTO mode.
Job                   Specify job to use as startup job.
                                                               98
                                                                                               EtherInspect User Guide
                                        When both of the above settings are set, the images are saved to the directory as
                                        specified by the Storage Directory setting. Within specified directory, images are
                                        saved to <CameraName>/Images/<JobName>.
3                   Image Playback      Opens the Image Playback Options display. A dialog opens to search for
                    Options             images within a directory. You can filter out PASS or FAIL images.
4                   Last Image          Opens the last image.
5                   Next Image          Opens the next image.
6                   Play                Starts image playback.
7                   Previous Image      Opens the previous image.
8                   First Image         Opens the first image.
                                                            99
                                                                                                    EtherInspect User Guide
9                     Playback Rate        Allows you to choose when the image playback stops. The four options are:
                                                   l   Continuous: Loop images over and over.
                                                   l   RunToEnd: Playback images until end of folder is reached.
                                                   l   StopOnFail: Stop on image with FAIL inspection.
                                                   l   StopOnPass: Stop on image with PASS inspection.
10                    HMI Image Output Enables saving a thumbnail image with graphics.
                           Number                                                           Description
1                                                                  Folder Path
2                                                                  Browse Folders
3                                                                  Serial Number
4                                                                  Search Folder
5                                                                  Date Time Range Filter
6                                                                  Pass/Fail Filter
Communications
Displays PLC connection state. Allows viewing IO and editing Tags.
Tag States
Shows current values of PLC Tags and current state of camera thread, 100 ms refresh rate.
                                                                100
                                                                                                      EtherInspect User Guide
Each tag state is represented by a bit with its corresponding state that it represents being next to the status bit.
Setup Tags
Allows editing tags and displaying current values.
                                                               101
                                                                                                    EtherInspect User Guide
Tag Types
EtherInspect has two types of tags:
     l   Input: Reads incoming data coming from the PLC.
     l   Output: Writes to outgoing data to the PLC.
Both tag sections contain a list of PLC tags that link with the PLC server selected.
Tag Attributes
The attributes to a tag in EtherInspect are:
     l   Function: Tag function to be used with EtherInspect. If not custom, the tag uses built-in function to grab a certain
         value from the PLC.
     l   Name: Name of tag. Does not have to be named after variable or tag in PLC. The value is only referenced when there
         are tags with the same function to differentiate between them.
     l   Data Type: Data type of tag value.
     l   Elements: Number of items stored in the tag.
     l   Address: Memory address of tag that refers to variable or tag in PLC.
     l   Value: Current value of tag.
Tag Help
Shows information on tag functions and valid data types.
                                                              102
                                                                                           EtherInspect User Guide
Edit PLCs
Allows editing PLC connections. You can only use one PLC vendor at one time.
                                                         103
                                                                                       EtherInspect User Guide
TIA Portal
The TIA Portal option is under CPU Properties > General > Communication Load.
                                                        104
                                                                                              EtherInspect User Guide
                                                          105
                                                                                              EtherInspect User Guide
                                                            106
                                                                                                   EtherInspect User Guide
Information Log
Shows log entries, holds 1000 entries in memory, and all are logged to the disk.
The information log includes five levels of log entries:
     l   INFO: High-Level log of the process flow of EtherInspect.
     l   WARN: Warnings (highlighted in yellow in the INFO log) notifying the user of any important events to monitor.
     l   ERROR: Errors and exceptions (highlighted in red in the INFO log) that occurred during the current instance of
         EtherInspect.
     l   FATAL: Errors that EtherInspect cannot recover from, causing the application to shut down immediately.
     l   DEBUG: Extensive debug information on processes and events occurring within EtherInspect. Available through the
         Log Viewer Display.
Note: Within the minimized log, the most recent log entries appear from top to bottom.
Click Filter to flush the logs to disk and show the Log Viewer Display.
Click Clear to clear the visible display. Log files are unaffected.
Log Viewer
Allows viewing and filtering log files from different cameras or sessions in EtherInspect.
The log viewer shows an additional level of log:
                                                                107
                                                                                                      EtherInspect User Guide
                            Number                                                            Setting
1                                                                 Toggle Session
2                                                                 Log Level
3                                                                 Camera Filter
4                                                                 Font Size
5                                                                 Highlight Warnings & Errors
6                                                                 Open Specific Log
Note: Within the expanded log view, the most recent log entries appear from bottom to top.
This prompts you to specify a location to save the .txt file. To export the log for the current day, keep the end date as today
and set the start date to the previous day.
Status Bar
The status bar displays the currently logged-in user, date, and time. The status bar is located at the bottom of the window.
Versions Display
Shows version info of EtherInspect system and DLLs that are used (including templates). Click the EtherInspect logo in the
bottom left corner of the screen to open the versions dialog.
                                                               108
                                                                                                 EtherInspect User Guide
Image Display
Shows camera image with graphics.
Click anywhere in the image shows the pixel coordinates of that point.
                                                            109
                                                                                              EtherInspect User Guide
                           Number                                                        Name
1                                                              Pointer Modes
2                                                              Show and Hide Features
3                                                              Fit and Zoom
4                                                              Auto Fit
5                                                              Miscellaneous Options
Color Map
The Color Map feature allows you to modify the distribution of colors within an image.
The four types of color maps are:
    l   Greyscale
    l   Thermal
    l   Height
    l   Custom
You can tune the color map to make parts of the image stand out. This can be useful when you have a 3D image with
embossed letters, and you want the letters to stand out in the image.
                                                            110
                                                                                                  EtherInspect User Guide
Color maps are for display only and are not for processing or image acquisition. VisionPro tools use the original image, which
can detect very small contrast differences. If additional contrast is necessary for vision tools, image filters should be used.
When setting the Visible Pixel Mask, you can select the color that missing pixels are displayed as, such as black.
            Name                                        Description
Predefined Colormaps           Choose color map type.
Tune / Reset                   Tune the color map after making changes or reset to default.
Max Color Range                Maximum range of hue.
Color Spectrum                 Mapping of pixel values with color.
Min Color Range                Minimum range of hue.
Save                           Save current color map.
Load                           Load a color map from file.
Example (Thermal):
                                                             111
                                                                                                 EtherInspect User Guide
Camera List
The UI shows the settings of the camera. Clicking a camera makes its configurations, tools, and image feed display to the
right.
          Number                                           Identifier
1                            Camera Name
2                            Camera Type (Real, Virtual, Hybrid, or Simulator)
3                            Running Mode (Auto or Manual)
4                            Inspection Status (Pass or Fail)
MultiCam View
MultiCam View displays images from all cameras on one or more pages. You can add multiple pages to MultiCam View
based on camera settings. Click the button again to change to the next page if configured.
Click the following icon in the top right corner of the EtherInspect window to open MultiCam View.
                                                            112
                                                                                                 EtherInspect User Guide
In the settings of each camera, two settings change the look and feel of the MultiCam view: MultiCam Page # and MultiCam
Sort Order.
     l   MultiCam Page # sets the page number that the camera appears on. You can have a maximum of four pages in
         MultiCam view, each with a set of camera views.
     l   MultiCam Sort Order determines the order that the camera on the page it is assigned to. You can have up to 20
         cameras on one page. The order of cameras appear from left to right, starting from top to bottom.
                                                             113
      EtherInspect User Guide
114
                                                                                               EtherInspect Remote Interfaces
Inputs
The inputs are RobotX, RobotY, and Command.
RobotX: Double value representing the X value of the location in the coordinate system of the robot.
RobotY: Double value representing the Y value of the location in the coordinate system of the robot.
Command has several possible values:
     l   0 – Do Nothing
     l   1 – 90 – Register calibration point 1 – 90
                                                              115
                                                                                          EtherInspect Remote Interfaces
Outputs
The outputs are RMSError and Status.
RMSError: The error of the N Point calibration fit. This is the only output if Command 100 is requested.
Status: Indicates the result of a Command. The values are:
    l   0 – No Action was taken
    l   1 – 90 – Point was registered successfully
    l   100 – 190 – Point registration failed
    l   198 – Argument Error
    l   199 – Calculation Error
    l   200 – Calculation Ok
                                                              116
                                                                                    EtherInspect Remote Interfaces
                                                          117
                                                                                    EtherInspect Remote Interfaces
                                                         118
                                                                                  EtherInspect Remote Interfaces
                                                          119
                                                                                EtherInspect Remote Interfaces
                                                         120
                                                                                         EtherInspect Remote Interfaces
                                                           121
                                                                                           EtherInspect Remote Interfaces
                            URL                                                            Returns
http://server-name-or-ip:81/eiremote/v1/version              string - remote api version
                                                            122
                                                                                       EtherInspect Remote Interfaces
                                                         123
                                                                                        EtherInspect Remote Interfaces
                        URL                                                     Description
http://localhost/                               Provides list of available cameras.
http://localhost/list                           Provides list of available cameras.
http://localhost/svg/{CameraName}               Provides latest .svg image of given camera.
http://localhost/png/{CameraName}               Provides latest .png image of given camera.
http://localhost/html/{CameraName}              Provides latest html image of given camera.
http://localhost/{CameraName}                   Provides master html page with latest result of given camera.
http://localhost/detail/{CameraName}            Provides detail html page with latest result of given camera.
http://localhost/master/{CameraName}            Provides master html page with latest result of given camera.
VisionLine Interface
An Ethernet socket-based communication connects EtherInspect and a Trumpf laser controller. The Trumpf laser controller
initiates communication. EtherInspect listens on port 52000.
                                                          124
                                                                                      EtherInspect Remote Interfaces
                                                          125
                                                                        EtherInspect Remote Interfaces
IPSTART      Start a new image processing cycle.            IPSTART,           EtherInspect provides the
                                                            {ipstart_          coordinates to focus the
                                                            number};           optics (PFO).
                                                            {ipstart_number} String formats:
                                                            – set the ip start SETPFO {PFOX} {PFOY}
                                                            job number         {PFOX} {PFOFocus}- Send
                                                                               PFO offset to Trumpf system
                                                                                  l   {PFOX} – PFO X
                                                                                      Offset 10 Micron Units
                                                                                  l   {PFOY} – PFO Y
                                                                                      Offset 10 Micron Units
                                                                                  l   {PFOZ} – PFO Z
                                                                                      Offset 10 Micron Units
                                                                                  l   {PFOFocus} – PFO
                                                                                      Focus 10 Micron Units
                                                                             IPBREAK{code} - When
                                                                             EtherInspect is not ready
                                                                                  l   {code} – 768
                                                                                      (“RUNNING_ERROR
                                                                                      = 0x0300”)
IPSTATEREQ   Inquire state of the image processing.         IPSTATEREQ;      EtherInspect returns the
                                                                             current status.
                                                                             String format:
                                                                             {IPSTATERESP} {code}
                                                                                  l   {code} – 0 (“OK =
                                                                                      0x0000”)
                                                                                  l   {code} – 2
                                                                                      (“IPSTATEREQ_
                                                                                      DURING_
                                                                                      CALCULATION =
                                                                                      0x0002”)
                                                                                  l   {code} – 768
                                                                                      (“RUNNING_ERROR
                                                                                      = 0x0300”)
                                                                                  l   {code} – 1024
                                                                                      (“FAULTY_
                                                                                      WORKPIECE =
                                                                                      0x0400”)
                                                      126
                                                                        EtherInspect Remote Interfaces
PFORDY   Programmable focusing optics (PFO) in position.      PFORDY;        EtherInspect returns the
                                                                            values of XVar or TVar tags
             Note: After EtherInspect receives the command,                 when image processing is
             EtherInspect triggers the camera and responds
             with IPRDY (and vars) or IPBREAK and an error                  complete.
             code.                                                          String formats:
                                                                            IPRDY <XVARS>
                                                                            <XVAR01> 12.6523
                                                                            </XVAR01> <XVAR02>
                                                                            2.623 </XVAR02>
                                                                            </XVARS> – Return XVAR
                                                                            (Dynamic table) data back
                                                                            IPRDY <TVARS>
                                                                            <TVAR01> 12.6523
                                                                            </TVAR01> <TVAR02>
                                                                            2.623 </TVAR02>
                                                                            </TVARS> – Return TVAR
                                                                            (Static table) data back
127