Thank you for purchasing our product.
Before using this CMOS camera, please read through this instruction manual
carefully in order to use this product correctly and safely.
After reading, keep this instruction manual handy so that you can refer to,
whenever you need it.
CMOS Camera
Instruction Manual
Model
B/W Camera : DU1207MG
Color Camera : DU1207MCG / DU1207MCF
Information contained in this document is subject to change without prior notice.
Standard name might be trade mark of each company.
Indicates a potentially hazardous situation that may result in death or serious
injury (*1) in the event of improper handling.
CAUTION
Indicates a potentially hazardous situation that may result in light to moderate
injuries (*2) or only in property damage (*3)in the event of improper handling.
Safety Symbols
Description
PROHIBITED
This sign indicates PROHIBITION (Do not).
The content of prohibition is shown by a picture or words beside the symbol.
MANDATORY
This sign indicates MANDATORY ACTION (You are required to do).
The content of action is shown by a picture or words beside the symbol.
Safety Precautions
Before using this product, read these safety precautions carefully. Important information is shown in this
Instruction Manual to protect users from bodily injuries and property damages, and to enable them to use the
product safely and correctly.
Please be sure to thoroughly understand the meanings of the following signs and symbols before reading the
main text that follow, and observe the instructions given herein.
[Definition of Safety Signs]
Notes *1:“Serious injury” refers to cases of loss of eyesight, wounds, burns (high or low temperature),
electric shock, broken bones, poisoning, etc., which leave after-effects or which require
hospitalization or a long period of outpatient treatment of cure.
*2: "Light to moderate injuries" refers to injuries, burns, electric shock etc. that do not require
hospitalization or long-term treatment.
*3: "Property damage" refers to cases of extensive damage involving damage to buildings,
equipment, farm animals, pet animals and other belongings.
Stop operation immediately when any abnormality or defect occurs.
If abnormal conditions are present, such as smoke, a burning smell, ingress of water or
foreign matter, or if the equipment is dropped or malfunctions, fire or electric shock may
result.
Be always sure to disconnect the power cable from the wall socket at once and contact
your dealer.
Unplug
Do not use the equipment in locations subject to water splashes.
Otherwise, fire or electric shock may result.
Do not get wet
Do not disassemble, repair, or modify the equipment.
Otherwise, fire or electric shock may result.
For internal repair, inspection, or cleaning, contact your sales representative.
Never pull apart
Do not place anything on the equipment.
If metallic objects, liquid, or other foreign matter enters the equipment, fire or electric
shock may result.
Avoid
Do not install the equipment in an unstable or inclined location or locations
subject to vibration or impact.
Otherwise, the equipment may topple over and cause personal injury.
Avoid
During an electrical storm, do not touch the power cable and the connection
cable.
Otherwise, an electric shock may result.
Do not touch
Instruction
Use the specified voltage.
Use of an unspecified voltage may result in fire or electric shock.
Do not be handled roughly, damaged, fabricated, bent forcefully, pulled, twisted,
bundled, placed under heavy objects or heated the power cable and the
connection cable.
Observe the following when installing the equipment:
·Do not cover the equipment with a cloth, etc.
·Do not place the equipment in a narrow location where heat is likely to accumulate.
Otherwise, heat will accumulate inside the equipment, possibly resulting in a fire.
Instruction
Do not place the equipment in locations subject to high moisture, oil fumes,
steam, or dust.
Otherwise, fire or electric shock may result.
Avoid
Do not install the equipment in locations exposed to direct sunlight or humidity.
Otherwise, the internal temperature of the equipment will rise, which may cause a fire.
Avoid
Use only specified the power cable and the connection cables.
Otherwise, fire or electric shock may result.
Instruction
Do not give strong impact against the equipment.
It may cause the trouble.
Avoid
When performing connection, turn off power.
When connecting the power cable and the connection cable, turn off the equipment
power.
Otherwise, fire or electric shock may result.
Instruction
Do not expose its camera head to any intensive light (such as direct sunlight).
Otherwise, its inner image pickup device might get damaged.
Avoid
Avoid short-circuiting signal output.
Otherwise, a malfunction may occur.
Avoid
Avoid giving a strong shock against the camera body.
It might cause a breakdown or damage. If your camera is used in a system where its
connector is subjected to strong repetitive shocks, its connector is possible to break
down. If you intend to use your camera in such a situation, if possible, bundle and fix a
cable in the place near the camera, and do not transmit a shock to the connector.
Avoid
Contact your sales representative to request periodic inspection and cleaning
(every approx five years).
Accumulation of dust inside the equipment may result in fire or electric shock.
For inspection and cleaning costs, contact your sales representative.
We shall be exempted from taking responsibility and held harmless for damage or losses incurred by the user
in the following cases.
● In the case damage or losses are caused by natural disasters, such as an earthquake and thunder, fire, or
other acts of God, acts by a third party, deliberate or accidental misuse by the user, or use under extreme
operating conditions.
● In the case of indirect, additional, consequential damages (loss of business interests, suspension of
business activities) are incurred as result of malfunction or non-function of the equipment, we shall be
exempted from responsibility for such damages.
● In the case damage or losses are caused by failure to observe the information contained in the
instructions in this instruction manual and specifications.
● In the case damage or losses are caused by use contrary to the instructions in this instruction manual and
specifications.
● In the case damage or losses are caused by malfunction or other problems resulting from unintended use
of equipment or software etc. that are not specified.
● In the case damage or losses are caused by repair or modification conducted by the customer or any
unauthorized third party (such as an unauthorized service representative).
● Expenses we bear on this product shall be limited to the individual price of the product.
● The item that is not described in specifications of this product is out of the guarantee.
● The case of damages or losses which are caused by incorrect connection of the cable is out of the
● Should the equipment be used in the following conditions or environments, give consideration to safety
measures and inform us of such usage:
1. Use of the equipment in the conditions or environment contrary to those specified, or use outdoors.
2. Use of the equipment in applications expected to cause potential hazard to people or property, which
require special safety measures to be adopted.
● This product can be used under diverse operating conditions. Determination of applicability of equipment or
devices concerned shall be determined after analysis or testing as necessary by the designer of such
equipment or devices, or personnel related to the specifications. Such designer or personnel shall assure
the performance and safety of the equipment or devices.
● This product is not designed or manufactured to be used for control of equipment directly concerned with
human life (*1) or equipment relating to maintenance of public services/functions involving factors of safety
(*2). Therefore, the product shall not be used for such applications.
(*1): Equipment directly concerned with human life refers to.
- Medical equipment such as life-support systems, equipment for operating theaters.
- Exhaust control equipment for exhaust gases such as toxic fumes or smoke.
- Equipment mandatory to be installed by various laws and regulations such as the Fire Act or Building
Standard Law
- Equipment related to the above
(*2): Equipment relating to maintenance of public services/functions involving factors of safety refers to.
- Traffic control systems for air transportation, railways, roads, or marine transportation
● Handle carefully
Do not drop the equipment or allow it to be subject to strong impact or vibration, as such action may cause
malfunctions. Further, do not damage the connection cable, since this may cause wire breakage.
● Environmental operating conditions
Do not use the product in locations where the ambient temperature or humidity exceeds the specifications.
Otherwise, image quality may be degraded or internal components may be adversely affected. In particular,
do not use the product in areas exposed to direct sunlight. Moreover, during shooting under high
temperatures, vertical stripes or white spots (noise) may be produced, depending on the subject or camera
conditions (such as increased gain). However, such phenomena are not malfunctions.
● Check a combination with the lens
Depending on the lens and lighting you use, an image is reflected as a ghost in the imaging area. However,
this is not because of a fault of the camera.
In addition, depending on the lens you use, the performance of the camera may not be brought out fully due
to deterioration in resolution and brightness in the peripheral area, aberration and others.
Be sure to check a combination with the camera by using the lens and lightning you actually use.
When installing a lens in the camera, make sure carefully that it is not tilted.
In addition, use a mounting screw free from defects and dirt. Otherwise, the camera may be unable to be
removed.
Install a next lens; its dimension of protrusion from bottom of the screw is equal to or less than 8 mm. If a
lens does not stand to this condition, it might not be installed to this camera.
When mounting this product to a pedestal, make sure carefully that lens doesn’t touch with the pedestal.
8 / 179
D4267042B
● Do not expose the camera's image-pickup-plane to sunlight or other intense light directly
Its inner CMOS sensor might be damaged.
● Occurrence of moiré
If you shoot thin stripe patterns, moiré patterns (interference fringes) may appear. This is not a malfunction.
● Occurrence of noise on the screen
If an intense magnetic or electromagnetic field is generated near the camera or connection cable, noise may
be generated on the screen. If this occurs, move the camera or the cable.
● Handling of the protective cap
If the camera is not in use, attach the lens cap to the camera to protect the image pickup surface.
● If the equipment is not to be used for a long duration
Turn off power to the camera for safety.
● Maintenance
Turn off power to the equipment and wipe it with a dry cloth.
If it becomes severely contaminated, gently wipe the affected areas with a soft cloth dampened with diluted
neutral detergent. Never use alcohol, benzene, thinner, or other chemicals because such chemicals may
damage or discolor the paint and indications.
If the image pickup surface becomes dusty, contaminated, or scratched, consult your sales representative.
Following information is only for EU-member states:
The use of the symbol indicates that this product may not be treated as household waste. By
ensuring this product is disposed of correctly, you will help prevent potential negative
consequences for the environment and human health, which could otherwise be caused by
inappropriate waste handling of this product. For more detailed information about the take-back
and recycling of this product, please contact your supplier where you purchased the product.
“This symbol is applicable for EU member states only”
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 generates, uses, and can radiate radio frequency energy and, if not installed and
used in accordance with the instruction manual, may cause harmful interference to radio
communication.
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.
Defective pixels
A CMOS image sensor is composed of photo sensor pixels in a square grid array. Due to
the characteristics of CMOS image sensors, over- or under-driving of the pixels results in
temporary white or black areas (as if these are noises) appearing on the screen. This
phenomenon which is not a defect is exacerbated under higher temperatures and long
exposure time.
Image shading
The brightness of the upper part of the screen may be different from that of the lower part. Note
that this is a characteristic of a CMOS image sensor and is not a fault.
● Disposal
When disposing of the camera, it may be necessary to disassemble it into separate parts, in accordance with
the laws and regulations of your country and/or municipality concerning environmental contamination.
Before using this product, you shall install application software to display image and control registers of
camera, and IP configuration tool for network setting.
You can download the SDK for our USB camera products (TeliCamSDK) from the Service & Support section
of our website.
User registration is necessary to use downloading service. Please make a user registration, or contact your
sales representative.
DU1207M series is an integrated-(one-body)-type camera that adopts a global shutter CMOS sensor. These
are DU1207MG (12M type1.1). Suffix [C] are attached to the color models. For video output and camera
control, the USB 3.0 interface standard is adopted for high transfer rate, and it is easy to integrate into
industrial equipment.
Features
● High frame rate
Supporting high frame rate, DU1207MG 32fps (Mono8), DU1207MCG/MCF 31fps (Bayer8).
● Global shutter
As it employs a global electronic shutter similar to a CCD image sensor, clear images of even fast-moving
object are obtainable with less blur.
● USB*3.0 interface
Video output and camera control are performed via the USB 3.0 standard interface. Data transfer is up to
5Gbps (Maximum) that enables to output uncompressed video data at high frame rate.
● USB3 Vision*
This product is based on USB3 Vision Ver.1.0.
● GenICam* Ver 2.3
This product is based on GenICam Generic Interface for Cameras Ver 2.3.
● IIDC2* Digital Camera Control Specification Ver.1.1.0
This product is based on IIDC2 Digital Camera Control Specification Ver.1.1.0.
The e-CON connector adoption enables to assemble the cable easily without using special tools.
● Random Trigger Shutter
The Random Trigger Shutter function provides images in any timing by input of an external trigger signal.
Trigger control from PC is available as well.
● Scalable
Selectable video output area. This mode achieves higher frame rate by reducing vertical output area. And
reduces occupied data rate of USB bus by reducing horizontal output area.
● Binning
Pixel data is combined by vertical and horizontal. It achieves high frame rate.
● Decimation
Camera reads all effective areas at high speed by skipping lines.
● Color processing
Color models have built in color processing.
There are RGB, BGR, YUV 4:2:2, YUV 4:1:1, Bayer and Mono output modes. In addition, it produced an
image with restrained false color by adaptive filter interpolating 7 x 7 pixels.
●Dust-proof Glass
Dust-proof Glass is built in default.
Suffix [G] is attached to the model name of built-in Glass.
● IR-cut filter
Build-in IR-cut filter models are optional for color models.
Suffix [F] is attached to the model name of built-in IR-cut filter model.
● EU RoHS & Chinese ROHS
* USB is a unified standard established by USB-IF(USB Implementers Forum).
* USB3 Vision is a unified standard established by AIA (Automated Imaging Association).
* GeniCam is a registered trademark of EMVA (European Machine Vision Association).
* IIDC2 is a unified standard established by JIIA (Japan Industrial Association).
* e-CON (Easy & Economy connector) is a sensor connector that is normalized by the manufacturer of the
- Please confirm the power supply of the camera off when plugging in or pulling out the I/O Connector. It causes the
breakdown.
- If your camera is used in a system where its connectors are subjected to strong repetitive shocks, its connectors are
possible to break down. If you use your camera in such a situation, use an USB3.0 cable with a lock screw, and secure
the camera cable as close as possible to the camera body for avoid physical shock to the camera connector.
- About e-CON cable: In the case that electric-wire is long or thin, input and output voltage may not satisfy specifications
of the camera or your system by voltage drop. Please confirm wires’ specifications before use them.
- Los t packets may occur by an electrical characteristic of the transmission line of USB3.0. (USB3.0 Interface Card,
- Depending on the lens you use, the performance of the camera may not be brought out fully due to the deterioration in
resolution and brightness in the peripheral area, occurrence of a ghost, aberration and others. When you check the
combination between the lens and camera, be sure to use the lens you actually use.
- In addition, use a mounting screw free from defects and dirt. Otherwise, the camera may be unable to be removed.
- As for the C-mount lens used combining this camera, the projection distance from bottom of the screw should use
8mm or less.
Depending on cable length, cable kinds and input current of trigger input line, Random Trigger Shutter operation may not
satisfy timing specification or camera may not receive EXT_TRIG signal. Please confirm it before use.
Notes of input level:
Line0 and Line2 have different input level. Please use input level within the voltage described in this specification.
- The recognition of the trigger signal depends on the length, characteristic or driving current of the cable. Therefore
please confirm your system about those conditions.
- Pin 3 is conducted with camera frame.
Using shield cable, terminal processing of the shield is referred as above.
- Please confirm the EMC adaptability in whole of your system.
Depending on cable length, cable kinds and input current of trigger input line, Random Trigger Shutter operation may not
satisfy timing specification or camera may not receive EXT_TRIG signal. Please confirm it before use.
Notes of input level:
Line0 and Line2 have different input level. Please use input level within the voltage described in this specification.
- Input signal specification
Level : Low 0 ~ 0.5V, High 4.0 ~ 5.0V
Polarity : High active / Low active (initial factory setting: Low active)
Pulse Width : Minimum 50μs
- Output signal specification
Output Circuit : 5V CMOS
Maximum Current : +/-32mA
Polarity : High active / Low active (initial factory setting: Low active)
Signal Source : TIMER0 ACTIVE
USER OUTPUT
EXPOSURE ACTIVE
FRAME ACTIVE
FRAME TRANSFER
FRAME TRIGGER WAIT
- Line1 (GPIO Output, I/O connector : 2 pin)
Output Circuit : 5V CMOS
Maximum Current : +/-32mA
Polarity : High active / Low active (initial factory setting: Low active)
Signal Source : TIMER0 ACTIVE
USER OUTPUT
EXPOSURE ACTIVE
FRAME ACTIVE
FRAME TRANSFER
FRAME TRIGGER WAIT
Image data outputs are transferred with USB bulk transfer. Timing numerical value below is described by
absolute prerequisite that camera can use transmission band without restriction of other device. When there
is other device on the same bus, the value described below is not guaranteed.
- In the period when FRAME_TRIGGER_WAIT (GPIO signal) is inactive, user must not input external trigger signal to
this camera.
- When the interval of the input trigger signal is extremely short, or when the trigger signal is noisy, there is a possibility
of causing the malfunction. In this case, please input a proper trigger signal.
● In Random Trigger Shutter mode
Edge mode / Bulk mode (at all pixels readout)
Level mode (at all pixels readout)
* The value of T2 is the same as the value of normal shutter mode.
* T4 and T5 are typical value.
* In case that the Trigger mode is Level mode, exposure time is 14.26μs longer than trigger signal width due
This camera is based on USB3 Vision.
Please refer to USB3 Vision specification for details about Bootstrap Registers defined in USB3 Vision.
AIA (Automated Imaging Association) USB3 Vision Homepage.
- UserDefinedName
UserDefinedName is used for assigning unique ID to the camera.
You can store an arbitrary string into non-volatile memory.
- StreamEnable
When StreamEnable bit is set. Camera starts to send image streaming.
TeliU3vSDK / TeliCamSDK require some setups on your application in opening and closing the stream
channel. Please refer to the library manual for details.
- EventEnable
When EventEnable bit is set. Camera is enabled to send event packets.
TeliU3vSDK / TeliCamSDK require some setups on your application in opening and closing the event
channel. Please refer to the library manual for details.
Minimum required payload size with current settings
SIRequiredLeaderSize
0x20010
Integer 4 R
Minimum required leader size
SIRequiredTrailerSize
0x20014
Integer 4 R
Minimum required trailer size
SIMaximumLeaderSize
0x20018
Integer 4 R
Maximum leader size
SIPayloadTransferSize
0x2001C
Integer 4 R
Expected Size of a single Payload Transfer
SIPayloadTransferCount
0x20020
Integer 4 R
Expected Number of Payload Transfers
SIPayloadFinalTransfer1Size
0x20024
Integer 4 R
Size of first final Payload transfer
SIPayloadFinalTransfer2Size
0x20028
Integer 4 R
Size of second final Payload transfer
SIMaximumTrailerSize
0x2002C
Integer 4 R
Maximum trailer size
USB3 Vision EIRM
Register
Address
GenICam
Interface
Length
Byte / [bit]
Access
Description
EventEnable
0x30000
Integer
[0]
R/W
0: Disable data transfer of the event
1: Enable data transfer of the event
● Note
DU series doesn’t support image transfer in High-Speed connection.
CurrentSpeed register could be used for showing the warning message on your application when
camera is connected to USB2.0 port.
Registers of this category are related to image format control.
Camera has three different banks of image format. You can select image format by ImageFormatSelector.
Scalable function reads out the region of interest (ROI) of the sensor.
If height size is set small, it is possible to increase the frame rate.
Only single rectangle is selectable. Concave or convex shape is not selectable.
- Window size: {A + 4 × m (H)} × {B + 2 × n (V)}
A, B = minimum unit size
m, n = integer
The window size is equal or less than maximum image size.
- Start address: {4 x i (H)} x {2 x j (V)}
i, j = integer
The window size is equal or less than maximum image size.
// Set ROI (in one by one)
Cam_WriteReg(s_hCam, 0x202094, 1, &ROI[0]);
Cam_WriteReg(s_hCam, 0x202098, 1, &ROI[1]);
Cam_WriteReg(s_hCam, 0x20209C, 1, &ROI[2]);
Cam_WriteReg(s_hCam, 0x2020A0, 1, &ROI[3]);
// Set ROI (in block)
Cam_WriteReg(s_hCam, 0x202094, 4, &ROI[0]);
GenICam function API
Control Scalable using GenICam API.
Scalable
If you’re going to reduce width size, set Width, first. Then set OffsetX.
If you’re going to increase width size, set OffsetX, first. Then set Width.
If you’re going to reduce height size, set Height, first. Then set OffsetY.
If you’re going to increase height size, set OffsetY, first. Then set Height.
Please refer to [INode functions] and [IInteger node functions] in [TeliCamAPI Library manual] for more
detail.
Register access API
Control Scalable by accessing IIDC2 registers directly.
Write to ‘Value’ field of ‘OffsetX’, ’Width’, ‘OffsetY’, ‘Height’ register.
45 / 179
D4267042B
In IIDC2 registers access,
Model
DU1207MG/MCG/MCF
Width/OffsetX unit size
4
Height/OffsetY unit size
2
Minimum unit size
64 x 64
Maximum unit size(*)
4096 x 3000
you can set OffsetX, Width, OffsetY, Height in any order. (in one by one access)
you can also set OffsetX, Width, OffsetY, Height with single access. (in block access)
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum/Maximum Value
● Note
* initial factory setting
Changing “Width”, “Height”, “OffsetX”, “OffsetY” register value is invalid during image stream data output.
In the binning mode, a pixel is added with the neighboring pixel(s).
This increases the sensitivity of the image. It’s alike scalable, the frame rate can be faster and USB bandwidth
occupation decrease.
// Set Binning
Cam_WriteReg(s_hCam, 0x20213C, 1, &Binning);
// Cam_WriteReg(s_hCam, 0x20215C, 1, &Binning); // either will do
Register access API
Control Binning by accessing IIDC2 registers directly.
Binning
Write to ‘Value’ field of ‘BinningHorizontal’ register to control BinningHorizontal.
Or write to ‘Value’ field of ‘BinningVertical’ register to control BinningVertical.
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
● Note
Binning is disabled when the camera is running in Decimation mode.
Scalable is enabled when the camera is running in Binning mode.
Changing “BinningHorizontal”, “BinningVertical” register value is invalid during image stream data output.
Binning Horizontal / Vertical = 3 is not available.
Decimation feature reads out all effective areas at high speed by skipping pixels and lines.
Decimation feature can make frame rate faster, and decrease interface bandwidth occupation.
// Retrieve GenICam node.
Nd_GetNode(s_hCam, “DecimationHorizontal”, &hDecimation);
// Nd_GetNode(s_hCam, “DecimationVertical”, &hDecimation); // either will do
// Set Decimation
Nd_SetIntValue(s_hCam, hDecimation, Decimation);
● Control with TeliCamSDK
Camera feature API
Control Decimation using dedicated API.
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control Decimation using GenICam API.
Decimation
Please refer to [INode functions], [IInteger node functions] in [TeliCamAPI Library manual] for more
detail.
// Set Decimation
Cam_WriteReg(s_hCam, 0x20213C, 1, &Decimation);
// Cam_WriteReg(s_hCam, 0x20215C, 1, &Decimation); // either will do
Register access API
Control Decimation by accessing IIDC2 registers directly.
Decimation
Write to ‘Value’ field of ‘DecimationHorizontal’ register to control DecimationHorizontal.
Or write to ‘Value’ field of ‘DecimationVertical’ register to control DecimationVertical.
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
● Note
Decimation is disabled when the camera is running in Binning mode.
Scalable is enabled when the camera is running in Decimation mode.
Changing “DecimationHorizontal”, “DecimationVertical” register value is invalid during image stream data
output.
Binning Horizontal / Vertical = 3 is not available.
In the color model, you can select the BayerProcessingMode of Bayer output.
Color process function be applied is dependent on the setting.
Selection of BayerProcessingMode is as following table.
Sets the number of frames to transfer in MultiFrame/ImageBuffer mode.
AcquisitionFrameRateEnable
IEnumeration
4
R/W
Selects an AcquisitionFrameRate setting priority.
AcquisitionFrameRate
IFloat
4
R/W
Sets frame rate of image stream.
AcquisitionFrameIntervalControl
IEnumeration
4
R/W
Selects an AcquisitionFrameInterval setting priority.
AcquisitionFrameInterval
IFloat
4
R/W
Sets frame interval of image stream.
AcquisitionControl
AcquisitionControl features are related to image acquisition.
Camera starts image stream output by receiving AcquisitionStart command.
Camera stops image stream output by receiving AcquisitionStop command.
There are some registers that require camera to stop image stream output to change values.
Acquisition frame rate is variable. Maximum acquisition frame rate depends on camera operation mode.
(scalable, pixel format, etc.)
The frame rate is determined by giving priority to ExposureTime setting value.
Manual
The frame rate is determined by giving priority to AcquisitionFrameRate setting value.
● Control with TeliCamSDK
There are three way to access this feature.
Camera feature API
This API is dedicated to AcquisitionControl.
1. Set the number of frames to transfer in MultiFrame/ImageBuffer mode. (optional)
Set ‘AcquisitionFrameCount’ with ‘SetCamAcquistionFrameCount’ function.
*If you want to capture image stream continuously, it’s not necessary to set an AcquisitionFrameCount.
2. Select an ‘AcquisitionFrameRate’ setting priority. (optional)
Set ‘AcquisitionFrameRateControl’ with ‘SetCamAcquistionFrameRateControl’ function.
* initial factory setting
3. Set frame rate of image stream. (optional)
Set ‘AcquisitionFrameRate’ with ‘SetCamAcquistionFrameRate’ function.
Or, set ‘AcquisitionFrameInterval’ with ‘SetCamAcquistionFrameInterval’ function.
‘AquisitionFrameInterval’ is a reciprocal of ‘AcquisitionFrameRate’.
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
4. Capture image stream.
TeliCamAPI provides streaming functions including command handling and buffer handling to
capture image stream simply.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual] and
[GrabStreamSimple] sample code in your TeliCamSDK install folder.
This API controls AcquisitionControl using GenICam.
1. Set the number of frames to transfer in MultiFrame/ImageBuffer mode. (optional)
Get ‘IInteger’ interface handle of ‘AcquisitionFrameCount’ by ‘Nd_GetNode’.
Set AcquisitionFrameCount with IInteger node functions.
(e.g. ‘Nd_GetIntMin’, ‘Nd_GetIntMax’, ‘Nd_GetIntValue’, ‘Nd_SetIntValue’)
*If you want to capture image stream continuously, it’s not necessary to set an AcquisitionFrameCount.
2. Select an ‘AcquisitionFrameRate’ setting priority. (optional)
Get ‘IEnumeration’ interface handle of ‘AcquisitionFrameRateControl’ by ‘Nd_GetNode’.
Set AcquisitionFrameRateControl with IEnumeration node functions.
(e.g. ‘Nd_GetEnumIntValue’, ‘Nd_SetEnumIntValue’, ‘Nd_GetEnumStrValue’, ‘Nd_SetEnumStrValue’)
Integer value and string value of Enumeration are as follows.
* initial factory setting
3. Set frame rate of image stream. (optional)
Get ‘IFloat’ interface handle of ‘AcquisitionFrameRate’ or ‘AcquisitionFrameInterval’ by
‘Nd_GetNode’.
Set AcquisitionFrameRate or AcquisitionFrameInterval with IFloat node functions.
‘AquisitionFrameInterval’ is a reciprocal of ‘AcquisitionFrameRate’.
(e.g. ‘Nd_GetFloatMin’, ‘Nd_GetFloatMax’, ‘Nd_GetFloatValue’, ‘Nd_SetFloatValue’)
4. Capture image stream.
TeliCamAPI provides streaming functions including command handling and buffer handling to
capture image stream simply.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual] and
[GrabStreamSimple] sample code in your TeliCamSDK install folder.
1. Set the number of frames to transfer in MultiFrame/ImageBuffer mode. (optional)
Write to ‘Value’ field of ‘AcquisitionFrameCount’ register to control AcquisitionFrameCount.
2. Select an ‘AcquisitionFrameRate’ setting priority. (optional)
Write to ‘Control’ field of ‘AcquisitionFrameRate’ register to control AcquisitionFrameRate setting
priority.
3. Set frame rate of image stream. (optional)
Write to ‘Value’ field of ‘AcquisitionFrameRate’ register to control AcquisitionFrameRate.
4. Capture image stream.
TeliCamAPI provides streaming functions including command handling and buffer handling to
capture image stream simply.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual] and
[GrabStreamSimple] sample code in your TeliCamSDK install folder.
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Depends on your PC or interface card configurations, images may not be captured normally (e.g. frame drops may
occur). In this case, change to frame rate setting lower.
● Note
Changing ‘AcquisitionFrameRateControl’, ‘AcquisitionFrameRate’, ‘AcquisitionFrameIntervalControl’,
‘AcquisitionFrameInterval’ register value is invalid during image stream data output.
When exposure time setting is longer than frame rate setting, camera operation gives priority to exposure
time setting.
Sets the number of frames to transfer in MultiFrame/ImageBuffer mode.
ImageBufferRead
ICommand
4
W
Read Image from Image Buffer
Register
Field
Address
Length
Byte / [bit]
Access
Description
ImageBufferMode
Implemented
0x203060
[31]
R
Returns the state whether the function is implemented.
ListOfElements
0x20306C
~0x203078
16
R
[0] : Off
[1] : On Value
0x20307C
4
R/W
Sets an Image Buffer mode.
ImageBufferFrameCount
Implemented
0x203080
[31]
R
Returns the state whether the function is implemented.
Min
0x203094
4
R
Returns the minimum number of frames in Image Buffer mode.
Max
0x203098
4
R
Returns the maximum number of frames in Image Buffer mode.
Value
0x20309C
4
R
Returns the number of frames in Image Buffer mode.
ImageBuffer
In ImageBuffer mode, Camera stores images temporarily in image buffer, and read them out in arbitrary
timing.
This function is typically used in Random Trigger Shutter mode.
Please refer to TriggerControl section as well.
1. Select an Image Buffer mode.
Set ‘ImageBufferMode’ with ‘SetCamImageBufferMode’ function.
2. Capture image stream.
To start and stop capturing image is the same way as AcquisitionControl.
Please refer to ‘AcquisitionControl’ section as well.
3. Read the number of frames in Image Buffer.
Read the number of frames in Image Buffer with ‘GetCamImageBufferFrameCount’ function.
4. Read Image from Image Buffer.
Start to read Image from Image Buffer with ‘ExecuteCamImageBufferRead’ function.
5. Receive Image from Image Buffer.
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control ImageBuffer using GenICam API.
ImageBuffer
1. Select an Image Buffer mode by ‘ImageBufferMode’.
Integer value and string value of Enumeration are as follows.
// 3.Read the number of frames in Image Buffer by 'ImageBufferFrameCount'.
int64_t count = 0;
while(count==0)
{
Nd_GetIntValue(s_hCam, hCount, &count);
}
// 4.Read Image from Image Buffer by 'ImageBufferRead'.
Nd_CmdExecute(s_hCam, hRead);
Control Image Buffer by accessing IIDC2 registers directly.
ImageBuffer
1. Select an Image Buffer mode.
Write to ‘Value’ field of ‘ImageBufferMode’ register to control ImageBufferMode.
2. Open and Start image stream.
To start and stop capturing image is the same way as AcquisitionControl.
Please refer to AcquisitionControl section as well.
3. Read the number of frames in Image Buffer.
Read ‘Value’ field of ‘ImageBufferFrameCount’ register.
4. Read Image from Image Buffer.
Write [10] to ‘Value’ field of ‘AcquisitionCommand’ register to execute ImageBufferRead.
Please refer to AcquisitionCommand in AcquisitionControl section as well.
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
The maximum number of frames storable depends on the image size. (maximum 256MByte.)
The number of frames to be transferred by ‘ImageBufferRead’ command is determined by
‘AcquisitionFrameCount’.
Changing ‘ImageBufferMode’ register value is invalid during image stream data output.
83 / 179
D4267042B
Trigger Mode
Synchronization
Exposure Control
Normal Shutter mode
Free run
“ExposureTime” register control
Random Trigger Shutter mode
HardwareTrigger
-Edge mode:TriggerSequence0
-Bulk mode:TriggerSequence6
“ExposureTime” register control
-Level mode:TriggerSequence1
Trigger pulse width control
SoftwareTrigger
-Edge mode:TriggerSequence0
-Bulk mode:TriggerSequence6
“ExposureTime” register control
TriggerControl
TriggerControl features are related to image acquisition using trigger.
This camera series provides two kinds of exposure synchronization.
1. Normal Shutter mode : Free run operation (internal synchronization)
2. Random Trigger Shutter mode : Synchronized with external trigger input
In Random Trigger Shutter mode, two kinds of trigger input are available.
1. Trigger signal via the I/O connector (HardwareTrigger)
2. Trigger command via software command (SoftwareTrigger)
The following table shows the combination of operation mode of this camera series.
1. Select a trigger mode.
Set ‘TriggerMode’ with ‘SetCamTriggerMode’ function.
2. Select a trigger sequence of random trigger shutter.
Set ‘TriggerSequence’ with ‘SetCamTriggerSequence’ function.
3. Select a trigger source of random trigger shutter.
Set ‘TriggerSource’ with ‘SetCamTriggerSource’ function.
4. Select a trigger activation of hardware trigger.
5. Set the number of frames to exposure in Bulk mode.
Set ‘TriggerAdditionalParameter’ with ‘SetCamTriggerAdditionalParameter’ function.
6. Set a trigger delay.
Set ‘TriggerDelay’ with ‘SetCamTriggerDelay’ function.
7. Capture image stream.
To start and stop capturing image is the same way as AcquisitionControl.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual]
and [GrabStreamSimple] sample code in your TeliCamSDK install folder.
8. Execute software trigger.
Execute Software Trigger in SoftwareTrigger mode with ‘ExecuteCamSoftwareTrigger’ function.
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
1. Select a trigger mode by ‘TriggerMode’.
Integer value and string value of Enumeration are as follows.
2. Select a trigger sequence of random trigger shutter by ‘TriggerSequence’.
Integer value and string value of Enumeration are as follows.
* initial factory setting
* initial factory setting
3. Select a trigger source of random trigger shutter by ‘TriggerSource’.
Integer value and string value of Enumeration are as follows.
* initial factory setting
4. Select a trigger activation of hardware trigger by ‘Trigger Activation.
5. Set the number of frames to exposure in Bulk mode by ‘TriggerAdditionalParameter’.
6. Set a trigger delay by ‘TriggerDelay’.
7. Capture image stream.
To start and stop capturing image is the same way as AcquisitionControl.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual] and
8. Execute software trigger in SoftwareTrigger mode by ‘TriggerSoftware’.
// 1. Select a trigger mode by 'TriggerMode'.
Nd_SetEnumStrValue(s_hCam, hMode, "On");
// 2. Select a trigger sequence of random trigger shutter by 'TriggerSequence'.
Nd_SetEnumStrValue(s_hCam, hSequence, "TriggerSequence6"); // Bulk mode
// 3. Select a trigger source of random trigger shutter by 'TriggerSource'.
Nd_SetEnumStrValue(s_hCam, hSource, "Software"); // Software
// 4.Select a trigger activation of hardware trigger by 'LineInverterAll'.
// -- not applicable for Software Trigger
// 5.Set the number of frames to exposure in Bulk mode by
'TriggerAdditionalParameter'.
Nd_SetIntValue(s_hCam, hAdditionalParameter, 3); // 3 frames
// 6.Set a trigger delay by 'TriggerDelay'.
Nd_SetFloatValue(s_hCam, hDelay, 1000.0); // 1ms
Please refer to [INode functions], [IEnumeration node functions][ICommand node functions][IInteger
node functions] in [TeliCamAPI Library manual] for more detail.
Register access API
Control Trigger features by accessing IIDC2 registers directly.
1. Select a trigger mode.
Write to ‘Value’ field of ‘TriggerMode’ register to control TriggerMode.
2. Select a trigger sequence of random trigger shutter.
Write to ‘Value’ field of ‘TriggerSequence’ register to control TriggerSequence.
3. Select a trigger source of random trigger shutter.
Write to ‘Value’ field of ‘TriggerSource’ register to control TriggerSource.
4. Select a trigger activation of hardware trigger.
5. Set the number of frames to exposure in Bulk mode.
Write to ‘Value’ field of ‘TriggerAdditionalParameter’ register to control TriggerAdditionalParameter.
6. Set a trigger delay.
Write to ‘Value’ field of ‘TriggerDelay’ register to control TriggerDelay.
7. Open and Start image stream.
To start and stop capturing image is the same way as AcquisitionControl.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual] and
[GrabStreamSimple] sample code in your TeliCamSDK install folder.
8. Execute software trigger.
Write [8] to ‘Value’ field of ‘SoftwareTrigger’ register to execute Software trigger..
uint32_t dat;
// 1. Select a trigger mode by 'TriggerMode'.
dat = 1;
Cam_WriteReg(s_hCam, 0x20703C, 1, &dat); // TriggerMode = On
// 2. Select a trigger sequence of random trigger shutter by 'TriggerSequence'.
dat = 6;
Cam_WriteReg(s_hCam, 0x20705C, 1, &dat); // TriggerSequence6 (Bulk mode)
// 3. Select a trigger source of random trigger shutter by 'TriggerSource'.
dat = 64;
Cam_WriteReg(s_hCam, 0x20707C, 1, &dat); // Software
// 4.Select a trigger activation of hardware trigger by 'LineInverterAll'.
// -- not applicable for Software Trigger
// 5.Set the number of frames to exposure in Bulk mode by
'TriggerAdditionalParameter'.
dat = 3;
Cam_WriteReg(s_hCam, 0x20709C, 1, &dat); // 3 frames
// 6.Set a trigger delay by 'TriggerDelay'.
// TriggerDelay = 1000.0us (Raw value = 60000)
dat = 60000;
Cam_WriteReg(s_hCam, 0x2070BC, 1, &dat); // 1ms
*AcquisitionActive is active during AcquisitionStart state.
* All signals in this figure are Active Low.
DigitalIOControl
This section describes DigitalIOControl category for the DU series.
This camera provides GPIO output selected by the register setting. And the polarity of the signal is able to
switch by the register setting. The following chart shows the specifications of the selectable signals.