AVAL APX-3302 User manual

APX-3302
User's Manual

APX-3302 User's Manual (OM110000019A)
Notes:
1. Reproduction of the contents of this manual in part or in whole without the permission of the
copyright holder is prohibited.
2. Contents of this manual are subject to change without notice.
3. We made assurance doubly sure on the contents of this manual. However, if you find something
questionable, incorrect, or omitted, please contact the shop of purchase.
4. Please note that AVAL DATA assumes no responsibility for any effects resulting from the application
notwithstanding the article 3 above.
Copyright 2012 AVALDATA CORPORATION
Manufacturer names and product names used in this manual are trademarks or registered trademarks
of each company.

APX-3302 User's Manual (OM110000019A)
Before Reading User's Manual
Following symbols and signal words are used in this manual to ensure that our customer can use
this product safely and to prevent the harm to persons or property. Fully understand the
meanings of these symbols before reading the body of the manual.
WARNING:
Indicates a potentially hazardous situation that can result in death or serious injury if
you do not follow instructions.
CAUTION:
Indicates a potentially hazardous situation that can result in minor/moderate injury or
property damage if you do not follow instructions.
Indicates a potentially hazardous situation that can result in electric shock if you
do not follow the instruction.
Indicates a potentially hazardous situation that can result in injury if you do not
follow the instruction.
Indicates a potentially hazardous situation that can result in heat-induced
disorder if you do not follow the instruction.
Instructs the operator to pull out the plug of power cable without fail for safety.
Indicates a potentially hazardous situation that can result in smoking or fire if you
do not follow the instruction.

APX-3302 User's Manual (OM110000019A)
CAUTION:
◆♦Do not use this product in a watery or humid place. Otherwise it can cause electric
shock.
◆Do not hold the plug of equipment’s power cord with wet hand when connecting it to
AC outlet. Otherwise it can cause electric shock.
◆Do not touch this equipment with wet hand when power cord is connected to AC outlet.
Otherwise it can cause electric shock and damage to the equipment.
◆Pull out the plug of power cord from AC outlet before installing/removing peripheral
device. Installing/removing peripheral device with power cord connected to AC outlet
can cause electric shock.
◆Connect the plug of equipment’s power cord to an independent AC outlet with a ground
terminal. No connection or loose connection of ground can cause electric shock or
malfunction. Many loads on one AC outlet can cause the outlet to overheat and result
in fire.
◆In the case of failure or abnormality, stop the use immediately and let us know at the
specified contact address.
◆Never repair or modify the product by yourself.

APX-3302 User's Manual (OM110000019A)
Table Of Contents
Chapter 1 Precautions................................................................................................................................1
1.1 Handling of the Product ................................................................................................................1
1.1.1 Place to use or store the product....................................................................................................1
1.1.2 Cautions for use of product............................................................................................................. 2
1.2 After-Sales Service .......................................................................................................................3
1.2.1 User's registration...........................................................................................................................3
1.2.2 Customer Support...........................................................................................................................4
1.2.3 User’s manual .................................................................................................................................4
1.2.4 Serial number..................................................................................................................................5
1.2.5 Dealing with occurrence of failure or abnormality ..........................................................................5
1.2.6 Before connect us...........................................................................................................................6
1.2.7 Repair and maintenance service....................................................................................................6
1.2.8 In the case of transferring the product to a third party....................................................................7
1.3 Disposal Method of the Product....................................................................................................7
Chapter 2 General Description...................................................................................................................8
2.1 Product Summary .........................................................................................................................8
2.2 Feature..........................................................................................................................................8
2.3 Specifications................................................................................................................................9
2.4 Block Diagram.............................................................................................................................10
2.5 Front Panel.................................................................................................................................. 11
2.6 Connector PinAssignment.......................................................................................................... 12
2.6.1 CameraLink connector CN1-CN2.................................................................................................12
2.6.2 Expansion connector CN6............................................................................................................13
Chapter 3 Settings and Interface..............................................................................................................14
3.1 Hardware initial setting................................................................................................................ 14
3.1.1 SW1 setting...................................................................................................................................15
3.1.2 SW2 setting...................................................................................................................................15
3.1.3 SW3 setting...................................................................................................................................15
3.1.4 CN7, CN8 setting..........................................................................................................................15
3.1.5 MountAPX-3302 into PCI Express slot........................................................................................ 16
3.1.6 Cable connection..........................................................................................................................17
3.2 Software initial setting.................................................................................................................18
3.2.1 What is SDK-AcapLib2 .................................................................................................................18
3.2.2 SDK-AcapLib2 installation procedure........................................................................................... 19
3.2.3 Serial communication driver (virtual COM driver)......................................................................... 23
3.2.4 Registration Tool ...........................................................................................................................24

APX-3302 User's Manual (OM110000019A)
3.2.5 Firmware update tool....................................................................................................................25
3.2.6 Uninstallation of each software..................................................................................................... 26
3.2.7 Installation trouble shooting..........................................................................................................27
Chapter 4 AcapLib2Viewer Image acquisition.........................................................................................28
4.1 What is AcapLib2Viewer .............................................................................................................28
4.2 What is ini file..............................................................................................................................28
4.3 Image acquisition usingAcapLib2Viewer ...................................................................................29
Chapter 5 Programming guide.................................................................................................................34
5.1 AcapLib2 flow chart..................................................................................................................... 34
5.2 Programming example................................................................................................................35
5.2.1 Snap (one shot snap)....................................................................................................................35
5.2.2 Grab (Streaming) ..........................................................................................................................37
5.3 Sample capture application.........................................................................................................39
5.3.1 SimpleApplication .........................................................................................................................39
5.3.2 OtherSample.................................................................................................................................40
Chapter 6 Function...................................................................................................................................42
6.1 CameraLink Configuration..........................................................................................................42
6.1.1 How to configure for 2TAP output cameras..................................................................................43
6.1.2 How to configure for 3TAP output cameras..................................................................................44
6.2 Power Over CameraLink.............................................................................................................45
6.3 Camera exposure control signal CC...........................................................................................47
6.4 Serial interface............................................................................................................................ 49
6.5 External signal input....................................................................................................................51
6.6 The noise rejection function of external input signal...................................................................56
6.7 Strobe output...............................................................................................................................57
6.8 Timing adjustment of CC output and strobe output....................................................................57
6.9 Synchronizing signal between frame-grabbers (SYNCLT)......................................................... 60
6.9.1 Configuration steps using SYNCLT (Area sensor).......................................................................61
6.9.2 Configuration steps using SYNCLT (Line sensor)........................................................................61
6.10 Encoder input..............................................................................................................................69
6.10.1 Encoder input circuit ...................................................................................................................69
6.10.2 Encoder count timing..................................................................................................................70
6.11 Encoder operation method..........................................................................................................71
6.11.1 Relative position encoder............................................................................................................71
6.11.2Absolute position encoder single point .......................................................................................73
6.11.3Absolute position encoder multi point.........................................................................................76
6.12 MEGA-FIFO................................................................................................................................84
6.13 Interruption..................................................................................................................................87
6.13.1 Event usage................................................................................................................................88
6.13.2 Callback function usage..............................................................................................................90

APX-3302 User's Manual (OM110000019A)
6.14 Notes for interrupt event, callback function.................................................................................94
Chapter 7 Error codes..............................................................................................................................96
7.1 Common error codes ..................................................................................................................96
7.2 Board error code.........................................................................................................................99
7.3 Extended error code (Windows) ...............................................................................................101
7.3.1 Extended error codes returned by driver....................................................................................102
7.3.2 Extended error codes related to buffer.......................................................................................104
Firmware Update History.............................................................................................................................105
Revision History...........................................................................................................................................106
Inquiry..........................................................................................................................................................107

-1 -
Chapter 1 Precautions
Thank you for purchasing「APX-3302」
Please read this user's manual thoroughly to ensure the proper use of this product.
Cautions:
If you insert our products to x 16-lane port that is specified for the graphics card on the PC or motherboard,
it may not work correctly. These lanes are not in operation guarantee because these lane's specification
are not clear, and might be made to be able to maximize the capabilities of the graphics card.
1.1 Handling of the Product
1.1.1 Place to use or store the product
■Do not use this product at a place where it can be subject to spillage of chemicals etc.
Spilled chemical on this product can cause short-circuit and result in fire, failure
or deformation.
■Do not use or store the product in a place where it can subject to spillage of liquids such as
water and oil, a place exposed to steam, or a place of high humidity. Otherwise it can cause
failure of the product.
■Use or store the product in a flat place with sufficient strength. Do not apply vibration or
impact on the product
■Do not use or store the product in a place exposed to direct sunlight or a place close to fire
or heaters such as stoves. Otherwise, it can cause failure or deformation.
■Do not use or store the product in a dusty place.
■Do not use the product at a place close to TV, radio or cordless phone. Otherwise, TV, radio
or cordless phone can sound noise.
■Do not use or store the product at a place close to the equipment generating magnetism or
electric wave. Otherwise, it can cause failure of the module.
■Do not put heavy goods on the product. Otherwise it can cause failure of the module.
■Do not pour liquid such as water in the product. Otherwise it can cause electric shock.
■Static electricity can cause failure of the product. Take sufficient preventive measure
against static electricity such as discharging static electricity of human body when handling
the module.

APX-3302 User's Manual (OM110000019A)
-2 -
■Be careful not to get your hand injured by the front or rear surface of the module when
handling the product.
1.1.2 Cautions for use of product
■Precautions for installing procedure of the product
a) Check the switch on the product is set correctly
b)After confirming the installation of the product in the system, turn on the power of
the system and check the operation
■Precautions for removing procedure of the product
a) Be sure to turn OFF the power of the system before removing the product,
Otherwise it can cause failure
b) Right after turn OFF the power of the system, the product may be heated to
a high temperature. please handle it with care.
* Refer to the manual for the use of the system
Cautions
Be sure to unplug the power code and turn off the power of the system before installing or
removing this product. Otherwise it can cause electric shock.

APX-3302 User's Manual (OM110000019A)
-3 -
1.2 After-Sales Service
1.2.1 User's registration
User's registration is required to use the after sales service.
Otherwise, you may not obtain the maintenance service from AVAL DATA.
Select one of the following methods for registration.
Registration on the Website :
A maintenance service registration page is in the support homepage of our homepage.
A page for maintenance service registration in the support page on AVAL DATA’s homepage.
http://www.avaldata.co.jp/support/regist_user.html
Registration by FAX :
Fill out a FAX registration form for maintenance service that is included with shipment.
FAX: 042-732-1032.
AVALDATA handles personal information appropriately and safely.
The handling of privacy policy is on the Website below:
http://www.avaldata.co.jp/policy/privacy.html

APX-3302 User's Manual (OM110000019A)
-4 -
1.2.2 Customer Support
For the products inquiries, please contact to the support line below.
Customer service
AVAL DATA CORPORATION (URL http://www.avaldata.co.jp/)
Head Quarters / Machida OFFICE SALES DEPARTMENT
1-25-10, Asahimachi, Machida-shi, Tokyo
TEL 042-732-1030
FAX 042-732-1032
Business hours :Monday-Friday 9:00AM-17:00PM(except for a national holiday)
E-mail sales@avaldata.co.jp
For the Technical inquiries, please contact to the support line below.
Technical support Line
E-mail support@avaldata.co.jp
1.2.3 User’s manual
A printed manual is not included with the shipment. The manual is provided for download on the
website or provided for the purchase of the Software Development Kit(SDK).
It is based on concepts of environmental consideration and providing continuous updates in
the ever-changing industry.
AVAL DATA appreciate your understanding.
Download from the Website.
* Membership registration is required.
http://www.avaldata.co.jp/support/manual.html
In addition, request a Support Line when it is difficult to download of the manual from the Website. AVAL
DATA will send you it in electronic media, such as CD-R.
(The customer is responsible for the shipping cost of the items.)

APX-3302 User's Manual (OM110000019A)
-5 -
1.2.4 Serial number
The serial number of the product is printed on the label on the main unit, the warranty certificate, the box,
given each.
Location of the serial number label of the product is shown below.
Serial Number
Figure1-1: Location of the serial number label
1.2.5 Dealing with occurrence of failure or abnormality
When the following failure or abnormality occurred on the module, turn off the power of the system
immediately and pull out the plug of power cord from AC outlet.
A) When the system smokes or gives abnormal smell
B) When the system becomes too hot to touch by hand
C) When the system sounds abnormal noise
D) When the application that had been functioning correctly malfunctions
Contact to the company of purchase or customer service when failure or abnormality occurred.

APX-3302 User's Manual (OM110000019A)
-6 -
1.2.6 Before connect us
Check the followings in advance when consulting with us for the failure or abnormality of the product
A) Check the following in advance when consulting with us for the failure or abnormality of the product
B) Have the Warranty certificate of the module at hand
C) Prepare a simple note on the state of failure or abnormality.
D) Prepare a note on the environment where the module is used (Hardware/ Software)
E) Have the manual of the module at hand.
1.2.7 Repair and maintenance service
・Warranty certificate
In case of failure of the product, we will repair the product in accordance with the contents of the
certificate. Refer to the certificate for details.
・Repair parts
The minimum holding period of repair parts is 5 years after discontinuation of the product.

APX-3302 User's Manual (OM110000019A)
-7 -
1.2.8 In the case of transferring the product to a third party
A) User who transfers the product
Following conditions shall be satisfied when the product is transferred to a third party.
・All attachments to the module (instruction manual, warranty certificate, accessories, etc.)
shall be transferred. No reproduction shall be kept.
・Conditions related to transfer and alienation described in the condition to use that is attached
to each software shall be satisfied.
・The software not permitted for its transfer and alienation shall be deleted before transfer.
B) User to whom the product is transferred
Be sure to inform us of the items necessary for changing the contents of user registration for the
case when we send information to our users.
Items necessary for registration:
Warranty certificate number of the main unit, model name, and serial number.
The name of company you purchased the used product, its address and phone number
1.3 Disposal Method of the Product
Observe the related ordinances of the local government when discarding the module.
Consult with the local government for details.

APX-3302 User's Manual (OM110000019A)
-8 -
Chapter 2 General Description
General description of APX-3302
2.1 Product Summary
APX-3302 is a LowProfile type PCI-Express frame grabber which supports CameraLink interface.
On-board mini SDR26 pin connector allows connecting up to two independent CameraLink
Base Configuration cameras for each. It has an I/O interface circuit compatible with APX-3312 that provides
image acquisition control in conjunction with external devises.
Cautions:
If you insert our products to x 16-lane port that is specified for the graphics card on the PC or motherboard,
it may not work correctly. These lanes are not in operation guarantee because these lane's specification
are not clear, and might be made to be able to maximize the capabilities of the graphics card.
2.2 Feature
Features ofAPX-3302
・High speed image acquisition by using PCI Express x4 bus (Gen2 2.5GT/s)
・Capable connection to the line camera or area camera that support the CameraLink standard for
Base Configuration
・Capable of connecting up to two cameras
・Capable of synchronous / asynchronous image acquisition between camera
・PoCL function to supply power to the camera
・On-board APX-3312 compatible external I/O interface enables coordination with external device or
generates interrupts
・Strobe timing output allows to notify the exposure timing to external lighting devices
・256MB of on board MEGA-FIFO image buffer for each camera
・RoHS compliant
※MEGA-FIFO architecture
MEGA-FIFO architecture is a structure to store the image data from the camera in large capacity buffer
on board temporarily, then it transfers the image data to host memory via the buffer.
Hardware offers fastest operation of buffer input by the camera.
(Base Configurationcamera:Max 85MHzx32bit=340MByte/sec)
It is possible to acquire the image until the buffer capacity is full even the bandwidth of PCI-Express is
lower then the frame rate of a camera.

APX-3302 User's Manual (OM110000019A)
-9 -
2.3 Specifications
The specifications of APX-3302 are described as follows.
Item
Specification
Image Input
Two independent Camera Link Base Configuration
CameraLink Clock 20MHz to 85MHz
Camera Control
CC output
Shaft Encoder Interface
On-board UART (communications to camera)
Power over Camera Link (PoCL)
Supported
I/O
Two TTL (trigger input/general-purpose input)
Four RS422 (encoder/trigger input)
Two Open-Collector (strobe/general-purpose output)
System bus
x4 PCI ExpressTM 2.0 Gen2 (2.5 GT/s)
MEGA-FIFO
DDR2 SDRAM 256MB
Interrupt
Start of acquisition
End of DMA
Falling edge of general-purpose input
Power Requirements
+12V 0.7A Max(PoCL OFF) +3.3V 0.3A Max
Environment Requirements
Temperature: 0ºC to 50ºC
Humidity: 35% to 85% (non-condensing)
Dimension
167.65mm x 68.9mm
(Low profile x4 PCI ExpressTM card)
Weight
100g
Software Support
Software Development Kit (SDK-AcapLib2)
32-bit and 64-bit Windows platform
RoHS compliant
Yes
Table2-1:Specifications

APX-3302 User's Manual (OM110000019A)
-10 -
2.4 Block Diagram
The block diagram of APX-3302
AVAL IP
PCI Express
Controller
256MB
DDR2-SDRAM
AVAL IP
Memory
Controller
AVAL IP
DMA
Controller
x4 PCI ExpressTM
I/O Connecor
Capture
Controller
Capture
Controller
SDR 26Pin
SDR 26Pin
Ch.1
Ch.2
AVAL IP
CrossPoint BusSwitch
AVAL IP
FIFO
Controller
AVAL IP
FIFO
Controller
AVAL IP
DMA
Controller
Flash
Controller
16MB
Flash-ROM
Camera
Controller
Camera
Controller
Trigger/Encoder
Control
Registers
Ch.6
Figure2-1:Block Diagram

APX-3302 User's Manual (OM110000019A)
-11 -
2.5 Front Panel
The front panel view of APX-3302 is shown below.
Figure2-2:Front panel
An optional PCI standard front panel is provided, replace a front panel according to the type of PC.
Panel and board are connected with four of screw lock CameraLink connector.
Figure2-3:Front panel (Standard)
Ch.2
SDR26 pin CameraLink connector
HDR-EC26LFDT1-SLD+ (FROM:HONDATSUSHIN KOGYO)
Ch.1

APX-3302 User's Manual (OM110000019A)
-12 -
2.6 Connector Pin Assignment
This chapter describes connector onAPX-3302.
Heat Sink
CN6
I/O connector
CN2 CN1
CameraLink
connector
Figure2-4: Connector layout drawing
2.6.1 CameraLink connector CN1-CN2
CameraLink connector specifications are shown below. Compliant with CameraLink standard
Manufacturer : HONDATSUSHIN KOGYO
Model : HDR-EC26LFDT1-SLD+
Pin
Signal
Pin
Signal
1
Inner_Shield/+12V
14
Inner_Shield
2
CC4-
15
CC4+
3
CC3+
16
CC3-
4
CC2-
17
CC2+
5
CC1+
18
CC1-
6
SerTFG+
19
SerTFG-
7
SerTC-
20
SerTC+
8
X3+
21
X3-
9
X_CLK+
22
X_CLK-
10
X2+
23
X2-
11
X1+
24
X1-
12
X0+
25
X0-
13
Inner_Shield
26
Inner_Shield/+12V
Table2-2: CameraLink connector pin assignment

APX-3302 User's Manual (OM110000019A)
-13 -
2.6.2 Expansion connector CN6
The expansion connector is assigned various I/O signal to connect external devices.
Specifications are shown below.
Manufacturer : OMRON
Model : XG4C-2634
Pin
Signal
Description
Pin
Signal
Description
1
GND
Ground
2
GND
Ground
3
ExTrg_1
ch1 external trigger input (TTL)
4
ExTrg_2
ch2 external trigger input (TTL)
5
Enc. A+
Encoder A phase input (RS422+)
6
Enc. A-
Encoder A phase input (RS422-)
7
Enc. B+
Encoder B phase input (RS422+)
or
ch1 external trigger input (RS422+)
8
Enc. B-
Encoder B phase input (RS422-)
or
ch1 external trigger input (RS422-)
9
Enc. Z+
Encoder Z phase input (RS422+)
or
ch2 external trigger input (RS422+)
10
Enc. Z-
Encoder Z phase input (RS422-)
or
ch2 external trigger input (RS422+)
11
Diff+
External differential trigger input
(RS422+)
12
Diff-
External differential trigger input
(RS422-)
13
GND
Ground
14
GND
Ground
15
N.C
16
N.C
17
N.C
18
N.C
19
GP_IN1
Inputs (TTL) in general
20
GP_OUT1
Outputs (TTL) in general
21
SYNCLT_OUT
The synchronizing-signal output (TTL)
between frame-grabbers
22
GND
Ground
23
GP_OUT2
Outputs (TTL/OC) in general
24
SYNCLT_IN
The synchronizing-signal input (TTL)
frame-grabbers
25
IN_RES1
Inputs (TTL) in general
26
OUT_RES1
Outputs (TTL/OC) in general
Table2-3: Expansion connector is assignment
AVAL DATA prepares from expansion connector to expansion panel cable ”CBL-Z091A”wired
PCI standard panel.
OUT_RES1 cannot be used byAPX-3302.
Table of contents
Popular Media Converter manuals by other brands

Siemens
Siemens SIMOVERT 6SE7024-1EB85-0AA0 operating instructions

netsys
netsys NM-102 user manual

Husqvarna
Husqvarna CF 11M Operator's manual

IMC Networks
IMC Networks MediaChassis/I-AC supplementary guide

Rose electronics
Rose electronics CNV-BNCVGA Installation and operation manual

MTT
MTT MS3708 user manual