Daheng Imaging MERCURY2 USB3 User manual

MERCURY2 USB3 Vision Cameras
User Manual
Version: V2.0.4
Date: 2023-10-09
China Daheng Group, Inc. Beijing Image Vision Technology Branch

All rights reserved. No parts of this manual may be used or reproduced, in any forms or by any means,
without prior written permission of China Daheng Group, Inc. Beijing Image Vision Technology Branch.
The right is also reserved to modify or change any parts of this manual in the future without prior notification.
All other trademarks are the properties of their respective owners.
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch
Web:
www.daheng-imaging.com/en
Sales Email:
isales@daheng-imaging.com
Sales Tel:
+86 10 8282 8878-8081
Support Email:
isupport@daheng-imaging.com

Preface
We really appreciate your choosing of DAHENG IMAGING products.
The MERCURY2 USB3 Vision camera is DAHENG IMAGING's latest area scan industrial digital camera
with large and high-quality sensor, featuring high resolution, high definition and extremely low noise. The
MERCURY2 USB3 Vision cameras are include standard version (MER2-U3(-L) series), Pro version
(ME2P-U3 series), Lite version (ME2L-U3(-L) series) and Super version (ME2S-U3 series). The camera
is equipped with standard USB3.0 interface, is easy to install and use.
The MERCURY2 USB3 Vision cameras are especially suitable for machine vision applications such as
industrial inspection, medical, scientific research, education, security and so on.
This manual describes in detail on how to install and use the MERCURY2 USB3 Vision digital cameras.

© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch I
Contents
1. Introduction ................................................................................................................... 1
1.1. Series Introduction .................................................................................................. 1
1.2. Naming Rules.......................................................................................................... 1
1.3. Standards ................................................................................................................ 1
1.4. Document, CAD/Technical Drawing and Software Downloads ............................... 1
2. Precautions................................................................................................................... 2
2.1. Safety Claim ............................................................................................................ 2
2.2. Safety Instruction..................................................................................................... 2
2.3. Guideline for Avoiding EMI and ESD....................................................................... 3
2.4. Environmental Requirements .................................................................................. 3
2.5. Camera Mechanical Installation Precautions........................................................... 4
2.6. Certification and Declaration ................................................................................... 4
3. Installation..................................................................................................................... 5
3.1. Host Preparation ..................................................................................................... 5
3.1.1. Software Package ............................................................................................................... 5
3.1.2. User Software Interface....................................................................................................... 5
3.2. Camera Power ........................................................................................................ 6
3.2.1. MER2/ME2P/ME2L Series .................................................................................................. 6
3.2.2. ME2S Series........................................................................................................................ 7
3.3. Camera Driver Installation....................................................................................... 7
3.3.1. System Requirements ......................................................................................................... 7
3.3.2. Driver Installation................................................................................................................. 7
3.4. Open Device and Start Acquisition.......................................................................... 8
4. General Specification .................................................................................................... 9
4.1. Explanation of Important Parameters ...................................................................... 9
4.1.1. About Spectral Response.................................................................................................... 9
4.2. MER2-U3(-L) Series................................................................................................ 9
4.2.1. MER2-041-436U3M/C(-L) ................................................................................................... 9
4.2.2. MER2-041-528U3M/C(-L) ................................................................................................. 11
4.2.3. MER2-135-150U3M/C(-L) ................................................................................................. 12
4.2.4. MER2-135-208U3M/C(-L) ................................................................................................. 14
4.2.5. MER2-160-227U3M/C(-L) ................................................................................................. 15
4.2.6. MER2-230-168U3M/C(-L) ................................................................................................. 17
4.2.7. MER2-231-41U3M/C(-L) ................................................................................................... 18
4.2.8. MER2-240-159U3M/C(-L) ................................................................................................. 20
4.2.9. MER2-301-125U3M/C(-L) ................................................................................................. 21

© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch II
4.2.10. MER2-302-56U3M/C(-L) ................................................................................................. 23
4.2.11. MER2-502-79U3M/C(-L) ................................................................................................. 24
4.2.12. MER2-502-79U3M POL .................................................................................................. 26
4.2.13. MER2-503-36U3M/C(-L) ................................................................................................. 27
4.2.14. MER2-503-36U3M POL .................................................................................................. 29
4.2.15. MER2-630-60U3M/C(-L/-W90)........................................................................................ 30
4.2.16. MER2-1220-32U3M/C(-L/-W90)...................................................................................... 32
4.2.17. MER2-2000-19U3M/C(-L/-W90)...................................................................................... 33
4.2.18. MER2-041-608U3M/C(-L)-HS ......................................................................................... 35
4.2.19. MER2-160-249U3M/C(-L)-HS ......................................................................................... 36
4.2.20. MER2-502-79U3M/C(-L)-HS ........................................................................................... 38
4.2.21. MER2-502-79U3M-HS POL ............................................................................................ 39
4.3. ME2S-U3 Series.................................................................................................... 41
4.3.1. ME2S-560-70U3M/C ......................................................................................................... 41
4.3.2. ME2S-1260-28U3M/C ....................................................................................................... 42
4.3.3. ME2S-1610-24U3M/C ....................................................................................................... 44
4.3.4. ME2S-2020-19U3M/C ....................................................................................................... 45
4.3.5. ME2S-2440-16U3M/C ....................................................................................................... 47
4.4. ME2P-U3 Series.................................................................................................... 48
4.4.1. ME2P-560-36U3M/C ......................................................................................................... 48
4.4.2. ME2P-900-43U3M/C ......................................................................................................... 50
4.4.3. ME2P-1230-23U3M/C ....................................................................................................... 51
4.4.4. ME2P-1231-32U3M/C ....................................................................................................... 53
4.4.5. ME2P-1840-21U3M/C ....................................................................................................... 54
4.4.6. ME2P-2621-15U3M/C \ ME2P-2622-15U3M/C ................................................................ 56
4.4.7. ME2P-2621-15U3M NIR \ ME2P-2622-15U3M NIR ......................................................... 58
4.5. ME2L-U3(-L) Series .............................................................................................. 60
4.5.1. ME2L-042-121U3M/C(-L).................................................................................................. 60
4.5.2. ME2L-161-61U3M/C(-L).................................................................................................... 61
4.5.3. ME2L-203-76U3M/C(-L).................................................................................................... 63
4.5.4. ME2L-204-76U3M/C(-L)-F02 ............................................................................................ 64
4.5.5. ME2L-505-36U3M/C(-L).................................................................................................... 65
4.5.6. ME2L-830-22U3M/C(-L).................................................................................................... 66
5. Dimensions ................................................................................................................. 68
5.1. Camera Dimensions.............................................................................................. 68
5.2. Optical Interface .................................................................................................... 71
5.3. Tripod Adapter Dimensions ................................................................................... 72
6. Filters and Lenses ....................................................................................................... 73
6.1. Filters .................................................................................................................... 73

© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch III
6.2. Lens Selection Reference ..................................................................................... 74
6.2.1. HN-2M Series Prime Lenses............................................................................................. 75
6.2.2. HN-5M Series Prime Lenses............................................................................................. 75
6.2.3. HN-6M Series Prime Lenses............................................................................................. 76
6.2.4. HN-20M Series Prime Lenses........................................................................................... 76
6.2.5. HN-P-6M Series Prime Lenses ......................................................................................... 77
6.2.6. HN-P-10M Series Prime Lenses ....................................................................................... 77
6.2.7. HN-P-20M Series Prime Lenses ....................................................................................... 78
6.2.8. HN-P-25M Series Prime Lenses ....................................................................................... 78
6.2.9. HN-P Series 8K ~ 16K Line Scan Lenses......................................................................... 79
7. Electrical Interface....................................................................................................... 80
7.1. LED Light............................................................................................................... 80
7.1.1. MER2/ME2P/ME2L Series ................................................................................................ 80
7.1.2. ME2S Series...................................................................................................................... 80
7.2. USB Port ............................................................................................................... 80
7.3. I/O Port.................................................................................................................. 81
7.3.1. I/O Connector Pin Definition.............................................................................................. 81
7.3.1.1. MER2/ME2P Series.................................................................................................... 81
7.3.1.2. ME2L Series ............................................................................................................... 81
7.3.1.3. ME2S Series ............................................................................................................... 82
7.3.2. I/O Electrical Features....................................................................................................... 82
7.3.2.1. Line0 (Opto-isolated Input) Circuit.............................................................................. 82
7.3.2.2. Line1 (Opto-isolated Output) Circuit........................................................................... 85
7.3.2.3. GPIO 2/3 (Bidirectional) Circuit .................................................................................. 87
7.3.2.3.1. Line2/3 is Configured as Input ............................................................................. 88
7.3.2.3.2. Line2/3 is Configured as Output .......................................................................... 92
8. Features ..................................................................................................................... 94
8.1. I/O Control ............................................................................................................. 94
8.1.1. Input Mode Operation........................................................................................................ 94
8.1.2. Output Mode Operation..................................................................................................... 95
8.1.3. Read the LineStatus ........................................................................................................ 100
8.2. Image Acquisition Control.................................................................................... 100
8.2.1. Acquisition Start and Stop ............................................................................................... 100
8.2.1.1. Acquisition Start........................................................................................................ 100
8.2.1.2. Acquisition Stop ........................................................................................................ 101
8.2.2. Acquisition Mode ............................................................................................................. 102
8.2.3. Trigger Type Selection .................................................................................................... 103
8.2.4. Switching Trigger Mode................................................................................................... 104
8.2.5. Continuous Mode and Configuration............................................................................... 106
8.2.6. Acquisition Burst Mode.................................................................................................... 106

© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch IV
8.2.7. Software Trigger Acquisition and Configuration.............................................................. 107
8.2.8. Hardware Trigger Acquisition and Configuration ............................................................ 108
8.2.9. Overlapping Exposure and Non-overlapping Exposure.................................................. 109
8.2.10. Set Exposure ................................................................................................................. 111
8.2.10.1. Set Exposure Mode ................................................................................................ 111
8.2.10.2. Set Exposure Value ................................................................................................ 113
8.2.10.3. Exposure Time Mode.............................................................................................. 115
8.2.10.4. Set Exposure Time ................................................................................................. 115
8.2.11. Exposure Delay ............................................................................................................. 116
8.3. Basic Features .................................................................................................... 119
8.3.1. Gain ................................................................................................................................. 119
8.3.2. Sensor Bit Depth ............................................................................................................. 119
8.3.3. Pixel Format..................................................................................................................... 120
8.3.4. ROI................................................................................................................................... 124
8.3.5. Auto Exposure/Auto Gain................................................................................................ 124
8.3.6. Test Pattern ..................................................................................................................... 126
8.3.7. User Set Control .............................................................................................................. 128
8.3.8. Device User ID ................................................................................................................ 130
8.3.9. Timestamp....................................................................................................................... 131
8.3.10. Binning........................................................................................................................... 131
8.3.11. Decimation..................................................................................................................... 133
8.3.12. Reverse X and Reverse Y............................................................................................. 135
8.3.13. Digital Shift..................................................................................................................... 138
8.3.14. Acquisition Status .......................................................................................................... 139
8.3.15. Black Level and Auto Black Level ................................................................................. 140
8.3.15.1. Black Level.............................................................................................................. 140
8.3.15.2. Auto Black Level ..................................................................................................... 140
8.3.16. Remove Parameter Limits............................................................................................. 140
8.3.17. User Data Area.............................................................................................................. 150
8.3.17.1. User Data Area (16K) ............................................................................................. 150
8.3.17.2. User Data Area (512K) ........................................................................................... 150
8.3.18. Timer.............................................................................................................................. 150
8.3.19. Counter .......................................................................................................................... 151
8.3.20. Multi Gray Control.......................................................................................................... 152
8.4. Image Processing................................................................................................ 153
8.4.1. Light Source Preset ......................................................................................................... 153
8.4.2. Auto White Balance......................................................................................................... 154
8.4.3. Color Transformation Control .......................................................................................... 156
8.4.4. Gamma ............................................................................................................................ 157
8.4.5. Lookup Table................................................................................................................... 158
8.4.6. Sharpness........................................................................................................................ 160

© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch V
8.4.6.1. Sharpness................................................................................................................. 160
8.4.6.2. Sharpness with Noise Suppression.......................................................................... 160
8.4.7. Flat Field Correction ........................................................................................................ 161
8.4.7.1. FFC Coefficient Calculation and Preview................................................................. 163
8.4.7.2. Read/Save Coefficient .............................................................................................. 164
8.4.7.3. Load/Save File.......................................................................................................... 164
8.4.7.4. Precautions ............................................................................................................... 164
8.4.8. Noise Reduction .............................................................................................................. 164
8.4.9. Saturation ........................................................................................................................ 165
8.5. Image Transmission ............................................................................................ 166
8.5.1. Calculate Frame Rate...................................................................................................... 166
8.5.2. USB Interface Bandwidth ................................................................................................ 166
8.5.3. DeviceLinkThroughputLimit............................................................................................. 166
8.5.4. Camera Acquisition Time ................................................................................................ 167
8.6. Events ................................................................................................................. 176
8.6.1. ExposureEnd Event......................................................................................................... 177
8.6.2. BlockDiscard Event ......................................................................................................... 177
8.6.3. BlockNotEmpty Event...................................................................................................... 177
8.6.4. FrameStartOvertrigger Event .......................................................................................... 178
8.6.5. FrameBurstStartOvertrigger Event.................................................................................. 178
8.6.6. FrameStartWait Event ..................................................................................................... 178
8.6.7. FrameBurstStartWait Event............................................................................................. 178
8.7. Sequencer ........................................................................................................... 178
8.7.1. Relevant Parameters....................................................................................................... 179
8.7.2. User Guide....................................................................................................................... 179
8.7.3. Sequence support ........................................................................................................... 180
9. Software Tool............................................................................................................ 181
9.1. LUT Create Tool.................................................................................................. 181
9.1.1. GUI................................................................................................................................... 181
9.1.2. User Guide....................................................................................................................... 182
9.1.2.1. User Case ................................................................................................................. 182
9.1.2.2. Select Base LUT....................................................................................................... 182
9.1.2.3. Auto Create LUT....................................................................................................... 184
9.1.2.4. Save LUT .................................................................................................................. 185
9.1.2.5. Read LUT.................................................................................................................. 185
9.1.3. Precautions...................................................................................................................... 185
9.1.3.1. Read From Device.................................................................................................... 185
9.1.3.2. Write To Device ........................................................................................................ 185
9.1.3.3. Directory Structure.................................................................................................... 186
9.2. Flat Field Correction Plugin ................................................................................. 186
9.2.1. GUI................................................................................................................................... 186

© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch VI
9.2.2. User Guide....................................................................................................................... 187
9.2.2.1. FFC Execution Steps................................................................................................ 187
9.2.2.2. Acquisition of Bright Field Images ............................................................................ 188
9.2.2.3. Execute FFC ............................................................................................................. 188
9.2.2.4. Read FFC Data from Device / Write FFC Data to Device........................................ 188
9.2.2.5. Load FFC Data from File / Save FFC Data to File ................................................... 188
9.2.3. Precautions...................................................................................................................... 189
9.2.3.1. FFC is not Supported................................................................................................ 189
9.2.3.2. Preview ..................................................................................................................... 189
9.3. Static Defect Correction Plugin............................................................................ 189
9.3.1. Static Defect Correction Steps ........................................................................................ 191
9.3.2. Acquisition Images .......................................................................................................... 192
9.3.3. Static Defect Correction................................................................................................... 193
9.3.4. How to Use Defect Pixel Data File .................................................................................. 193
9.4. Frame Rate Calculation Tool............................................................................... 193
10. FAQ ........................................................................................................................ 195
11. Revision History ...................................................................................................... 197
12. Contact Us .............................................................................................................. 200
12.1. Contact Sales .................................................................................................... 200
12.2. Contact Support ................................................................................................ 200

1.Introduction
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 1
1. Introduction
1.1. Series Introduction
The MERCURY2 USB3 Vision camera is DAHENG IMAGING's mature area scan industrial digital camera,
featuring outstanding performance, powerful features, and outstanding price/performance ratio. The
MERCURY2 USB3 Vision cameras are include standard version (MER2-U3(-L) series), Pro version
(ME2P-U3 series) , Lite version (ME2L-U3(-L) series) and Super version (ME2S-U3 series). The cameras
are available in a variety of resolutions and frame rates, and are available with CMOS sensors from leading
chip manufacturers, which is easy to install and use.
The MERCURY2 USB3 Vision camera transmits image data through the USB3.0 data interface. Thanks
to the locking screw connectors, the MERCURY2 USB3 Vision cameras can secure the reliability of
cameras deployed in harsh industrial environments. Featuring high reliability and high price/performance
ratio, the MERCURY2 USB3 Vision cameras are especially suitable for machine vision applications such
as industrial inspection, medical, scientific research, education, security and so on.
1.2. Naming Rules
Details of the MERCURY2 USB3 Vision camera are given in the general specifications below. Each
camera model name is determined by its sensor's maximum resolution, maximum frame rate at maximum
resolution, the color/monochrome type of the sensor, etc.
Figure 1-1 Naming rules
1.3. Standards
The camera follows the USB3 Vision1.0 standard, and its development interface GalaxySDK is
implemented based on the GEN<i>CAM standard.
1.4. Document, CAD/Technical Drawing and Software Downloads
Product related document, CAD/Technical drawing and software can be downloaded from the Downloads
of DAHENG IMAGING website.

2.Precautions
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 2
2. Precautions
2.1. Safety Claim
Before installing and using DAHENG IMAGING products, please carefully read this manual and strictly
comply with the usage requirements. And ensure to use the product in specified conditions, otherwise it
may cause equipment malfunction. Our company will not bear any legal responsibility for any damage or
injury caused by improper use of this product and disregard of safety instructions.
The symbols that may be found in this document are defined as follows:
Symbol
Description
Note: Provides additional information to emphasize or supplement important points of the
main text
Caution: Indicates a potentially hazardous situation which, if not avoided, could result in
equipment damage, data loss, performance degradation, or unexpected results
Warning: Indicates a potential risk that, if not avoided, could result in injury accidents,
equipment damage, or business interruption
Danger: Indicates a hazard with a high level of risk, which if not avoided, will result in death
or serious injury
2.2. Safety Instruction
Usage
Warning
1) Do not install and operate the product in extreme environments with vibration, high
temperature, humidity, dust, strong magnetic fields, explosive/corrosive smoke or
gases, as it may damage the camera, cause a fire or electric shock.
2) Do not aim at the product with high intensity light sources directly, as it may damage
the sensor.
3) If the device damaged, emits smoke, odor or noise, please turn off the power and
unplug the power cord immediately, and contact our technical support engineer.
4) Unauthorized disassembly, repair, or modification of products is prohibited as it may
damage the camera or cause a risk of electric shock.
5) In the use of the device, you must be in strict compliance with the electrical safety
regulations of the nation and region.
6) Please use the power supply provided by reputable manufacturers that meets the
camera power limit requirements, otherwise, it will damage the camera.
Caution
1) Check whether the device’s package is in good condition, whether there is damage,
deformation, etc. before unpacking.
2) After unpacking, please carefully inspect the quantity and appearance of the product
and accessories for any abnormalities.
3) Please store and transport the product according to the specified storage and
transportation conditions, ensure that the storage temperature and humidity meet the
requirements.

2.Precautions
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 3
Personal Safety
Warning
1) It is strictly prohibited to perform device wiring, dismantling, maintenance and other
operations while powered on, otherwise there may be a risk of electric shock.
2) It is prohibited to touch the camera directly during using, otherwise there may be a
risk of burns.
3) Please install and use the camera in accordance with regulations, otherwise there
may be a risk of falling and get injured.
4) The edges of the lens mount and fan are relatively sharp, so pay attention to the risk
of scratches during installation or use.
2.3. Guideline for Avoiding EMI and ESD
You should consider the EMI (Electro Magnetic Interference) and ESD (Electro-Static discharge) problem
in the process of using the camera, to guarantee the camera to work in a relatively good electromagnetic
environment. The main measures are as follows:
1) USB cables certificated by USB IF with lock screw are recommended.
2) Using shielded cable can avoid electro-magnetic interface. Shielding layer of the cable should conduct
to ground nearby and not until stretched too long. When many devices need conduct to ground, using
single point grounding to avoid earth loop.
3) Keep your cameras away from equipment with high voltage, or high current (such as motor, inverter,
relay, etc.). If necessary, use additional shielding.
4) ESD (electro-static discharge) may damage cameras permanently, so use suitable clothing (cotton)
and shoes, and touch the metal to discharge the electro-static before operating cameras.
2.4. Environmental Requirements
1) Housing temperature during operation: 0°C ~ 45°C, humidity during operation: 10% ~ 80%.
Storage temperature: -20°C ~ 70°C.
2) To avoid collecting dust in the optical filter, always keep the plastic cap on cameras when no lens is
mounted.
3) PC requirement: Intel Core 2 Duo, 2.4GHz or above, and 2GB memory or above.
4) USB3.0 host controller requirement: Intel controller integrated in mainboard is recommend. Select
Renesas controller if external frame grabber is needed.
5) The cable must have a locking screw at the end of the device.
6) Make sure that cameras are transported in the original factory packages.

2.Precautions
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 4
2.5. Camera Mechanical Installation Precautions
Camera installation requirements:
1) The M3 screw and the camera should have a screw length between 2.5 and 2.7mm, and the M2 screw
and the camera should have a screw length between 3 and 3.3mm
2) The M3 screw assembly torque ≤ 1N·M, and the M2 screw assembly torque ≤ 0.5N·M. If the screw
assembly torque is too large, it may cause the camera thread stripping.
2.6. Certification and Declaration
1) CE, RoHS
We declare that DAHENG IMAGING MERCURY2 USB3 Vision digital cameras have passed the following
EU certifications:
2014/30/EU—Electromagnetic Compatibility Restriction
2011/65/EU—Restriction of Hazardous Substances (RoHS) and its revised directive 2015/863/EU
Equipment meeting Class A requirements may not offer adequate protection to broadcast
services within a residential environment.
2) FCC
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
This device may not cause harmful interference
This device must accept any interference received, including interference that may cause undesired
operation
Note: This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against
harmful interference when the equipment is operated in a commercial environment. This equipment can
generate, uses, and radiate radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio communications. Operation of this equipment
in a residential area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.

3.Installation
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 5
3. Installation
3.1. Host Preparation
3.1.1. Software Package
The software package of DAHENG IMAGING's MERCURY2 USB3 Vision camera is used to control the
MERCURY2 USB3 Vision camera to provide stable, real-time image transmission, and provides multiple
samples and easy-to-integrate SDKs for various programming tools. The package is composed of the
following modules:
1) Driver Package (Driver): This package provides the MERCURY2 camera driver program, such as: the
USB3.0 cameras' driver program.
2) Interface Library (API): This package provides the camera control interface library and the image
processing interface library, supports the user for secondary development.
3) Demonstration Program (GalaxyView.exe): This demonstration program is used to display the camera
control, image acquisition and image processing functions, the user can control the camera directly
by the demonstration program, and the user can develop their own control program based on the
camera interface library.
4) Sample: These samples demonstrate cameras' functions, the user can easily use these samples to
control cameras, or refer to the samples to develop their own control programs.
5) Programmer's Manual: This manual is the users programming guide that instructs the users how to
configure the programming environment and how to control cameras and acquire images through the
camera interface library.
You can download the latest software package from the website: www.daheng-imaging.com/en/Downloads.
3.1.2. User Software Interface
After installing the MERCURY2 USB3 Vision camera software package, the user can use the
demonstration program and the samples to control the camera, also the user can control the camera by
the program which is written by the user themselves. The software package provides three kinds of
program interface, the user can select the suitable one for use according to their own requirements:
1) API Interface
In order to simplify the users' programming complexity, the package provides the general C programming
interface GxIAPI.dll and image processing algorithm interface DxImageProc.dll for the user to control the
camera, and provides the samples and software development manual which are based on these interfaces.
The API interface supports C/C++/C#/Python, etc.
2) GenTL Interface
This interface is developed according to the standard of general transport layer in GEN<i>CAM standard,
DAHENG IMAGING follows the GEN<i>CAM standard and provides the GenTL interface for the user, and

3.Installation
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 6
the user can use the GenTL interface directly to develop their own control program. The definition and
usage of GenTL interfaces can be downloaded from the website of EMVA.
In addition, users can use some third-party software that supports GEN<i>CAM standard to control the
camera, such as HALCON.
3) USB3 Vision interface
The MERCURY2 USB3.0 camera is compatible with the USB3 Vision protocol, which allows the user to
control the camera directly through the USB3 Vision protocol. In addition, the user can use some third-
party software that supports the USB3 Vision protocol to control the camera, such as HALCON.
Note
GEN<i>CAM standard: GEN<i>CAM is administered by the European Machine Vision Association (EMVA).
GenICam provides a generic programming interface for all kinds of cameras and devices. It provides a
standard application programming interface (API), no matter what interface technology is being used. It
mainly includes the following modules:
GenAPI: an XML description file format defining how to capture the features of a device and how to
access and control these features in a standard way
GenTL: a generic Transport Layer Interface, between software drivers and libraries, that transports
the image data from the camera to the application running on a PC
SFNC: common naming convention for camera features, which promotes interoperability between
products from different manufacturers
Figure 3-1 GEN<i>CAM standard schematic diagram
3.2. Camera Power
3.2.1. MER2/ME2P/ME2L Series
Camera is powered by the USB 3.0 interface.

3.Installation
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 7
3.2.2. ME2S Series
Due to different power consumption, Camera power are divided into two types:
Type 1: Camera is powered by the USB 3.0 interface.
Type 2: High power consumption camera recommends get power from the Hirose I/O port, and the
operating voltage is +12VDC (±10%) ~ +24VDC (±10%). The model that recommends external power
supply has been marked in the factory. If the power supply to the USB 3.0 interface is insufficient, the
camera may not work properly.
Cameras that require an external power supply will only work if the USB3.0 cable and the external
power supply are properly connected to the camera at the same time.
3.3. Camera Driver Installation
3.3.1. System Requirements
GalaxySDK is suitable for all cameras in the MERCURY2. The GalaxySDK contains various operating
systems such as Windows, Android and Linux. The requirements for the operating system and version of
the installation package are as follows:
Operating Systems
Applicable Version
Windows
Windows 7 (32bit, 64bit)
Windows 10 (32bit, 64bit)
Windows 11 (64bit)
Linux
Ubuntu 12.04 or above, kernel version 3.5.0.23 or above
Android
Android 6 or above
3.3.2. Driver Installation
The steps to install the Galaxy SDK under Windows are as follows:
1) Download the corresponding version of the installation package from www.daheng-imaging.com/en/Downloads.
2) Run the installer.
3) Follow the instructions of the installation wizard to complete the installation process. During the
installation process, you can choose the camera interface you need (USB2.0, USB3 Vision, GigE
Vision, etc.).
During the installation process, especially when installing the *.sys file, you must always pay attention to
whether the anti-virus software intercepts the driver. If intercepted, it may cause the driver installation to
fail.

3.Installation
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 8
3.4. Open Device and Start Acquisition
After powering the device, connecting the device to the USB3.0 interface of the host. Double-click the
GalaxyView software to acquire image. The steps are as follows:
1) Click the icon on the Device Tree in the GalaxyView to refresh device list.
2) After the device is enumerated, double-click the device enumerated in the device list.
3) Click the icon on the Device Tree to perform the Start Acquisition operation on the current device.

4.General Specification
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 9
4. General Specification
4.1. Explanation of Important Parameters
4.1.1. About Spectral Response
QE: Quantum efficiency, which is the ratio of the average number of photoelectrons produced per unit time
to the number of incident photons at a given wavelength.
Sensitivity: The change of the sensor output signal relative to the incident light energy. The commonly
used sensitivity units are V/((W/m2)·s), V/lux·s, e-/((W/m2)·s) or DN/ ((W/m2)·s).
The spectral response graphs given by different manufacturers are different. Some graphs' ordinate is
relative sensitivity response, and abscissa is wavelength. Some graphs' ordinate is QE, and abscissa is
wavelength.
4.2. MER2-U3(-L) Series
4.2.1. MER2-041-436U3M/C(-L)
Specifications
MER2-041-436U3C
MER2-041-436U3C-L
MER2-041-436U3M
MER2-041-436U3M-L
Resolution
720 × 540
Sensor
Sony IMX287 global shutter CMOS
Max. Image Circle
1/2.9 inch
Pixel Size
6.9μm × 6.9μm
Frame Rate
438fps@720 × 540
ADC Bit Depth
10bit
Pixel Bit Depth
8bit, 10bit
Mono/Color
Color
Mono
Pixel Formats
Bayer RG8/Bayer RG10
Mono8/Mono10
Signal Noise Ratio
44dB
43.46dB
Exposure Time
Standard: 20μs~1s, Actual Steps: 1 row period
Gain
0dB~24dB, Default: 0dB, Steps: 0.1dB
Binning
N/A

4.General Specification
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 10
Decimation
N/A
Synchronization
Hardware trigger (MER2-U3-L: N/A), software trigger
I/O
1 input and 1 output with opto-isolated, 2 programmable GPIOs (MER2-U3-L: N/A)
Operating Temp.
0°C~45°C
Storage Temp.
-20°C~70°C
Operating Humidity
10%~80%
Power Consumption
< 2.7W@5V
Lens Mount
C
Data Interface
USB3.0
Dimensions
29mm×29mm×29mm (without lens adapter or connectors)
Weight
MER2-U3: 65g, MER2-U3-L: 61g
Operating System
Windows 7/10/11 32/64bit, Linux, Android, ARMv7, ARMv8
Programmable
Control
Image size, gain, exposure time, trigger polarity, flash polarity
(MER2-U3-L not support trigger polarity and flash polarity)
Conformity
CE, RoHS, FCC, UL, USB3 Vision, GenICam
Table 4-1 MER2-041-436U3M/C(-L) camera specifications
Figure 4-1 MER2-041-436U3M/C(-L) sensor spectral response

4.General Specification
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 11
4.2.2. MER2-041-528U3M/C(-L)
Specifications
MER2-041-528U3C
MER2-041-528U3C-L
MER2-041-528U3M
MER2-041-528U3M-L
Resolution
720 × 540
Sensor
Sony IMX287 global shutter CMOS
Max. Image Circle
1/2.9 inch
Pixel Size
6.9μm × 6.9μm
Frame Rate
528.5fps@720 × 540
ADC Bit Depth
8bit, 10bit, 12bit
Pixel Bit Depth
8bit, 10bit, 12bit
Mono/Color
Color
Mono
Pixel Formats
Bayer RG8/Bayer RG10/Bayer RG12
Mono8/Mono10/Mono12
Signal Noise Ratio
44dB
43.46dB
Exposure Time
UltraShort: 1μs~100μs, Actual Steps: 1μs
Standard: 20μs~1s, Actual Steps: 1 row period
Gain
0dB~24dB, Default: 0dB, Steps: 0.1dB
Binning
1×1, 1×2, 1×4, 2×1, 2×2, 2×4, 4×1, 4×2, 4×4
Decimation
FPGA: 1×1, 1×2, 1×4, 2×1, 2×2, 2×4, 4×1, 4×2, 4×4
Synchronization
Hardware trigger (MER2-U3-L: N/A), software trigger
I/O
1 input and 1 output with opto-isolated, 2 programmable GPIOs (MER2-U3-L: N/A)
Operating Temp.
0°C~45°C
Storage Temp.
-20°C~70°C
Operating Humidity
10%~80%
Power Consumption
< 2.7W@5V
Lens Mount
C
Data Interface
USB3.0
Dimensions
29mm×29mm×29mm (without lens adapter or connectors)
Weight
MER2-U3: 65g, MER2-U3-L: 61g
Operating System
Windows 7/10/11 32/64bit, Linux, Android, ARMv7, ARMv8
Other manuals for MERCURY2 USB3
1
This manual suits for next models
20
Table of contents
Other Daheng Imaging Machine Vision System manuals
Popular Machine Vision System manuals by other brands

Ark Vision Systems
Ark Vision Systems AVS-Wireless instruction manual

National Instruments
National Instruments NI myRIO ESSENTIALS GUIDE

Pulsar
Pulsar DIGIFORCE X950 instructions

EVT
EVT EyeCheck 9 Series Hardware manual

SVS-Vistek
SVS-Vistek CoaXPress EoSens 4CXP user guide

SVS-Vistek
SVS-Vistek CoaXPress FXO Series manual