Technical Details

Industrial Cameras:
23 Series - Trigger and I/OContentGetting started............................................................................................................................................................................ 3
Trigger input - hardware and timing................................................................................................................................... 4
Digital I/Os - GigE cameras...................................................................................................................................................... 5
Digital I/Os - Firewire cameras............................................................................................................................................... 6
Digital I/Os - USB cameras....................................................................................................................................................... 7
Programming examples with IC Imaging Control®........................................................................................................ 8

Industrial Cameras: 23 Series - Trigger and I/O2

Getting started

The following steps describe the use of the most commonly used digital input - the trigger input:• Setup the camera as described in the Getting Started document that accompanies the camera.
• Install the software IC Capture as described in the Getting Started document.
• Make sure that the camera works correctly with IC Capture.
• Connect a trigger source that creates a positive pulse to the cameras Hirose
connector. The height of the pulse may lie between 3.3 and 24 V ( pls. see page 5 for details).
• Enable the trigger mode by clicking
Device > Properties... > Device > Enable (please see the images below).
If you see the dialog Activation External Trigger, please click "Disable allproperty automations..." Then, please set all camera parameters according
to the requirements of your application. Please find these parameters in theDevice Properties dialog (Device > Properties...):

Industrial Cameras: 23 Series - Trigger and I/O3Trigger input hardware and timing
The trigger input of The Imaging Source GigE cameras is opto-coupled. It permits positive trigger pulses with any amplitude between 3.3 and 24 V (please note that it is not necessary to apply a series resistor).

Trigger_in24 V

The Imaging Source GigE cameras offer two different modes of operation:
Free running: The cameras generate a stream of up to 150 images/s depending on their resolution. In this case thecamera's clock generator determines the actual moment of exposure. Thus, it cannot be controlled externally.
This mode of operation is called "free running".
Trigger: The cameras offer a trigger input to determine the moment of exposure. The exposure begins after the occurrence of a trigger pulse and an adjustable delay. Please note that the min delay (tdmin) depends on the camera'ssensor. The length of the exposure can also be set via software.
The duration of the image readout is the reciprocal of the current frame rate. Once the image readout has finished,
the camera is able to accept a new trigger pulse at any time.
Adjustable delay
tdmin - 1s

texp

1tro = frame rate

Trigger_in>10 µs

Exposure
Image readout

tdmin

Dxx 23x V024: 9.4 µs (at max. frame rate)
Dxx 23x M021: 137 µs (at max. frame rate)
Dxx 23x P031: rolling shutter
Dxx 23x 618:
4 µs (at max. frame rate)
Dxx 23x 445:
4 µs (at max. frame rate)
Dxx 23x 274:
4 µs (at max. frame rate)

Industrial Cameras: 23 Series - Trigger and I/O4

Digital I/Os GigE Cameras

Notch

1: +12VDC(+/- 10% max.)

6: GND_DC

5: GPO_GND

2: Trig+(Open Drain output)

4: GPO_OUT (Strobe)

3: Trig-Connector(Open Drain output)

SignalI/O

Remarks

Characteristics
Min

TypMax

Unit

11.0

12.0

13.0

V

Pin 1

GigE Power Supply

P

Pin 2

Trig +I

Start of exposure (optocoupler signal)

3.3

-24.0

V

Pin 3

Trig -Iditto ( optocoupler ground)----Pin 4

GPOOGeneral purpose output (open drain)**--24.01

VPin 5

GPO_GND

GOpen drain ground----Pin 6

GND_DCG

External ground (Power Supply)----Please note:All specifications are subject to change without notice.
1 max. 0.2 A (I ) for open drain MOSFET!
D** Can also beused as Strobe.

I/O pin legend:

G External Ground
I Input
O Output
P Power Supply

The part number of this Hirose connector is HR10A7R-6P(73). To realize a trigger cable you need a Hirose
connector HR10A-7P-6S(73).

Industrial Cameras: 23 Series - Trigger and I/O5

Digital I/Os Firewire Cameras
Notch

1: FW_PWR_out(max. available
current: 150 mA)

9: GPO_OUT (Open Drain output)
10: STROBE_OUT (Open Drain output)

2: GND_PWR

8: n.c.
3: n.c.

7: GND_ I/O (Open Drain output)

4: n.c.
12: Trigger_in (-)
5: n.c.

6: n.c.
11: Trigger_in (+)

Connector

SignalI/O

Remarks

Characteristics
Min

TypMax

Unit

Pin 1

FW_PWR_out

P

Caution: Directly connected to the power
supply of the FireWire bus.
Available max. current for external user
applications: 150 mA

8.0

12.0**

30.0VPin 2

GND_PWR

G

External ground

----

Pin 3

n.c.

-----

Pin 4

n.c.

-----

Pin 5

n.c.

----

-

Pin 6

n.c.

----

-

Pin 7

GND_I/O

External ground

----

Pin 8

n.c.

-----

Pin 9

GP_OUT

O

General purpose output (open drain)

-

-

24.01

V

Pin 10STROBE_OUT

O

Flash control (open drain)

-

-

24.01

V

Pin 11

Trigger_in (+)

I

Start of expose (optocoupler signal)

3.3

-24.0

V

Pin 12

Trigger_in (-)

Iditto (optocoupler ground)----Please note:

GAll specifications are subject to change without notice.
1 max. 0.2A (ID) for open drain MOSFET!
2min. 3.5 mA driver strength required!
** Determined by the power supply of the FireWire bus. This value may vary considerably.

22I/O pin legend:

G External Ground
I Input
O Output
P Power Supply

The part number of this Hirose connector is HR10A10R-12P(73). To realize a trigger cable you need aHirose connector HR10A-10P-12S(73).

Industrial Cameras: 23 Series - Trigger and I/O
6

Digital I/Os USB CamerasNotch

1: FW_PWR_out(max. available
current: 150 mA)

9: GPO_OUT (Open Drain output)
10: STROBE_OUT (Open Drain output)

2: GND_PWR

8: n.c.
3: n.c.

7: GND_ I/O (Open Drain output)

4: n.c.
12: Trigger_in (-)
5: n.c.

6: n.c.
11: Trigger_in (+)

Connector

SignalI/O

Remarks

Characteristics
Min

TypMax

Unit

4.75

5.0**

5.25

V

Pin 1+5V_USB_out

P

Caution: Directly connected to the power
supply of the USB bus.
Available max. current for external userapplications:
50 mA @ USB 2.0 connection
150 mA @ USB 3.0 connection

Pin 2

GND_PWR

G

External ground

----

Pin 3

n.c.

-----

Pin 4n.c.

-

---

-

Pin 5

n.c.

----

-

Pin 6

n.c.

----

-

Pin 7

GND_I/O

External ground----Pin 8n.c.

----

-

Pin 9

GP_OUT

O

General purpose output (open drain)

--

24.01

V

Pin 10STROBE_OUT

O

Flash control (open drain)

--

1

24.0

V

Pin 11

Trigger_in (+)

I

Start of expose (optocoupler signal)

3.32-24.02

VPin 12Trigger_in (-)

Iditto (optocoupler ground)----Please note:

GAll specifications are subject to change without notice.
1 max. 0.2A (ID) for open drain MOSFET!
2min. 3.5 mA driver strength required!
** Determined by the power supply of the USB bus. This value may vary considerably.

I/O pin legend:

G External Ground
I Input
O Output
P Power Supply

The part number of this Hirose connector is HR10A10R-12P(73). To realize a trigger cable you need aHirose connector HR10A-10P-12S(73).

Industrial Cameras: 23 Series - Trigger and I/O7

Programming examples
with IC Imaging Control®
All The Imaging Source cameras are shipped with the SDK IC Imaging Control®. IC Imaging Control® removes a lot ofprogramming effort, since it offers many ready-to-use basic procedures.
Below are brief examples in Visual Basic to give you an idea of how to use IC Imaging Control® to control the trigger andthe digital I/Os. You can learn more about IC Imaging Control® and download sample source code at www.imagingcontrol.com. Additionally, our support department (support@imagingcontrol.com) has some more detailed programmingexamples available for you.

Using the trigger
The program begins by assigning the video Device (in this case the GigeWire camera DMK 23G618), defines a VideoFormat and sets the camera's operation mode to DeviceTrigger.
After the command LiveStart, the camera is ready to shoot: the camera now waits for a trigger pulse. MemorySnapImage instructs IC Imaging Control® to put the next image (which has been captured due to the trigger pulse)
into a buffer (Memory) for further processing. Take as an example MemorySaveImage, which saves the content of thisbuffer to Triggered.bmp.
Private Sub Form_Load()
ICImagingControl1.Device = "DMK 23G618"
ICImagingControl1.VideoFormat = "Y800 (640x480)"
ICImagingControl1.DeviceTrigger = TrueICImagingControl1.LiveStart
ICImagingControl1.MemorySnapImage' Do something with the image - for instance:
ICImagingControl1.MemorySaveImage "Triggered.bmp"
End Sub

Activating the strobe output
FireWire cameras typically have a set of properties such as "exposure time" or "gain". IC Imaging Control® makes theseproperties available in the class VCDSimpleProperty. The program begins by defining the variable VCDProp thatwill later contain these properties.
Secondly, the video Device is assigned (in this case the FireWire camera DMK 23G618) and then we define a VideoFormat. The function GetSimplePropertyContainer assigns the properties of the opened camera to thevariable VCDProp.
The command VCDProp.Switch(VCDID_Strobe) = True activates the strobe output. Therefore, after having
started the camera with LiveStart, pin 4 indicates the CCDs exposure.

Industrial Cameras: 23 Series - Trigger and I/O8

Programming examples
with IC Imaging Control®
Private Sub Form_Load()
Dim VCDProp As VCDSimpleProperty
ICImagingControl1.Device = "DMK 23G618"
ICImagingControl1.VideoFormat = "Y800 (640x480)"
VCDProp = GetSimplePropertyContainer(ICImagingControl1.VCDPropertyItems)
VCDProp.Switch(VCDID_Strobe) = TrueICImagingControl1.LiveStart
End Sub

Reading the digital input
The first three program lines are similar to those of the preceding example (Activating the strobe output). The maindifference is to be found at the programs end: The command VCDProp.OnePush VCDElement_GPIORead reads
the digital inputs state, while Debug.Print VCDProp.RangeValue(VCDElement_GPIOIn) indicates this state
in terms of a debug output.

Private Sub Form_Load()
Dim VCDProp As VCDSimpleProperty
ICImagingControl1.Device = "DMK 23G618"
VCDProp = GetSimplePropertyContainer(ICImagingControl1.VCDPropertyItems)
VCDProp.OnePush VCDElement_GPIORead
Debug.Print VCDProp.RangeValue(VCDElement_GPIOIn)End Sub

Setting the digital output
The first three program lines are similar to those of the preceding example (Reading the digital input). The main difference is to be found at the end of the programs: The command VCDProp.RangeValue sets the variable VCDElement_GPIOOut to 0, whereupon VCDProp.OnePush VCDElement_GPIOWrite copies the content of thisvariable (0 in our case) to the digital output.

Private Sub Form_Load()
Dim VCDProp As VCDSimpleProperty
ICImagingControl1.Device = "DMK 23G618"
VCDProp = GetSimplePropertyContainer(ICImagingControl1.VCDPropertyItems)
VCDProp.RangeValue(VCDElement_GPIOOut) = 0
VCDProp.OnePush VCDElement_GPIOWrite
End Sub

Industrial Cameras: 23 Series - Trigger and I/O9Headquarters: The Imaging Source Europe GmbH
Sommerstrasse 36, D-28215 Bremen, Germany
Phone: +49 421 33591-0
North & South America: The Imaging Source, LLC
6926 Shannon Willow Rd, S 400, Charlotte, NC 28226, USA
Phone: +1 704-370-0110
Asia Pacific: The Imaging Source Asia Co. Ltd.
6F-1, No.230, Sec.3, Ba-De Road,,Song-Shan District 10555,
Taipei City, Taiwan
Phone: +886 2-2577-1228
www.theimagingsource.com

All product and company names in this document may be trademarks and tradenames of their respective
owners and are hereby acknowledged.
The Imaging Source Europe GmbH cannot and does not take any responsibility or liability for any information contained in this document. The source code presented in this document is exclusively used for didactic
purposes. The Imaging Source does not assume any kind of warranty expressed or implied, resulting fromthe use of the content of this document or the source code.
The Imaging Source Company reserves the right to make changes in specifications, function or design at any
time and without prior notice.
Last update: July 2014
Copyright © 2014 The Imaging Source Europe GmbH, wp23trigo.en_USAll rights reserved. Reprint, also in parts, only allowed with permission of The Imaging Source Europe GmbH.
All weights and dimensions are approximate. Unless otherwise specified the lenses shown in the context ofcameras are not shipped with these cameras.

Industrial Cameras: 23 Series - Trigger and I/O10