IEI Technology HSC-13Mx User Manual

Page 1
HSC-13Mx Industrial Camera
Page i
MODEL:
USB 3.0 Monochrome Camera
Rev. 1.00 – January 31, 2018
with Opto-isolated I/O, Global Shutter,
1280x1024 pixel, RoHS
User Manual
Page 2
Page ii
HSC-13Mx Industrial Camera
Date Version Changes
January 31, 2018 1.00 Initial release
Revision
Page 3
HSC-13Mx Industrial Camera
Page iii
Copyright
COPYRIGHT NOTICE
The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation, even if advised of the possibil ity of such damages.
This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form without prior written permission of the manufacturer.
TRADEMARKS
All registered trademarks and product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective owners.
Page 4
Page iv
HSC-13Mx Industrial Camera
Manual Conventions
WARNING
Warnings appear where overlooked details may cause damage to the equipment or result in personal injury. Warnings should be taken seriously.
CAUTION
Cautionary messages should be heeded to help red uce the chance of losing data or damaging the product.
NOTE
These messages inform the reader of essent ial but non-critical information. These messages should be read carefully as any directions or instructions contained therein ca n help avoid making mistakes.
Page 5
HSC-13Mx Industrial Camera
Page v
Table of Contents
1 INTRODUCTION .......................................................................................................... 1
1.1 OVERVIEW .................................................................................................................. 2
1.2 FEATURES ................................................................................................................... 2
1.3 EXTERNAL OVERVIEW ................................................................................................ 3
1.3.1 Front Panel ........................................................................................................ 3
1.3.1 Rear Panel ......................................................................................................... 3
1.3.2 Top and Bottom Surfaces ................................................................................... 4
1.4 SPECIFICATIONS ......................................................................................................... 5
1.5 DIMENSIONS ............................................................................................................... 7
2 UNPACKING ................................................................................................................. 8
2.1 ANTI-STATIC PRECAUTIONS ........................................................................................ 9
2.2 UNPACKING PRECAUTIONS ......................................................................................... 9
2.3 PACKING LIST ........................................................................................................... 10
2.4 OPTIONAL ITEMS ....................................................................................................... 11
3 HARDWARE INSTALLATION ................................................................................. 13
3.1 INSTALLATION PRECAUTIONS ................................................................................... 14
3.2 INSTALLING A C-MOUNT CAMERA LENS .................................................................. 14
3.3 MOUNTING THE HSC-13MX .................................................................................... 15
3.4 EXTERNAL PERIPHERAL INTERFACE CONNECTORS ................................................... 16
3.4.1 Opto-isolated GPIO Connector ....................................................................... 16
3.4.2 USB 3.0 (Micro B) Connector .......................................................................... 16
4 IEI HSC APPLICATION ............................................................................................ 17
4.1 OVERVIEW ................................................................................................................ 18
4.2 APPLICATION INSTALLATION .................................................................................... 18
4.2.1 Uninstall IEI HSC AP ...................................................................................... 22
4.3 LAUNCHING AND CONNECTING ................................................................................ 23
4.4 CONFIGURING DEVICE SETTINGS ............................................................................. 25
4.4.1 Camera Configuration ..................................................................................... 25
Page 6
Page vi
HSC-13Mx Industrial Camera
4.4.2 T rigger Control ................................................................................................ 26
4.4.3 Device Control ................................................................................................. 28
4.4.4 Save Options (HSC Single Only) ..................................................................... 30
4.5 CAPTURING IMAGES MANUALLY .............................................................................. 31
4.6 SAVING AND LOADING DEVICE SETTINGS ................................................................ 32
4.6.1 HSC Single ....................................................................................................... 32
4.6.2 HSC Multi ........................................................................................................ 34
5 HSC-13MX SDK (WINDOWS) .................................................................................. 35
5.1 BUILD ENVIRONMENT .............................................................................................. 36
5.2 SDK INTRODUCTION ................................................................................................ 36
5.2.1 Structure Definition .......................................................................................... 37
5.2.2 Error Code Definition ...................................................................................... 39
5.2.3 API Introduction ............................................................................................... 40
5.2.4 T rigger Input .................................................................................................... 47
5.2.5 Output Control ................................................................................................. 50
A REGULATORY COMPLIANCE .............................................................................. 60
B HAZARDOUS MATERIALS DISCLOSURE ......................................................... 62
Page 7
HSC-13Mx Industrial Camera
Page vii
List of Figures
Figure 1-1: HSC-13Mx Industrial Camera ..................................................................................... 2
Figure 1-2: HSC-13Mx Front Panel ................................................................................................ 3
Figure 1-3: HSC-13Mx Rear Panel ................................................................................................. 3
Figure 1-4: HSC-13Mx Top and Bottom Surfaces ....................................................................... 4
Figure 1-5: HSC-13Mx with Mounting Bracket Dimensions (mm) ............................................. 7
Figure 3-1: Installing a C-mount Camera Lens .......................................................................... 14
Figure 3-2: Securing the Mounting Bracket to the HSC-13Mx ................................................. 15
Page 8
Page viii
HSC-13Mx Industrial Camera
List of Tables
Table 1-1: Specifications ............................................................................................................... 6
Table 2-1: Package List Contents ............................................................................................... 10
Table 3-1: Connector Pinouts ...................................................................................................... 16
Page 9
HSC-13Mx Industrial Camera
Page 1
Chapter
1

1 Introduction

Page 10
Page 2
HSC-13Mx Industrial Camera

1.1 Overview

Figure 1-1: HSC-13Mx Industrial Camera
The HSC-13Mx CMOS camera is equipped with USB 3.0 SuperSpeed interface, which is suitable for industrial purpose such as the machine vision application. In addition, through the IEI HSC SDK, downloaded from the IEI website, t he user can easily set up the c amera for precise inspection.

1.2 Features

Some of the HSC-13Mx industrial camera features are listed below.
IEI HSC SDK available  Compact and lightweight industrial ca m era with global shutter  Compliant with USB 3.0 SuperSpeed specification  Opto-isolated external I/O interface  Supports resolution up to 1280x1024 (1.3 megapixel)  Supports frame rate up to 140 fps / 60 fps  Supports global shutter
Page 11
HSC-13Mx Industrial Camera
Page 3

1.3 External Overview

1.3.1 Front Panel

The front side of the HSC-13Mx has a lens mount for attaching a CS-mount lens . Beside s, the HSC-13Mx provides a CS to C mount adapter that allows a C-mount lens to be installed to the HSC-13Mx. Refer to Section 3.2 for detailed information.
Figure 1-2: HSC-13Mx Front Panel

1.3.1 Rear Panel

An overview of the rear panel is shown in Figure 1-3 below.
Figure 1-3: HSC-13Mx Rear Panel
Page 12
Page 4
HSC-13Mx Industrial Camera

1.3.2 Top and Bottom Surfaces

Both the top and bottom surfaces of the HSC-13Mx contain four retention screw holes (Figure 1-4) for installing the supplied mounting bracket.
Figure 1-4: HSC-13Mx Top and Bottom Surfaces
Page 13
HSC-13Mx Industrial Camera
Page 5

1.4 Specifications

The HSC-13Mx specifications are listed in the table below:
HSC-13M3-O HSC-13M4-E Resolution (Max.) Frame Rate (Max.) Megapixels Chroma Sensor Name Sensor Type Shutter Sensor Size Pixel Size Lens Mount A/D Bits (ADC) Acquisition Modes Partial Image Modes
1280x1024 140 fps 60 fps
1.3 megapixel Mono On-Semi PYTHON 1300 E2V EV76C560 CMOS Global shutter 1/2” 1/1.8”
4.8 µm 5.3 µm CS-mount 8-bit/10-bit Continuous, single frame, multi frame Pixel binning, decimation, ROI
Opto-isolated I/O Ports Serial Port Auxiliary Output Interface Machine HSC Standard SOFTWARE SUPPORT
OS Environment
SDK
OTHERS
One input, one output One (RS-232) 5 V, 100 mA max. USB 3.0 (Micro B) USB3 HSC v1.0
Microsoft® Windows® 7 (32-bit & 64-bit) Microsoft® Windows® 8.1 (32-bit & 64-bit)
Microsoft® Windows® 10 (32-bit & 64-bit) Windows: provides SDK and demo program with
sample source code
Page 14
Page 6
HSC-13Mx Industrial Camera
Dimensions (WxHxD) Weight Operating Temperature Storage Temperature Operating Humidity Storage Humidity
Power Requirements
Compliance Table 1-1: Specifications
29 mm x 29 mm x 57 mm 85 g 0ºC ~ 50ºC
-30ºC ~ 60ºC 20% ~ 80% 30% ~ 95%
5 V via USB 3.0 6 V ~ 18 V via opto-isolated input
CE, FCC
Page 15
HSC-13Mx Industrial Camera
Page 7

1.5 Dimensions

The dimensions for the HSC-13Mx with mounting bracket are listed below.
Figure 1-5: HSC-13Mx with Mounting Bracket Dimensions (mm)
Page 16
Page 8
HSC-13Mx Industrial Camera
Chapter
2

2 Unpacking

Page 17
HSC-13Mx Industrial Camera
Page 9
Failure to take ESD precautions during the installation of the

2.1 Anti-static Precautions

WARNING:
HSC-13Mx may result in permanent damage t o t he camera and severe injury to the user.
Electrostatic discharge (ESD) can cause serious damage to electronic components, including the industrial camera. Dry climates are especially susceptible to ESD. It is therefore critical that whenever the industrial camera, or any other electrical component is handled, the following anti-static precauti ons are strictly adhered to.
Wear an anti-static wristband: W earing a simple anti-static wristb and can
help to prevent ESD from damaging the board.
Self-grounding: Before handling the board, touch any grounded conducting
material. During the time the board is handled, f requently touch any conducting materials that are connected to the ground.
Use an anti-static pad: When configuring the indus trial camera, place it on
an anti-static pad. This reduces the possibility of ESD damaging the industrial camera.

2.2 Unpacking Precautions

When the industrial camera is unpacked, please do the following:
Follow the anti-static precautions o utlined in Section 2.1.  Make sure the packing box is facing up wards so the industrial camera does
not fall out of the box.
Make sure all the components listed in Section 2.3 are pre sent .
Page 18
Page 10
HSC-13Mx Industrial Camera
If some of the components listed in the checklist below are missing,
from or contact an IEI sales

2.3 Packing List

NOTE:
please do not proceed with the installation. Contact the IEI reseller or vendor you purchased the HSC-13Mx representative directly. To contact an IEI sales representative, please send an email to
The industrial camera is shipped with the fol l owing components:
Quantity Item Image
1 HSC-13Mx industrial camera
1 Mounting bracket
1 CS to C mount adapter
sales@ieiworld.com.
Table 2-1: Package List Contents
Page 19
HSC-13Mx Industrial Camera
Page 11

2.4 Optional Items

The following are optional components which may be separately purchased:
Item and Part Number Image
USB 3.0 cable, 1800mm, USB 3.0 A type male and micro USB 3.0 B type male+screw
(P/N: 32001-019800-100-RS)
IO connecting cable with an 8-pin male connector (P/N: 32033-001000-100-RS)
Camera lens, 2/3", 16mm focal length, F2.0, C-Mount (P/N: 7I003-M1620MPW2-RS)
Camera lens, 2/3", 35mm focal length, F1.4, C-Mount (P/N: 7I003-M3514MP-RS)
Camera lens, 1/2", 12mm focal length, F1.4, C-Mount (P/N: 7I003-SV1214V-RS)
Page 20
Page 12
HSC-13Mx Industrial Camera
Item and Part Number Image
Camera lens, 2/3", 16mm focal length, F1.4, C-Mount (P/N: 7I003-SV1614V-RS)
Camera lens, 1", 25mm focal length, F1.4, C-Mount (P/N: 7I003-SV2514V-RS)
If any of these items are missing or damaged, contact the distributor or sales representative immediately.
Page 21
HSC-13Mx Industrial Camera
Page 13
Chapter
3

3 Hardware Installation

Page 22
Page 14
HSC-13Mx Industrial Camera

3.1 Installation Precautions

During installation, be aware of the precautions below:
Read the user manual: The user manual provides a complete description of
the HSC-13Mx, installation instruction s and configuration options.
DANGER! Disconnect Power: Power to the HSC-13Mx must be
disconnected during the installation process. Failing to disconnect the power may cause severe injury to the body and/or damage to the system.
Qualified Personnel: The HSC-13Mx must be installed and operated only by
trained and qualified personnel. Maintenanc e, upgrades, or repairs may only be carried out by qualified personnel who are fami li ar with the associated dangers.

3.2 Installing a C-Mount Camera Lens

To install a C-mount camera lens to the HSC-13Mx, please follow the steps below:
Step 1: Attach the supplied CS to C mount adapter to the lens mount of the HSC-13Mx.
Then, spin the adapter clockwise until it is secure to the HSC-13Mx.
Step 2: Attach the C-mount camera lens to the CS to C mount adapter. Then, spin the
lens clockwise until it is secure to the adapter. Step 0:
Figure 3-1: Installing a C-mount Camera Lens
Page 23
HSC-13Mx Industrial Camera
Page 15

3.3 Mounting the HSC-13Mx

The HSC-13Mx is shipped with a mounting bracket that allows the HSC-13Mx to be mounted onto an object with corresponding mounting screw, such as a tripod. To mount the HSC-13Mx onto an object using the mounting b racket, please follow the steps below.
Step 1: Attach the mounting bracket to the bottom or top surface of the HSC-13Mx.
Secure the bracket to the HSC-13Mx with the four supplied retention screws. See Figure 3-2.
Figure 3-2: Securing the Mounting Bracket to the HSC-13Mx
Step 2: Mount the HSC-13Mx to an object with corresponding mounting screw , for
example, a tripod. Align the threaded hole on the mounting bracket with the mounting screw, place the HSC-13Mx over the object, and then spin the HSC-13Mx until it is secure to the object. Step 0:
Page 24
Page 16
HSC-13Mx Industrial Camera

3.4 External Peripheral Interface Connectors

The HSC-13Mx has the connectors listed below. Detailed descriptions of the connectors can be found in the following subsections.
Opto-isolated GPIO  USB 3.0 (Micro B)

3.4.1 Opto-isolated GPIO Connector

The pinouts of the opto-isolated GPIO connector are shown below:
Pin Description
1 VCC_OUT 5V 2 VCC_IN 12V 3 ISO_GND 4 GND 5 RS-232 RXD 6 RS-232 TXD 7 ISO_OUT 8 ISO_IN
Table 3-1: Connector Pinouts

3.4.2 USB 3.0 (Micro B) Connector

The USB 3.0 connector (Figure 1-3) allows connecti on to a computer.
Page 25
HSC-13Mx Industrial Camera
Page 17
Chapter
4

4 IEI HSC Application

Page 26
Page 18
HSC-13Mx Industrial Camera

4.1 Overview

The IEI HSC allows configuration of the HSC-13Mx via a computer. Refer to the following sections for detailed information.
NOTE:
The IEI HSC supports the OS versions listed below:
Microsoft® Windows® 7 (32-bit & 64-bit)
Microsoft® Windows® 8.1 (32-bit & 64-bit)
Microsoft® Windows® 10 (32-bit & 64-bit)

4.2 Application Installation

By installing the IEI HSC utility, the IEI HSC AP and camera device driver will be installed simultaneously. Please follow the steps below to proceed with installation. If the older version of the IEI HSC is already installed, please refer Section 4.2.1 to uninstall it.
NOTE:
To obtain the IEI HSC setup file, please visit the IEI website.
Step 1: Connect the HSC-13Mx to the computer via the USB 3.0 connector .
Step 2: Double click the IEI_HSCam_SDK_Vx.x.x.xxxx_yyyymmdd.exe setup file
downloaded from the IEI website.
Page 27
HSC-13Mx Industrial Camera
Page 19
Step 3: The Setup Wizard welcome window appears. Click Next to start.
Step 4: The license agreement appears. Read the license agreement, and then click I
Agree to continue.
Page 28
Page 20
HSC-13Mx Industrial Camera
Step 5: The system starts installing the application.
Step 6: The Device Driver Installation Wizard window appears. Click Next button to
continue the device driver installation.
Page 29
HSC-13Mx Industrial Camera
Page 21
Step 7: When the device driver installation is completed, the following window appears.
Click Finish to exit.
Step 8: When the IEI HSC and related drivers are successfully installed, the following
window appears. Click Finish to exit.
Page 30
Page 22
HSC-13Mx Industrial Camera
Step 9: Check the Device Manager in the Windows control panel to ensure the “IEI High
Speed Camera” device driver has been properly installed. Step 0:

4.2.1 Uninstall IEI HSC AP

To uninstall the IEI HSC and related drivers, follow the steps below.
Step 1: Make sure to log in the system as the administrator.
Step 2: Click Uninstall from “Start Menu-> All Programs-> HSC”.
Step 3: A confirm ation window appears. Click Yes to uninstall the IEI HSC and all of its
components.
Page 31
HSC-13Mx Industrial Camera
Page 23

4.3 Launching and Connecting

Step 1: Connect the HSC-13Mx device(s) to the computer.
Step 2: If the application is install ed to the conne cted compute r, two icons s hould appear
on the Windows desktop.
HSC Single: allows users to preview single HSC-13Mx device.
HSC Multi: allows users to preview multi ple HSC-13Mx devices.
Step 3: Double click the icon to launch the application. The user may launch the
application by clicking Start > Programs > HSC. The IEI HSC main screen appears.
HSC Single
Page 32
Page 24
HSC-13Mx Industrial Camera
HSC Multi
Step 4: HSC Single only - All cameras will be listed in “Device Index“. Select an index
number and the device information of the select ed camera will be shown below.
Step 5: Click the Connect button to connect and configure the camera.
HSC Single HSC Multi
Step 6: Before closing the HSC AP , click Disconnect to disconnect the camera.
Page 33
HSC-13Mx Industrial Camera
Page 25

4.4 Configuring Device Settings

The users can configure device settings before using the HSC-13Mx to capture images. The following sections describe the configuration settings in detail.

4.4.1 Camera Configuration

Click the button on the IEI HSC user interface to bring up the following setup window.
Options Description
Exposure Time (us)
Gain value (dB)
Pixel Format
Reverse Y
Set or get the exposure time setting. Change the settings can adjust image brightness.
Set or get the gain value setting. Change the setti ngs can adjust image brightness.
The number of bits used to define each pixel. Options include:
Mono8: 8 bits Mono10: 10 bits
Whether to flip the image upside down.
Save the settings to the device. Get the settings from the device.
Page 34
Page 26
HSC-13Mx Industrial Camera
enable hardware trigger input feature for

4.4.2 Trigger Control

IEI HSC AP allows external hardware triggering by using the device connected to the GPIO connector of the HSC-13Mx to capture images. To enable or configure the
hardware triggering function, click the interface to bring up the following setup wind ow.
button on the IEI HSC user
Options Description Trigger Input
Trigger In Enable
Trigger In Activation
Check to capturing image.
Rising Edge: the image will be captured when hardware input signal goes from low to high.
Page 35
HSC-13Mx Industrial Camera
Page 27
Specify an amount of time to delay the input task from
Specify an amount of time to delay the output task from
Options Description Trigger Input
Falling Edge: the image will be captured when hardware
input signal goes from high to low.
Trigger In Delay (us)
Trigger In Response (us) Output Pin
Output Pin Mode
General Out State Trigger Out Polarity
Trigger Out Delay (us)
Trigger Out Duration (us) Trigger Out Response (us)
*us indicates microsecond (μs).
running after the task is triggered. Verify the delay time of the image input task.
Set hardware trigger output mode. Options include:
General output Trigger o ut (select and click Set to enable the
following four trigger output setting options)
Enable or disable general output mode. Set the polarity of the trigger output.
running after the task is triggered. Specify the durat i on of time to perform the output task. Verify the delay time of the image output task.
Save the settings to the device. Get the settings from the device.
Page 36
Page 28
HSC-13Mx Industrial Camera

4.4.3 Device Control

To change or view all of the device settings, click the button on the IEI HSC user interface to bring up the following window. The menu bar at the top of the
window contains several buttons that allow users to adjust the view of the list.
Page 37
HSC-13Mx Industrial Camera
Page 29
more controls available for the Guru level than the
level; some controls are not available in the
device that are
Item Description
Expand button
Collapse button
Visibility
Browser Options button
Expands the categories (when the Tree view is selected in the Browser Options dialog box).
Collapses the categories (when the Tree view is selected in the Browser Options dialog box).
Filters the list of features to suit the users’ level. There are
Beginner Beginner level.
Opens the Browser Options dialog box, which allows you to:
Show the features using eit her the feature name or the
display name.
Choose whether the features are displayed as an
alphabetical list or a feature tree.
Specify whether the device features are refreshed
automatically, based on polling time, or manually refreshed (using the Refresh button).
Refresh button
Refreshes the features of a HSC-13Mx displayed in the Device Control dialog box.
Page 38
Page 30
HSC-13Mx Industrial Camera
directory to save the captured

4.4.4 Save Options (HSC Single Only)

Click the button on the IEI HSC user interface to bring up the following setup window.
Options Description
Enable Image Saving
Location to save images
Format
Image File Prefix
Saving Frequency Options
Check to enable image saving function and configuration options listed below.
Click images.
Set the image file format. Options include:
BMP RAW
Set the filename prefix of the image files to be saved.
Set the saving frequency.
to specify a
Page 39
HSC-13Mx Industrial Camera
Page 31

4.5 Capturing Images Manually

To capture images manually using HSC single/mul ti, follow the steps below.
Step 1: Use the Acquisition Mod e option on the IEI HSC user interface to set the
acquisition mode – continuous or single.
Continuous mode: capture image continuously
Single mode: capture one image
Step 2: Capture image(s).
Continuous mode: click the Play button on the user interface to start
capturing images; click the Stop button to stop capturing images.
Single mode: click the Play button on the user interface to capture one
image.
Page 40
Page 32
HSC-13Mx Industrial Camera

4.6 Saving and Loading Device Settings

IEI HSC AP allows users to save the device settings to a configuration file which can be loaded during future sessions.

4.6.1 HSC Single

To or from a configuration file
Saving
To save the changed device settings to a configuration file using IEI HSC Single, select Save Configuration to File from the File menu. Choose a file name and location on your computer to save the .pvcfg file. Click Save.
Loading To load the configuration settings from a file, select Load Configuration from File from the File menu. Navigate to the saved .pvcfg f il e and click Open.
Page 41
HSC-13Mx Industrial Camera
Page 33
To or from Camera UserSet1
Saving
The user can save the device settings to the device. After you have changed settings, select Save Config to Camera UserSet1 from the File menu.
Loading
To load the device settings from UserSet1, select Load Config UserSet1 from the File menu.
NOTE:
To set UserSet1 as the persistent settings that are loaded every time t he device is reset, select Set Default UserSet (loaded on restart)
UserSet1 from the
File menu.
Page 42
Page 34
HSC-13Mx Industrial Camera

4.6.2 HSC Multi

Saving
To save the changed device settings to a configuration file using IEI HSC Multi, click Save Config on the user interface. Choose a file name and location on your computer to save the .pvcfg file. Click Save.
Loading
To load the configuration settings from a file, click Load Config on the user interface. Navigate to the saved .pvcfg file and click Open.
Page 43
HSC-13Mx Industrial Camera
Page 35
Chapter
5
5 HSC-13Mx SDK
(Windows)
Page 44
Page 36
HSC-13Mx Industrial Camera
File
File Location
Description
Included File
Library File

5.1 Build Environment

The SDK build environment requirements are listed below. If the build environment is not Microsoft Visual Studio 2010 SP1 or latter, you need to install Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).
Microsoft Windows 7 32-bit/64-bit or latter  Windows SDK 7.1  Microsoft Visual Studio 2010 SP1

5.2 SDK Introduction

NOTE:
To obtain the HSC-13Mx SDK file, please visit the IEI website.
The following sections are the brief introduction of the SDK. Applications using API are required to include the following files which are located in the IEI HSC installation folder. The default path is listed below
x86 OS: the installation p ath is C:\Program Files\HSC  x64 OS: the installation path is C:\Program Files(x86)\HSC
(installation path)SDK\IEI_HSC_SDK.h Header file required for C/C++ (installation path)\SDK\IEI_HSC_SDK.lib Exports API function definitions
DLL File
You can find the details and usages in the sampl e code whic h located in the followin g path: (installation path)\example_code\
(installation path)\SDK\IEI_HSC_SDK.dll Dynamic Link Library (DLL)
Page 45
HSC-13Mx Industrial Camera
Page 37
chrModelName[MAX_STRING_SIZE]
WCHAR
Model name
chrVersion_AutoGen [MAX_STRING_SIZE]
WCHAR
AutoGen Version
chrVersion_FPGA [MAX_STRING_SIZE]
WCHAR
FPGA Version
chrVersion_Firmware [MAX_STRING_SIZE]
WCHAR
Firmware Version
chrManufactureInfo[MAX_STRING_SIZE]
WCHAR
Manufaturer information
chrSerialNumber[MAX_STRING_SIZE]
WCHAR
Serial number
chrDeviceGUID[MAX_STRING_SIZE]
WCHAR
GUID number
chrFamilyName[MAX_STRING_SIZE]
WCHAR
Device family name

5.2.1 Structure Definition

#define MAX_STRING_SIZE 512
typedef struct _IEI_HSC_SDK_CameraInfo
{
WCHAR chrVendorName[MAX_STRING_SIZE]; WCHAR chrModelName[MAX_STRING_SIZE]; WCHAR chrVersion_AutoGen[MAX_STRING_SIZE]; WCHAR chrVersion_FPGA[MAX_STRING_SIZE]; WCHAR chrVersion_Firmware[MAX_STRING_SIZE]; WCHAR chrManufactureInfo[MAX_STRING_SIZE]; WCHAR chrSerialNumber[MAX_STRING_SIZE]; WCHAR chrDeviceGUID[MAX_STRING_SIZE]; WCHAR chrFamilyName[MAX_STRING_SIZE];
} IEI_HSC_SDK_CameraInfo;
Structure Member Data Type Description
chrVendorName[MAX_STRING_SIZE] WCHAR Vendor name
Page 46
Page 38
HSC-13Mx Industrial Camera
Structure Member
Data Type
Description
mEnabled
bool
enable image save feature
mThrottling
unsigned int
Decide when to save
mThrottlingNoneNumber
unsigned int
Number of saving images
mThrottlingNoneTime
unsigned int
Period of saving images(seconds)
mImageWidth
unsigned int
image width
mImageHeight
unsigned int
image height
ImageFormat
unsigned int
image file format
mPath[512]
WCHAR
destination save path
mPrefix[512]
WCHAR
file name prefix
typedef struct structSavingImage
{
bool mEnabled; unsigned int mThrottling; unsigned int mThrottlingNoneNumber; unsigned int mThrottlingNoneTime; unsigned int mImageWidth; unsigned int mImageHeight; unsigned int ImageFormat; WCHAR mPath[512]; WCHAR mPrefix[512];
} structSavingImage;
Page 47
HSC-13Mx Industrial Camera
Page 39
Name
Value
IEI_HSC_NO_ERROR
0
IEI_HSC_INITIAL_TWICE_ERROR
1
IEI_HSC_DEVICE_NOT_INITIAL_ERROR
2
IEI_HSC_DEVICE_NOT_OPEN_ERROR
3
IEI_HSC_OPEN_TWICE_ERROR
4
IEI_HSC_ENUM_DEVICE_ERROR
5
IEI_HSC_DEVICE_NOT_FOUND_ERROR
6
IEI_HSC_CONNECT_ERROR
7
IEI_HSC_OPEN_ERROR
8
IEI_HSC_RUN_TWICE_ERROR
9
IEI_HSC_STOP_DEVICE_NOT_RUNNING_ERROR
10
IEI_HSC_PARAMETER_NOT_AVAILABLE_ERROR
11
IEI_HSC_PARAMETER_RANGE_ERROR
12
IEI_HSC_SET_PARAMETER_ERROR
13
IEI_HSC_GET_PARAMETER_ERROR
14
IEI_HSC_ALLOC_IMAGE_BUFFER_ERROR
15
IEI_HSC_FORMAT_PARAMETER_ERROR
16
IEI_HSC_THROTTLE_PARAMETER_ERROR
17
IEI_HSC_PATH_PARAMETER_ERROR
18
IEI_HSC_PATH_EXIST_ERROR
19
IEI_HSC_REGISTER_READ_WRITE_ERROR
20
IEI_HSC_CMD_TYPE_ERROR
21
IEI_HSC_MONO10_BMP_ERROR
22
IEI_HSC_RAM_CAPACITY_NOT_ENOUGH_ERROR
23
IEI_HSC_SET_CONFIGURATION_ERROR
100
IEI_HSC_GET_CONFIGURATION_ERROR
150

5.2.2 Error Code Definition

Page 48
Page 40
HSC-13Mx Industrial Camera
IEI_HSC_SDK_Initialize previously

5.2.3 API Introduction

Prototype Description Parameter Return
IEI_HSC_SDK_GetVersion() Get SDK version None Version in YYYYMMDD
Prototype Description Parameter
Return
IEI_HSC_SDK_Initialize(int *ot_iDeviceNumber)
Release IEI HSC library None No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype Description Parameter
Return
IEI_HSC_SDK_Uninitialize()
un-initial HSC devices None No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype Description
Parameter
Return
IEI_HSC_SDK_OpenDevice(int in_iCamera_ID)
Open HSC device which to be manipulated
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 49
HSC-13Mx Industrial Camera
Page 41
IEI_HSC_SDK_Initialize previously
IEI_HSC_SDK_Initialize previously
Prototype Description
Parameter
Return
IEI_HSC_SDK_CloseDevice(int in_iCamera_ID)
Close HSC device which will not to be used
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype Description
Parameter
Return
IEI_HSC_SDK_CaptureStart(int in_iCamera_ID)
start capturing images
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype Description
Parameter
Return
IEI_HSC_SDK_CaptureStop(int in_iCamera_ID)
Stop capturing images
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 50
Page 42
HSC-13Mx Industrial Camera
Frames per second
image numbers
Prototype Description
Parameter
Return
IEI_HSC_SDK_GetFrameRate(int in_iCamera_ID,double *dblFPS)
Count image frames per second
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
dblFPS
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
IEI_HSC_SDK_GetFrameCounter(int in_iCamera_ID, unsigned long
*ulngFrameCounter)
To count acquired image numbers
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
ulngFrameCounter
Return
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 51
HSC-13Mx Industrial Camera
Page 43
value that derived by calling
Capture frames continuously
0x00
Capture 1 frame
0x01
Prototype
IEI_HSC_SDK_SetCallback(int in_iCamera_ID,FRAMECALLBACK
func)
Set user defined callback function which will be called by OS
Description
automatically for each image captur ed , image data will be transfer via callback function
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N is
Parameter
ot_iDeviceNumber
IEI_HSC_SDK_Initialize previously
func user defined callback function
No error occurs if return value=0; if return value does not equal 0,
Return
please refer to error code definition
Prototype
IEI_HSC_SDK_AcquisitionMode(int in_iCamera_ID,int
in_iCmdType,int *intMode)
Description
image acquisition mode
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ
Parameter
to get current setting from device CMD_TYPE_WRITE apply setting to device
intMode
No error occurs if return value=0; if return value does not equal 0,
Return
please refer to error code definition
Page 52
Page 44
HSC-13Mx Industrial Camera
Camera information structure, refer to Structure Definition
Prototype
Description
Parameter
Return
Prototype
Description
Parameter
IEI_HSC_SDK_GetDeviceInfo(int in_iCamera_ID,
IEI_HSC_SDK_CameraInfo* pHSC_Camera_Info)
Get device information
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N is
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
IEI_HSC_SDK_CameraInfo
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
IEI_HSC_SDK_Exposure(int in_iCamera_ID,int in_iCmdType,double *dblExposureTime_us)
image exposure time , unit: Microsecond(us)
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N is
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
dblExposureTime_us
Exposure time range from 6 ~2000000 us, precision 0.1 us. The Exposure time value range can also be derived by call
IEI_HSC_SDK_ExposureGetRange function
Return
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 53
HSC-13Mx Industrial Camera
Page 45
Prototype
Description
Parameter
Return
IEI_HSC_SDK_ExposureGetRange (int in_iCamera_ID,double *dblExposureTime_Min,double *dblExposureTime_Max)
Get acceptable exposure time sett i ng range
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N is
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
dblExposureTime_Min
Minimum acceptable exposure value, unit: Microsecond(us), precision 0.1 us.
dblExposureTime_Max
Maximum acceptable exposure value, unit: Microsecond(us), precision 0.1 us.
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
Return
IEI_HSC_SDK_Gain(int in_iCamera_ID,int in_iCmdType,double *dblGain_dB)
camera gain control, unit: dB
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
dblGain_dB
Gain value range from 1 to 32 dB, precision 0.1 dB . The gain value range can also be derived by call
IEI_HSC_SDK_GainGetRange function
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 54
Page 46
HSC-13Mx Industrial Camera
precision 0.1 us
Prototype
Description
Parameter
Return
IEI_HSC_SDK_GainGetRange(int in_iCamera_ID,double *dblGain_Min,double *dblGain_Max)
Get acceptable gain setting range
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N is
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
dblGain_Min
Minimum acceptable gain value, unit: Microsecond(us), precision 0.1 us.
dblGain_Max
Maximum acceptable gain value, unit: Microsecond(us),
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 55
HSC-13Mx Industrial Camera
Page 47
Disable camera trigger feature
false
Enable camera trigger feature
true

5.2.4 Trigger Input

Prototype
Description
Parameter
Return
IEI_HSC_SDK_TriggerInEnable(int in_iCamera_ID,int in_iCmdType, bool *Enabled)
To enable or disable camera trigger in feature
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
Enabled
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 56
Page 48
HSC-13Mx Industrial Camera
Rising Edge triggered
0x00
Falling Edge triggered
0x01
Prototype
Description
Parameter
Return
IEI_HSC_SDK_TriggerInActivation(int in_iCamera_ID,int in_iCmdType, int *intTriggerActivation)
Determine the trigger activated from voltage low to high level signal(rising edge) or high to low level signal(fall ing edge)
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N is
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously in_iCmdTypeRW
CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
intTriggerActivation
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 57
HSC-13Mx Industrial Camera
Page 49
precision 1 us.
Prototype
Description
Parameter
IEI_HSC_SDK_TriggerInDelay(int in_iCamera_ID,int in_iCmdType, long *lngTriggerDelay)
Delay a period of time before capture image after trigger in signaled
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously in_iCmdTypeRW
CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
lngTriggerDelay
delay time , unit: microsecond the setting range of delay time can be derived by call IEI_HSC_SDK_TriggerInDelayGetRange function
Return
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
Return
IEI_HSC_SDK_TriggerInDelayGetRange(int in_iCamera_ID,long *lngDelay_Min,long *lngDelay_Max)
To get the acceptable min and max of delay time
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously lngDelay_Min
Minimum acceptable delay time value, unit: M i cro second(us) , precision 1 us.
lngDelay_Max
Maximum acceptable delay time value, unit: Microsecond(us) ,
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 58
Page 50
HSC-13Mx Industrial Camera
delay time , unit: microsecond
GeneralOutput
0
TriggerOut
1
Prototype
Description
Parameter
Return

5.2.5 Output Control

IEI_HSC_SDK_TriggerInGetResponse(int in_iCamera_ID, long *lngTriggerResponseUs)
To verify delay time after trigger in signaled , normally the
lngTriggerResponseUs value should be the same as lngTriggerDelay value which set by IEI_HSC_SDK_TriggerInDelay
function
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously lngTriggerResponseUs
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
Return
IEI_HSC_SDK_OutputPinMode(int in_iCamera_ID, int in_iCmdType, int *intMode)
To set output pin for general output or trigger output control
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
intMode
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 59
HSC-13Mx Industrial Camera
Page 51
Off 0 On
1
Prototype
Description
Parameter
Return
IEI_HSC_SDK_GeneralOutputState(int in_iCamera_ID, int in_iCmdType, int *intState)
To set output pin state
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
intState
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 60
Page 52
HSC-13Mx Industrial Camera
normal low , active high
Positive
Normal high, active low
Negative
Prototype
Description
Parameter
IEI_HSC_SDK_TriggerOutPolarity(int in_iCamera_ID, int in_iCmdType,int *intPolarity)
Set trigger output voltage level polarity
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
intPolarity
Positive
Negative
Return
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 61
HSC-13Mx Industrial Camera
Page 53
us.
Prototype
Description
Parameter
IEI_HSC_SDK_TriggerOutDelay(int in_iCamera_ID,int in_iCmdType, long *
lngTriggerDelay) After start grabbing image , to delay a period of time before signal trigger out
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW
CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
lngTriggerDelay
delay time , unit: microsecond the setting range of delay time can be derived by call IEI_HSC_SDK_TriggerOutDelayGetRange function
Return
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
Return
IEI_HSC_SDK_TriggerOutDelayGetRange(int in_iCamera_ID,long *lngDelay_Min,long *lngDelay_Max)
To get the acceptable min and max of delay time
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
lngDelay_Min
Minimum acceptable time value, unit: Microsecond(us) , precision 1 us.
lngDelay_Max
Maximum acceptable value, unit: M icrosecond(us) , precision 1
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 62
Page 54
HSC-13Mx Industrial Camera
Prototype
Description
Parameter
IEI_HSC_SDK_TriggerOutDuration(int in_iCamera_ID, int in_iCmdType, long *lngDuration)
Set a period of time which trigger output signaled
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW
CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device
lngDuration
period of time which output signal remains , unit : microsecond
Return
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 63
HSC-13Mx Industrial Camera
Page 55
us.
Prototype
Description
Parameter
Return
IEI_HSC_SDK_TriggerOutDurationGetRange(int in_iCamera_ID,long *lngDelay_Min,long *lngDelay_Max)
To get the acceptable min and max of duration time
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1 ), N is
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
lngDelay_Min
Minimum acceptable time value, unit: Microsecond(us) , precision 1 us.
lngDelay_Max
Maximum acceptable value, unit: M icrosecond(us) , precision 1
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
IEI_HSC_SDK_TriggerOutGetResponse(int in_iCamera_ID, long *lngTriggerResponseUs)
To verify delay time after start grabbing image , normally the
Description
Parameter
Return
lngTriggerResponseUs value should be the same as lngTriggerDelay value which set by
IEI_HSC_SDK_TriggerOutDelay function
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
lngTriggerResponseUs
delay time , unit: microsecond
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 64
Page 56
HSC-13Mx Industrial Camera
mono10: 10 bits depth image
Prototype Description
Parameter
Return
IEI_HSC_SDK_OpenGenICam(int in_iCamera_ID)
Open GenICam parameter setting dial og
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
IEI_HSC_SDK_PixelsFormat(int in_iCamera_ID, int in_iCmdType,int
*intPixelsFormat)
Set the bit depth of the image
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE
apply set ting to device, available while camera is not
capturing image
intPixelsFormat
mono8 : 8 bits depth image
Return
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 65
HSC-13Mx Industrial Camera
Page 57
Prototype
Description
Parameter
Return
IEI_HSC_SDK_ImageSavingOption(int in_iCamera_ID, int
in_iCmdType,structSavingImage *SavingImageSetting)
Settings for captured image to save
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE
apply setting to device, available while camera is not
capturing image StructSavingImage Refer to Structure Defin ition mentioned previously
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
Return
IEI_HSC_SDK_Configuration(int in_iCamera_ID, int
in_iCmdType,WCHAR *FileName)
Save or load camera parameter setting t o or from conf igurati on file
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ Load parameter settings from configura tion file to camera CMD_TYPE_WRITE
Save parameter settings from camera to conf i guration file,
available while camera is not capturing image
FileName
Configuration file name
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 66
Page 58
HSC-13Mx Industrial Camera
Disable flip vertically
false
Enable flip vertically
true
Prototype
Description
Parameter
Return
IEI_HSC_SDK_ImageReverseY(int in_iCamera_ID, int in_iCmdType,
bool *Enabled)
Flip image vertically in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N is
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW
CMD_TYPE_READ Load parameter settings from configura tion file to camera CMD_TYPE_WRITE
Save parameter settings from camera to conf i guration file,
available while camera is not capturing image
Enabled
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Prototype
Description
Parameter
Return
IEI_HSC_SDK_UserSetConfiguration_SaveToUsetSet1(int
in_iCamera_ID)
Save camera configuration into Camera UserSet 1
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 67
HSC-13Mx Industrial Camera
Page 59
Default
0
UserSet1
1
reset.
Prototype
Description
IEI_HSC_SDK_UserSetConfiguration_Load(int in_iCamera_ID,int
intUserSelector)
Loads the User Set configuration specified to the camera and makes it active.
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
Parameter
intUserSelector
Selects User Set to be loaded
No error occurs if return value=0; if return value does not equal 0,
Return
please refer to error code definition
Prototype
IEI_HSC_SDK_UserSetConfiguration_Default(int in_iCamera_ID, int
in_iCmdType, int *intUserSelector)
Description
Parameter
Return
Selects which User Set to be loaded and make active when the camera is
in_iCamera_ID
In_iCamera_ID can be assigned from 0 to (N – 1), N i s
ot_iDeviceNumber value that derived by calling
IEI_HSC_SDK_Initialize previously
in_iCmdTypeRW CMD_TYPE_READ to get current setting from device CMD_TYPE_WRITE apply setting to device intUserSelector
Selects User Set to be loaded
Default 0 UserSet1 1
No error occurs if return value=0; if return value does not equal 0, please refer to error code definition
Page 68
Page 60
HSC-13Mx Industrial Camera
Appendix
A

A Regulatory Compliance

Page 69
HSC-13Mx Industrial Camera
Page 61
other devices in the equipment, the CE conformity
is equipment complies with Part 15 of the FCC Rules. Operation is subject to the
part 15 of the FCC Rules. These limits are designed to provide
commercial environment. This equipment generates, uses, and can radiate radio
t installed and used in accordance with the instruction
manual, may cause harmful interference to radio communications. Operation of this
DECLARATION OF CONFORMITY
This equipment has been tested and f ound to com ply with specifi cations for CE marking. If the user modifies and/or installs declaration may no longer apply.
FCC WARNING
Th following two conditions:
This device may not cause harmful interference, and This device must accept any interference received, including interference
that may cause undesired operation.
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to reasonable protection against harmful interference when the equipment is operated in a
frequency energy and, if no
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.
Page 70
Page 62
HSC-13Mx Industrial Camera
Appendix
B
B Hazardous Materials
Disclosure
Page 71
HSC-13Mx Industrial Camera
Page 63
The details provided in this appendix are to ensure that the product is compliant with the Peoples Republic of China (China) RoHS standards. The table below acknowledges the presences of small quantities of certain material s in the product, and is applicable t o China RoHS only.
A label will be placed on each product to indicate the estimated “Environmentally Friendly Use Period” (EFUP). This is an estimate of the number of years that these substances would “not leak out or undergo abrupt change.” This product may contain replaceable sub-assemblies/components which have a shorter EFUP such as batteries and lamps. These components will be separately marked.
Please refer to the table on the next page.
Part Name Toxic or Hazardous Substances and Elements
Lead (Pb)
Housing Display Printed Circuit Board Metal Fasteners Cable Assembly Fan Assembly Power Supply Assemblies Battery O: This toxic or hazardous substance is contained in all of the homoge neous materials for the part is below the limit
requirement in SJ/T11363-2006 (now replaced by GB/T 26572-2011).
X: This toxic or hazardous substance is contained in at least one of the homogeneous materials for this part is above
O O O O O O O O O O O O O O O O O O
O O O O O O O O O O O O O O O O O O O O O O O O
O O O O O O
Mercury (Hg)
Cadmium (Cd)
Hexavalent Chromium (CR(VI))
Polybrominated Biphenyls (PBB)
Polybrominated Diphenyl Ethers (PBDE)
the limit requirement in SJ/T11363-2006 (now replaced by GB/T 26572-2011).
Page 72
Page 64
HSC-13Mx Industrial Camera
O O O O O
O
O O O O O
O
O O O O O
O
O O O O O
O
此附件旨在确保本产品符合中国 RoHS 标准。以下表格标示此产品中某有毒物质的含量符 合中国 RoHS 标准规定的限量要求。
本产品上会附有环境友好使用期限的标签,此期限是估算这些物质不会有泄漏或突变”的
年限。本产品可能包含有较短的环境友好使用期限的可替换元件,像是电池或灯管,这些
元件将会单独标示出来。
部件名称
壳体
显示
印刷电路板
金属螺帽
电缆组装
风扇组装
电力供应组装
电池
表示该有毒有害物质在该部件所有物质材料中的含量均在
O:
标准规定的限量要求以下。
表示该有毒有害物质至少在该部件的某一均质材料中的含量超出
X: 26572-2011
取代) 标准规定的限量要求。
有毒有害物质或元素
(Pb)
(Hg)
(Cd)
O O O O O O
O O O O O O
O O O O O O
O O O O O O
六价铬
(CR(VI))
SJ/T 11363-2006 (
SJ/T 11363-2006 (
多溴联苯
(PBB)
现由
GB/T 26572-2011
现由
多溴二苯醚
(PBDE)
GB/T
取代
)
Loading...