CONTRASTECH LEO Area Scan User manual

Preface
The industrial area scan camera mentioned in this manual is a device with USB3.0 interface, which
used for fast and real-time transmission of uncompressed images. Through iDatum or the SDK, the
user can conduct remote data collection and parameter setting (such as working mode, image
parameter adjustment, etc.)
©2019 Hangzhou Contrastech Co., Ltd.
All rights reserved. The information contained herein is proprietary and is provided solely for the purpose of
allowing customers to operate and/or service Contrastech manufactured equipment and is not to be released,
reproduced, or used for any other purpose without written permission of Contrastech.
Purpose
This Manual is a basic description of LEO series USB 3.0 Area Scan Cameras, which mainly includes the product
description, quick installation guide and Simple introduction of SDK(iDatum). This manual may be updated due to
product upgrades or other reasons. If you need, please contact the sales engineer for the latest version of this
manual.
Warranty
To ensure that your warranty remains in force, please adhere to the following guidelines:
Do not remove the camera's serial number label
If the label is removed and the serial number cannot be read from the camera's registers, the warranty is void.
Do not open the camera housing
Do not open the housing. Touching internal components may damage them.
Prevent ingress or insertion of foreign substances into the camera housing
Prevent liquid, flammable, or metallic substances from entering the camera housing. If operated with any foreign
substances inside, the camera may fail or cause a fire.
Avoid electromagnetic fields
Do not operate the camera in the vicinity of strong electromagnetic fields. Avoid electrostatic charging.
Clean with care
Avoid cleaning the sensor if possible.
Handle this camera with care
Do not abuse the camera. Avoid striking, shaking, etc. The camera could be damaged by improper handling.
Read the manual
Read the manual carefully before using the camera.
www.contrastech.com

Contents
Preface
1 Product Description
Product Introduction
Product Features
Packing List
Mechanical Dimensions
Status LED Description
I/O Control and Physical Interface
2 Installation and Setup
Software Installation
Hardware Installation
3 Setting and Operating
Software Specifications
4 Main Function Description
Device Management
Image Format and Frame Rate
Global Exposure
Image Acquisition and Transmission
Strobe Output
Acquisition Mode under External Trigger
Imaging Parameter Setting
I/O Electrical Features
User Settings
5 FAQ
6 Technical Support
www.contrastech.com

Product Description
Product Introduction
LEO series industrial cameras compatible with GigE、USB3.0 and Cameralink data bus standards, support
GenICam、USB3 Vision® and GigE Vision®, Smoothly connect with third-party software, like HALCON and
Vision Pro, not need for secondary development. LEO series cameras with excellent cost performance and
very suitable for various inspections measurement and high-speed imaging applications. This series
cameras won customers high praise because its outstanding performance in cellphone and tablet PC
screen inspection, LED automatic packaging, defect inspection, and electronic components manufacturing,
wafer positioning and other applications.
With this variety of sensors and interfaces, combined with the extensive features offered, LEO series
cameras are fit for a wide range of vision applications.
Product Features
* Ethernet interface provides 1Gbps bandwidth, with maximum 100m transmission
* USB3.0 interface supports theoretical 5Gbps bandwidth. USB interface also for power supply
* 128MB on-board frame buffer for data transmission and image retransmission
* Supports software trigger, hardware trigger, free run mode and etc.
* Supports sharpness, noise reduction, gamma correction, LUT, black level correction, brightness,
contrast and other ISP function
*Supports interpolation algorithm, white balance algorithm, color conversion matrix, hue,
saturation and etc. for color camera
* Supports various output formats for image data and supports ROI, binning, mirror and etc.
* Conforms to USB3 Vision protocol and GenICam standards for USB3.0 Cameras
* Conforms GigE Vision protocol and GenICam standards for GigE Cameras
* Supports PoE power supply DC 12V wide range power supply for GigE Cameras
Packing List
Please check the device if there is an obvious damage and no items is missing when open the box. For the
list, please check the table below.
Packing List
1
Area Scan Camera
1 pc
This Manual Mentioned Camera
2
Mounting Base
1 pc
Camera Mounting Screw Hole and 1/4-UNF Interface Adapter (Optional)
3
DC Power
1 pc
12V Power Adapter (Current Above 1A) (Optional)
4
I/O Cable
1 pc
6-pin Cable(Optional)
5
USB3.0 Cable
1 pc
Suitable Length Micro USB3.0 Cable(Type B)( Optional)
6
Lens
1 pc
C-Mount Lens(Optional)
www.contrastech.com

Status LED Description
Mode
Status LED
Description
Normal
Red
Light
Click to indicate the camera in the software and light up
once
Blue
Steady Blue
The data cable is connected and the device is in
standby state
Fast Flashing Blue
Internal Trigger Collection,U3 Transmission State,
The Data Cable is Connected, Data Transfer Speed is USB
3.0, The Device Internal Trigger acquire Images
Slow Flashing Blue
Internal Trigger Acquisition,U2 Transmission State,
The Data Cable is Connected,Data Transfer Speed is
USB 2.0, The Device Internal Trigger Collect Images
Ultraslow Flashing Blue
External Trigger Acquisition,The Data Cable is
Connected,The Device External Trigger Collect Images
Red ↔ Blue
Flashing Alternately
Red and Blue With
1s Cycle
The firmware is updating.
Abnormal
Red
Steady Red
Firmware Update Failed, Configuration File Read Failed,
Other Device Abnormal
Ultraslow Flashing Red
The Data Cable is not Connected
www.contrastech.com

I/O Control and Physical Interface
The cameras are interfaced to an external circuity via connectors located on the back of the housing
The Industrial camera rear appearance contains standard usb3.0 interface, 6pin power, I/O input connector
and camera working status indicator light.
There are two M2 screw holes on both side of USB3.0 interface, which used to fix cable to reduce the
loosening caused by vibration.
Numbering and assignments for 6pin Power and I/O Input Connector:
1
2
Wire Color of
VT-Hirose6-7
Pin
Signal
I/O Type
I/O Signal Source
Designation
Red
1
DC-12V
——
——
+12V DC Camera Power
Green
2
Opt-Iso In
Input
Line0
Opto-isolated IN
White
3
GPIO
Input or Output
Line2
GPIO (can be set to operate
as an input or an output)
Blue
4
Opt-Iso Out
Output
Line1
Opto-isolated OUT
Brown
5
I/O Ground
Input or Output
Line0、Line1
Signal Ground
Signal Ground
Black
6
GND
Input or Output
Line2 Signal Ground
Signal Ground
3
6
5
4
www.contrastech.com

Installation and Setup
You should perform the software installation procedure first and the hardware installation procedure second.
Software Installation
If you use a firewall on your computer, disable the firewall for the network adapter to which your camera is
connected.
Close the Firewall
In order to ensure the camera software, keep running and image transmission stability, please close the
firewall before using the software.
System Requirements
LEO Camera Software Suite for Windows requirements that one of the following operating systems
is installed on your computer
:
Windows 32 Bit:Windows 10、Windows 7、Windows XP
Windows 64 Bit:Windows 10、Windows 7
Linux 32 Bit/64 Bit (Currently ARM Systems are not supported):
Ubuntu 14.04(32/64) 、Ubuntu 16.04(32/64) 、Redhat7(64) 、Centos7(32/64) 、gcc/g++4.6.3
and above version is supported
MAC 64 Bit:macOS 10.10.7 Version above,Xcode7.0 Version above
www.contrastech.com

Windows System
iDatum default installation path: C:\Program Files \ or Program Files (x86) iDatum,After installation,the
iDatum file contain Development file as below:
Documentations(Develop Doc.)
Includes(SDK Header File)
Libraries(SDK Lib File)
Samples(Samples Programs)
Note
:
Default installation path: C:\Program Files \ or Program Files (x86)\Common Files\iDatum
,
There are Three files, include Drivers
、
Runtime and Service.
Linux System(Currently ARM Systems are not supported)
iDatum default installation path is: opt/iDatum,after installation,the iDatum file contain subfolders as below:
bin(Executable File)
Include(SDK Header File)
Lib(SDK Lib File)
Samples_LinuxSDK(Samples Programs)
Environment Testing
After successful installation, please connect the camera and turn on iDatum client software to check the
result of camera connection and image preview. You can start secondary development base on the SDK
when all environment testing is normal.
You should notice follow items when using GigE Camera
:
FrameRate Whether the frame rate is consistent with the actual set frame rate.
Errors If not 0, it means there is a frameskip, it is abnormal.
Lost Packets If not 0, it is abnormal.
U3V camera only need to notice whether the frame rate is consistent with the actual set frame rate.
www.contrastech.com

Installation Steps
Double click iDatum installation package to install the client. The installation package can automatically set
the language according to the system language, installation languages are either simplified Chinese or
English. You can pull down the upper right corner settings to change installation language if you need. After
confirming Settings, click the “Start installation” to next step, as shown in the figure below:
Please follow the prompts. Select the driver to be installed according to the connection mode of the camera
(Multiple options are supported), then select the installation path and Click the “Next “to start the installation.
www.contrastech.com

Hardware Installation
The installation procedures assume that you will be making a peer-to-peer connection between your
camera and a computer.
Make sure that the following items are available before starting the installation:
LEO USB3.0 Area scan camera
Make sure the camera and IPC or other transmission device have normally connected via Micro
USB3.0(B Type)cable.
As applicable, a C-mount lens for the camera.
You should perform the software installation procedure first and the hardware installation
procedure second.
Steps
:
Mount C-Mount lens on the camera
Mount the camera in your test setup
Connect the camera to the computer via USB3.0 cable
LEO Series Industrial camera with USB3.0 interface
,
to ensure the transmission rate bandwidth of
Real-time image, the USB3.0 cable is required.
Following power supply modes are available:
DC power supply: Use 6pin I/O cable,follow the correct instructions to connect the power
adapter
USB power supply:USB cable to power the camera, you need to connect the camera to the
USB3.0 interface
Driver Check
It is necessary to check whether the IPC correctly install the driver,which to connect to the camera.
The camera client software cannot find the camera if the driver installation failed.
Check Camera Driver
After installing the client software on the IPC and connecting the camera, the system will detect new
hardware, also to search and automatically install the hardware driver.
After the installation, you will find the new device type “VisionDatum USB3 Vision Camera” in the
system device manager.
Right-click to check whether the device driver installation correctly.
www.contrastech.com

Setting and Operating
Software Specifications
Main interface
Double-click the iDatum shortcut on the desktop to open up the client software. There is menu bar area,
control toolbar area, device list & properties area and preview area, and the current device is displayed in
the device list, double-click to open the device.
Menu Bar
The menu bar for iDatum client provides following functions: File, View, Settings, Tool and Help, as shown
in the figure below.
Control Tool Bar
The control bar shown as ② in the Home Screen of Software,the icon meaning is shown in the figure
below. The operation buttons in the tool bar can quickly and conveniently edit camera images.
www.contrastech.com

The meaning of shortcut icons in Device List is shown as below.
Connection/Disconnection:After you selecting the camera, click “Connect” to connect the camera;
click “Disconnect” to disconnect the camera.
Start/Stop Acquisition:For current connected camera,click “Start Acquisition” to acquire image
data; click “Stop Acquisition” to stop image data acquisition.
Batch Start Acquisition:click “Batch Start Acquisition” to start image data acquisition for all
currently connected camera by iDatum.
Batch Stop Acquisition:click “Batch Stop Acquisition” to stop image data acquisition for all currently
connected camera by iDatum.
Expansion/Collapse:This function can be used to expand or collapse the Device List and Device
Information which list on the left side of iDatum, and the default state is expansion. In the “Collapse”
state,the iDatum left side only display the searched cameras.
The manual refresh function will appear when you move the mouse cursor to GigE、USB、CameraLink
interface, take GigE interface for example as below.
www.contrastech.com

Device List Icons Descriptions
Icons
Status
Significance
Available
The camera is in connectable state, double-click the camera can connect and operate
the camera.
Connected
The iDatum client software is connected and can normally work.
Acquisition
The iDatum has been connected and start image acquisition.
Occupation
The camera is connected by another process,cannot be reconnected via the iDatum.
You need to disconnect other client software or processes to connect the camera via
current iDatum.
Inaccessible
PC USB installation failed, need to reinstall USB driver.
Available
(U2 Status)
Connected
(U2 Status)
The iDatum client software is connected and can normally work. While the camera is in
USB2.0 status, the frame rate has been reduced. For higher frame rate, please connect
the camera to the PC USB3.0 interface.
Acquisition
(U2 Status)
The iDatum has been connected and start image acquisition. While the camera is in
USB2.0 status, the frame rate has been reduced. For higher frame rate, please connect
the camera to the PC USB3.0 interface.
Occupation
(U2 Status)
The camera is connected by another process,cannot be reconnected via the iDatum.
You need to disconnect other client software or processes to connect the camera via
current iDatum. Meanwhile, The camera is in USB2.0 status,the frame rate has been
reduced. For higher frame rate, please connect the camera to the PC USB3.0 interface.
Inaccessible
(U2 Status)
PC USB installation failed,need to reinstall USB driver. Meanwhile, the camera is in
USB2.0 status, the frame rate has been reduced. For higher frame rate, please connect
the camera to the PC USB3.0 interface.
www.contrastech.com

The Device Properties Shown as Below.
Click the “>” icon ahead of the device name in the Device Properties Bar Are, to expand device attribute
trees. They are Device Control、Image Format Control、Acquisition Control、Digital IO Control、Analog
Control、LUT Control、Transportation Layer Control、User Set Control。
And the brief introduction of these options shown as below
:
Device Control
In this option, you can check device information and modify device name.
Image Format Control
In this option, you can modify the format of pixel, AOI and test module, etc.
Acquisition Control
In this option, you can set the camera's acquisition mode, trigger exposure time, etc.
Digital IO Control
In this option, you can manage different I/O input or output signals.
Analog Control
In this option, you can adjust the camera acquired image simulation signals, including gain, white balance
and gamma correction.
LUT Control
In this option, the camera can perform gray level transmission output according to the search table set
by user, and highlighting the AOI.
Transportation Layer Control
In this option, you can set the camera's transmission protocol parameters.
User Set Control
In this option, you can save or load the adjusted parameters program and set it as default program when
open the iDatum.
Note
:
For different models of camera, the above-mentioned setting steps may be different, please
refer to the actual one you got.
www.contrastech.com

Main Function Description
Device Management
Modify Device Name
Open the iDatum to find “Device Control” and expand it, there will display the device information that
including device model, version information sequence and etc. You can enter device name in the “Device
User ID” bar, shown as below.
In “Device Control” option,you can enable “Device Command” , “Device Reset” and “Device Temperature”
as actual needed, shown as below.
www.contrastech.com

Image Format and Frame Rate
Camera Data Format
The camera supports multiple image formats,the ROI parameter values in the user setting will increase
image frame rate.
Color camera default output format is YUV 422 8,mono camera default output format is Mono8.
“ Y” means Support
,
“—” means nonsupport.
The color camera converts the original data to RGB8 via pixel interpolation algorithm.
Bayer GR, Bayer GB,Bayer BG,Bayer RG as shown as below.
Bayer GR Bayer GB Bayer BG Bayer RG
The camera with 12Bit ADC(Some model only support 10Bit ADC),but considering the user's
processing capacity of data volume, the 8bit data output is provided. In order to retain the gray level
output of the image data, the 8bits are extracted from the high-order as the output.
The corresponding numbers of Bytes to different formats are shown as below.
In the client software to find “Image Format Control” and expand it. To click “Pixel Format” you
can view the pixel format supported by the current camera to select right output mode according to your
actual demands. shown as below:
www.contrastech.com

Frame Rate
The following 4 factors determines the camera's maximum frame rate, they are Bandwidth, Pixel Format,
AOI Output Resolution and The Calculation Formula of Frame Rate in ROI.
Click and expand “Acquisition Control” to find “Acquisition Frame Rate”, enter right acquisition frame rate
to enable it,shown as below.
ROI
The camera's maximum frame rate is determined by following three factors:
Frame Readout The smaller image height, the less readout time and the higher frame rate.
Exposure Time The less exposure time, the higher frame rate.
Bandwidth The larger bandwidth, the higher transmission frame rate is supported.
If you are only interested in a certain region of the image, you can set a Region of Interest(ROI) for the
camera. Setting ROI can reduce the bandwidth of the image being transmitted.
Thus increasing the frame rate to some extent.
ROI setting steps: Click “Image Format Control” > “Width and Height” thus according to actual demands
to adjust the area of ROI. The parameters of Offset X and Offset Y represents the starting point in the
upper left corner of ROI. Shown as below.
www.contrastech.com

Image Acquisition and Transmission
The camera has 2 types of trigger mode, including internal trigger mode and external trigger mode.
Internal trigger mode including Continuous Mode and SingleFrame Mode; external mode including
software trigger and hardware trigger. Internal trigger and external trigger can be switched by On/Off
button under Trigger Mode, off refers to the internal trigger mode and On refers to the external trigger
mode.
Internal Trigger Mode
Under the internal trigger mode, user can control the camera continuously output images or output single
image. Click “Acquisition Control” > “Acquisition Mode” select “Continuous” to continuously output images;
choose “SingleFrame” to output single image. Shown as below.
External Trigger Signals and Working Mode
The external trigger signals types of trigger camera acquisition can be given by software or external
device. Under external trigger signal mode, the camera output image via following several working
modes: SingleFrame Trigger mode, Burst Trigger mode and Long Exposure Trigger mode.
Software Trigger
For the camera support software trigger mode, when user set software trigger, the client software can
send commands to camera to acquires and transfer images via Gigabit Ethernet.
Set Steps: Click “Acquisition Control” > “Trigger Mode” choose “on” to enable trigger mode. Select
“Software” as trigger source in “Trigger Source” click “Execute” in “Trigger Software” to send trigger
commands. Shown as below.
www.contrastech.com
Table of contents
Other CONTRASTECH Digital Camera manuals