Page 2
WITHOUT LIMITATION, MERCHANTABILITY, SATISFACTORY QUALITY, OR FITNESS FOR A PARTICULAR PURPOSE. THE USE OF THE PRODUCT BY YOU IS AT YOUR OWN RISK. IN NO EVENT WILL HIKROBOT BE LIABLE TO YOU FOR ANY SPECIAL, CONSEQUENTIAL, INCIDENTAL, OR INDIRECT DAMAGES,...
Page 3
TO ANY NUCLEAR EXPLOSIVE OR UNSAFE NUCLEAR FUEL-CYCLE, OR IN SUPPORT OF HUMAN RIGHTS ABUSES. THE PERFORMANCE DATA IN THIS PUBLICATION IS BASED ON HIKROBOT’S INTERNAL RESEARCH/EVALUATION. ACTUAL DATA MAY VARY DEPENDING ON SPECIFIC CONFIGURATIONS AND OPERATING CONDITIONS AND HIKROBOT SHALL NOT BEAR THE CONSEQUENCES ARISING THEREFROM.
Page 4
Indicates a hazard with a high level of risk, which if not avoided, will result in death or serious injury. Available Model This manual is applicable to the CameraLink Line Scan Camera.
Page 5
CameraLink Line Scan Camera User Manual · Safety Instructions These instructions are intended to ensure that the user can use the product correctly to avoid danger or property loss. Laws and Regulations The device should be used in compliance with local laws, electrical safety regulations, and fire prevention regulations.
Page 6
CameraLink Line Scan Camera User Manual · It is suggested to wear anti-static suit to prevent damage to the equipment caused by static electricity. When installing or maintaining the product, please wear anti-static wrist band or anti-static gloves. Make sure that the wristband is tightly attached to the skin and is reliably grounded.
Page 7
CameraLink Line Scan Camera User Manual · E-mail: tech_support@hikrobotics.com Website: en.hikrobotics.com...
CameraLink Line Scan Camera User Manual · Table of Contents Chapter 1 Appearance ........................1 Chapter 2 Interface and Indicator ....................3 2.1 Interface Description...................... 3 2.2 Indicator Description...................... 4 Chapter 3 Installation ........................5 3.1 Preparation ........................5 3.2 Install Camera and Connect Frame Grabber ..............5 Chapter 4 Camera Settings via Frame Grabber Software and MVS Client Software .......
Page 9
CameraLink Line Scan Camera User Manual · 6.4.3 Trigger Activation ....................31 6.4.4 Shaft Encoder Counter ..................32 6.4.5 Trigger Debouncer....................33 Chapter 7 I/O Output........................35 7.1 Select Output Signal ..................... 35 7.2 Set Output Signal ......................35 7.2.1 Enable Level Inverter ................... 35 7.2.2 Enable Strobe Signal ....................
Page 10
CameraLink Line Scan Camera User Manual · 10.2 TDI Function ......................56 10.3 Transport Layer Control ....................58 10.4 Save and Load User Set ....................58 10.5 Update Firmware ....................... 60 Chapter 11 Trouble Shooting ......................63 Chapter 12 Revision History ......................64...
CameraLink Line Scan Camera User Manual · Chapter 1 Appearance The camera has different appearance with varied models. Type I is 4K camera and type II is 8K camera. For specific appearance and dimension, please refer to the camera's specification for details.
Page 12
● For type II camera, you should use M3 screw. USB Interface It is used to update firmware. Screw hole for CL It is used to fix CameraLink cable. Interface It refers to the CameraLink1 with SDR interface, and it is used CL1 Interface to transmit data and provide serial communication.
CameraLink Line Scan Camera User Manual · Chapter 2 Interface and Indicator 2.1 Interface Description For different models of cameras, they all have a 12-pin Hirose connector, and pin definitions are as follows. Figure 2-1 12-pin Power and I/O Interface...
CameraLink Line Scan Camera User Manual · Signal I/O Signal Source Description IO_OUT1_P Line 4+ Differential output 1+ IO_OUT1_N Line 4- Differential output 1- You should refer to the table above and the label attached to the power and I/O cable to wire the device.
It refers to suitable power adapter that you need to purchase it DC Power Supply separately. CameraLink It refers to the CameraLink cable, and the camera interface for Cables connecting CameraLink cable is SDR interface. You need to purchase it separately in accordance with camera interface and frame grabber interface.
Page 16
· Hot swap is not allowed for CameraLink cable. The camera interface for connecting CameraLink cable is SDR interface, and frame grabber interface is different for different models. Select applicable Cameralink cable according to camera interface and frame grabber model.
CameraLink Line Scan Camera User Manual · Chapter 4 Camera Settings via Frame Grabber Software and MVS Client Software 4.1 Install Frame Grabber Software The frame grabber software can connect camera, acquire image data, set frame grabber parameters, etc. Steps: 1.
CameraLink Line Scan Camera User Manual · Frame Grabber Parameters Camera Parameters Camera Sensor Geometry Setting Tap Mode Table 4-2 Parameters of Matrox Frame Grabber Frame Grabber Parameters Camera Parameters Pixel Clock Frequency Pixel Clock Cameralink config Configuration Mode Taps...
CameraLink Line Scan Camera User Manual · Figure 4-1 Installation Interface 3. Click Start Setup. 4. Finish the installation according to the interface prompts. 4.4 Connect Camera to MVS Client Software Steps: 1. Click in Camera Link of device list to search the device.
CameraLink Line Scan Camera User Manual · Chapter 5 Quick Started with MVS 5.1 Client Software Layout After connecting to the camera, the client software can read the camera attributes and display them. Figure 5-1 Main Window For specific main window of the client software, please refer to the actual one you got.
CameraLink Line Scan Camera User Manual · Area Name Description This area displays device's images, and you can start Live View Area acquisition, live view, capture images, etc. This area displays specific attributes of connected device. You Attribute Area can view and set device's attributes.
CameraLink Line Scan Camera User Manual · Attribute Description You can view and set the device resolution, image reverse Image Format Control function, pixel format, region of interest, test pattern, etc. You can view and set the device acquisition mode, line rate, Acquisition Control trigger mode, exposure mode, etc.
Apart from the MVS client software and frame grabber software, the serial port tool can be used to detect camera status, read and set its parameters. You can set camera parameters by connecting CameraLink serial port cable. When accessing the camera or using the terminal in the application software, you are required to set the parameters as follows.
Page 24
CameraLink Line Scan Camera User Manual · The camera parameters can be set via the MVS client, frame grabber or serial port tool, but you cannot use them at same time. The default value of the camera’s baud rate is 9600 bps.
CameraLink Line Scan Camera User Manual · Chapter 6 Image Acquisition 6.1 Set Line Rate Line rate refers to the image line number that is output by the camera per second. The following 4 factors determines the maximum line rate: ...
Page 26
CameraLink Line Scan Camera User Manual · Table 6-1 Trigger Mode Principle and Parameter Trigger Mode Parameter Parameter Value Principle Free trigger Acquisition In this mode, the camera itself Trigger Selector =Line Start mode Control > Trigger generates the trigger signal, and...
CameraLink Line Scan Camera User Manual · 6.2.2 Set Free Trigger Mode It refers to the trigger mode that line trigger and frame trigger are in off status. The camera outputs images continuously at the current configured frame rate. Steps: 1.
Page 28
CameraLink Line Scan Camera User Manual · Figure 6-5 Set Frame Trigger Parameter 3. Select Line Start as Trigger Selector, and On as Trigger Mode. Figure 6-6 Set Line Trigger Parameter 4. Select different line trigger signals as Trigger Source according to actual demands.
CameraLink Line Scan Camera User Manual · 6.2.4 Set Frame Trigger Mode In this mode, line trigger is off and frame trigger is on. After receiving frame trigger signal, the camera will start to expose and generate image data. The camera outputs images according to current line rate.
Page 30
CameraLink Line Scan Camera User Manual · Figure 6-10 Set Trigger Source for Frame Trigger 5. Select Trigger Activation according to actual demands. Rising Edge refers to the rising edge of the trigger signal is valid, that is camera exposure and acquisition at the beginning of the rising edge of the trigger signal, and the whole process will stop when the camera acquires the line signal that is able to output a complete frame.
CameraLink Line Scan Camera User Manual · Trigger_in 1 Trigger delay Duration Strobe Exposure 1 Exposure 2 Exposure 3 Sensor exposure Figure 6-11 Frame Trigger Mode Sequence Diagram If Acquisition Burst Frame Count = 3, a trigger signal outputs 3 images. Strobe output control is equivalent to single frame trigger mode.
Page 32
CameraLink Line Scan Camera User Manual · image and then it no longer detects line trigger signal. At this point, the camera returns to the wait status for frame trigger signal, and the previously received frame trigger signals are invalid.
CameraLink Line Scan Camera User Manual · 5. Select different line trigger signals as Trigger Source according to actual demands. Figure 6-15 Set Trigger Source for Line Trigger 6. Select Trigger Activation according to actual demands. When selecting Software as Trigger Source, you do not need to set Trigger Activation.
6.3.1 Set Software Trigger The camera supports software trigger. When the software trigger is selected, the client software sends commands to the camera via CameraLink cable to acquire and transmit images. Steps: 1. Click Acquisition Control > Trigger Selector.
CameraLink Line Scan Camera User Manual · Figure 6-16 Set Trigger Mode 6.3.2 Set Hardware Trigger The camera has 2 differential inputs (Line 0 and Line 3), and you can set hardware trigger as shown below. Steps: 1. Click Acquisition Control > Trigger Selector.
Page 36
CameraLink Line Scan Camera User Manual · Figure 6-18 Set Shaft Encoder Control The advantages of shaft encoder are as follows: Encoder output pulse frequency is proportional to rotating speed. The output pulse acts as a trigger signal for line scan camera.
CameraLink Line Scan Camera User Manual · Line Inp ut 1 Line Trigger Phase A Line input 1 is Phase B selected as the The final output Line Input 2 input signal for of module is line phase A trigger s ignal...
Page 38
CameraLink Line Scan Camera User Manual · In Frequency Converter Control, select Input Source according to actual demands. Figure 6-23 Set Input Source The frequency conversion module includes 3 sub-sequences that are acted on the source signal in turn, and theses 3 sub-sequences are PreDivider, Multiplier and PostDivider.
6.3.5 Set Frame Grabber Trigger Control When selecting CC1/CC2/CC3/CC4 as Trigger Source, the camera is in frame grabber trigger status. Frame grabber triggers camera to acquire images by sending signal via CameraLink cable. Figure 6-24 Set Frame Grabber Trigger 6.4 Trigger Related Parameters Under external trigger mode, you can set frame burst, trigger delay, trigger activation, shaft encoder counter, and trigger debouncer.
CameraLink Line Scan Camera User Manual · 6.4.1 Burst Frame Count The acquisition mode under external trigger includes single frame mode and multiple frame mode. In different modes, the relation between camera exposure time and readout time varies. Single Frame Mode Under this mode, the camera exposes once only when inputting one trigger signal.
CameraLink Line Scan Camera User Manual · Figure 6-27 Signal Delay Sequence Diagram You can set proper value in Trigger Delay, and its range is 0 μs to 16000000 μs. Figure 6-28 Set Trigger Delay 6.4.3 Trigger Activation The camera supports trigger acquisition in the rising edge or falling edge of external signal. The principle and parameter of trigger activation are shown below.
CameraLink Line Scan Camera User Manual · Trigger Activation Parameter Parameter Value Principle Acquisition Control > Level High refers to the level Level high Level High Trigger Activation high of the trigger signal is valid. The trigger is active as long as the trigger signal is high.
CameraLink Line Scan Camera User Manual · Figure 6-30 Set Encoder Counter Max When setting as Ignore Direction, the camera counts triggers regardless of whether it is forward, backward or repeated. 6.4.5 Trigger Debouncer The external trigger input signal of the camera may have signal bounce that may cause false trigger.
Page 44
CameraLink Line Scan Camera User Manual · Figure 6-32 Set Line Debouncer Time When the configured debouncer time is larger than trigger signal time, and the trigger signal will be ignored. When the configured debouncer time is smaller than trigger signal time, and the...
CameraLink Line Scan Camera User Manual · Chapter 7 I/O Output 7.1 Select Output Signal You can select output signal as shown below. Click Digital IO Control > Line Selector, select Line 1 or Line 4 as Line Selector, and enable Strobe Enable.
CameraLink Line Scan Camera User Manual · The Line Inverter parameter is disabled by default. 7.2.2 Enable Strobe Signal The strobe signal is used to directly output I/O signal to external devices when camera’s event source occurs. You can enable strobe signal as shown below.
CameraLink Line Scan Camera User Manual · Chapter 8 I/O Electrical Feature and Wiring 8.1 I/O Electrical Feature 8.1.1 Line 0/Line 3 Input Circuit The camera has 2 input pins, including Line 0 and Line 3. The input signal cable connects the camera via 12-pin power and I/O cable.
Page 48
CameraLink Line Scan Camera User Manual · Figure 8-2 RS-422 Bus Topology with 4 Receivers When the camera is the last receiver on the bus structure, the camera's terminal resistance needs to be enabled, and the rest camera's terminal resistance need to be disabled. Multiple terminal resistance should not be enabled on the bus structure, which will reduce signal reliability and may cause damage to the RS-422 device.
CameraLink Line Scan Camera User Manual · 12-Pin Interface Disconnect Camera 3.3V I/O IN+ Input TTL Signal 120Ω Receiver External Gnd Fpga 3.3V 10KΩ 8.2KΩ Figure 8-3 Inputting LVTTL Signal 8.1.2 Line 1/Line 4 Output Circuit The camera has 2 output pins, including Line 1 and Line 4. The output signal cable connects the camera via 12-pin power and I/O cable.
Page 50
CameraLink Line Scan Camera User Manual · RS-644 Standard Output The camera adopting RS-422 standard output signal cannot directly connect to RS-644 standard. When connecting RS-644 standard output, it is required to add a resistance network in camera’s output location. In order to make sure the normal operation of output circuit, it is required to connect camera’s ground signal with external ground signal.
CameraLink Line Scan Camera User Manual · 8.2 I/O Wiring Here we take 4K camera as an example for I/O wiring, and these wirings are applicable to 8K camera too. 8.2.1 Differential Singal Source Outputs Differential Signal The camera can input differential signal via Line 0 or Line 3. 5 V differential signal source can be selected to output differential signal.
Page 52
CameraLink Line Scan Camera User Manual · Signal Source Power Camera Power Input 0 Positive (Line0)or Input 1 Positive (Line3) OUT A Single-ended Input 0 Negative (Line0)or Input 1 Negative (Line3) Signal Source Hang Signal Ground Camera Power Ground Signal Source GND...
CameraLink Line Scan Camera User Manual · Chapter 9 Image Parameter 9.1 View Resolution Click Image Format Control, and view Width Max and Height Max. Width Max stands for the max. pixels per inch in width direction and Height Max stands for the max. pixels per inch in height direction.
CameraLink Line Scan Camera User Manual · Figure 9-2 Set ROI 9.3 Set Image Reverse The camera supports horizontal reverse image output. You can click Image Format Control, and enable Reverse X according to actual demands. Figure 9-3 Set Image Reverse For different models of cameras, the image reverse function may differ, and the actual product you purchased shall prevail.
CameraLink Line Scan Camera User Manual · The default output data format of color camera is RGB, and the default output data format of mono camera is Mono 8. For different pixel formats, they have varied pixel size. Table 9-1 Description...
Page 56
CameraLink Line Scan Camera User Manual · Click Image Format Control > Test Pattern, and set Test Pattern according to actual demands. Figure 9-5 Test Pattern of Mono Camera The mono camera offers 4 test patterns, including Mono Bar, Checkboard, Oblique Mono Bar and Vertical Color Bar.
CameraLink Line Scan Camera User Manual · Figure 9-11 Horizontal Color Bar Test Pattern (4K Camera) 9.6 Set Exposure Time Exposure is the quantity of light or other radiation reaching a sensor, and it is determined by shutter speed and lens aperture.
CameraLink Line Scan Camera User Manual · Figure 9-13 Set Exposure Time under Once or Continuous Mode The exposure time you want to set is bounded by the Auto Exposure Time Lower Limit and the Auto Exposure Time Upper Limit.
CameraLink Line Scan Camera User Manual · 9.7.2 Set Digital Gain Apart from analog gain, the camera also supports digital gain function. When analog gain reaching its upper limit and the image is still too dark, it is recommended to improve image brightness via digital gain.
CameraLink Line Scan Camera User Manual · Table 9-3 White Balance Status Description Mode Description You need to set the R, G, B value manually, between 1 and 4095. 1024 means ratio is 1.0 Once Automatic white balance once. Adjust the white balance for a certain amount of time then stop.
CameraLink Line Scan Camera User Manual · Gamma=0.5 Gamma=1 Gamma=2 Gamma=4 Figure 9-17 Gamma Curve You can click Analog Control, enable Gamma Enable, and enter Gamma according to actual demands. Figure 9-18 Set Gamma Correction 9.10 Set Color Transformation Control Color transformation control is only available for color cameras.
CameraLink Line Scan Camera User Manual · Figure 9-19 Set Color Transformation Control 9.11 Set Hue and Saturation Hue and saturation are only available for color cameras. Hue Adjusting the hue shifts the colors of the image. Click Color Transformation Control > Hue Enable, enable Hue Enable, enter Hue according to actual demands, and its range is from 0 to 255.
CameraLink Line Scan Camera User Manual · AOI function is only available for color cameras. The color camera can adjust exposure time and white balance automatically within a certain range to achieve expected image quality. By default, the camera adjusts the brightness and the white balance of the whole image.
CameraLink Line Scan Camera User Manual · Figure 9-23 Set LUT 9.14 Set Shading Correction For different models of cameras, the shading correction function may differ, and the actual product you purchased shall prevail. The camera currently supports PRNUC (Photo-response Non-Uniformity Correction) function that eliminates vertical line on the images.
CameraLink Line Scan Camera User Manual · Chapter 10 Other Functions 10.1 Device Control In the Device Control attribute, you can view device information, edit device name, enable heartbeat mode, etc. Table 10-1 Device Control Parameter Description Parameter Read/Write Description...
CameraLink Line Scan Camera User Manual · Parameter Read/Write Description It is the period of time when device is powered Device Uptime(s) Read only Board Device Type Read only It is the device type. Device Command Read only It counts the timeout of command.
Page 67
CameraLink Line Scan Camera User Manual · Figure 10-1 Set TDI Mode When selecting 2-TDI or 4-TDI as TDI Mode, you can set TDI Direction that allows the camera to execute TDI function for backward moving object. For different models of 8K cameras, the specific TDI direction settings are differ.
CameraLink Line Scan Camera User Manual · 10.3 Transport Layer Control The camera’s tap geometry should match with that of frame grabber, and inconsistent parameters may lead to image exception. In MVS client software, you can go to Transport Layer Control > Device Tap Geometry to check or set the tap geometry.
Page 69
CameraLink Line Scan Camera User Manual · Figure 10-5 Parameter Relation You can save parameters, load parameters and set user default as shown below. Save Parameters Steps: 1. Click User Set Control, and select a user set in User Set Selector. Here we take selecting User Set 1 as an example.
3 stands for the user set 3. 10.5 Update Firmware The camera supports updating firmware by using CameraLink cable or USB data cable. Before updating, make sure power cable and others are properly connected. You should stop the live view and disconnect the camera with MVS client software before...
Page 71
4. Click Update. Figure 10-9 Update Firmware via CameraLink Cable Update Firmware via USB Data Cable The USB data cable you use should have data transmission function. If the USB data cable cannot transmit data, the PC will not find the disk.
Page 72
CameraLink Line Scan Camera User Manual · Figure 10-10 Update Firmware via USB Data Cable...
1. Check camera power wiring (observe when running the up normally, or the LED indicator). client. CameraLink cable 2. Check whether CameraLink cable is connection exception. normally connected via serial port tool. 3. Reinstall the client. Camera indicator 1. Incorrect parameter 1.
CameraLink Line Scan Camera User Manual · Chapter 12 Revision History Table 12-1 Revision History Version No. Document No. Date Revision Details Modify section Quick Started with MVS. V2.0.1 UD17814B Dec. 25,2019 Add section Set Color Transformation Control.
CameraLink Line Scan Camera User Manual · Appendix Command List The commands listed in the command list below are common ones only. For other commands, please contact technical support personnel via e-mail: tech_support@hikrobotics.com for detailed information. Table Appendix-1 Command List...
Page 76
CameraLink Line Scan Camera User Manual · Parameter Command Value Description Read pixel size. PixelSize r PixelSize Test Pattern Set test pattern. Eg. w w TestPattern x x: TestPattern 14. 0—off 14—ObliqueMonoBar 16—GradualMonoBar Read test pattern. r TestPattern Set line rate (enable).
Page 77
CameraLink Line Scan Camera User Manual · Parameter Command Value Description 0—Line0 TriggerSource+6 9. 3—Line3 6—EncoderModuleOu 8—FrequencyConvert 9—CC1 11—CC2 12—CC3 13—CC4 r TriggerSource+6 7—software Read the trigger source. 0—Line0 3—Line3 6—EncoderModuleOu 9—CC1 11—CC2 12—CC3 13—CC4 TriggerActivation w TriggerActivation+6 0—Rising edge Set rising trigger edge.
Page 78
CameraLink Line Scan Camera User Manual · Parameter Command Value Description 0—off ExposureTime w ExposureTime Value Set the exposure time. Eg.w ExposureTime 1000. r ExposureTime Read the exposure time. AutoExposureTime Set auto exposure lower LowerLimit AutoExposureTimeLo limit. Eg. w AutoExposureTimeLow...
Page 79
CameraLink Line Scan Camera User Manual · Parameter Command Value Description value and disable shift is -6 to 6. digital shift Eg. w DigitalShift 512. It z: write serial port means setting gain as 0.01, value and enable and disabling digital shift.
Page 80
CameraLink Line Scan Camera User Manual · Parameter Command Value Description x= Read value/100. GammaEnable w GammaCtrl x EnableGama. Eg: w GammaCtrl 1. 0— on 1— off r GammaCtrl Read Gama status. Brightness w Brightness x x: 0-255 Set brightness value. Eg: w Brightness 66.
Page 81
CameraLink Line Scan Camera User Manual · Parameter Command Value Description x: 1 Reset encoder counter. Eg: w Encoder Counter EncoderCounterReset 1. Reset EncoderCounterReset x x: 0-32767 Set encoder max. reverse Encoder Max counter. Eg: w Reverse Counter EncoderMaxReverseCo EncoderMaxReverseCounter unter x Read encoder max.
Page 82
CameraLink Line Scan Camera User Manual · Parameter Command Value Description Read PostDivider. r PostDivider Set I/O input and output LineMode w LineMode+x y mode. Eg: w LineMode+5 0 5—CC1 (Set CC1 as input). 0—Line0 1—Line1 3—Line3 4—Line4 0—In 8—Strobe...
Page 83
CameraLink Line Scan Camera User Manual · Parameter Command Value Description y_4X 0x08010181:Geometr y_8X 0x0a010181:Geometr y_10X r DeviceTapGeometry Read the camera’s transmission mode (the returned value is decimal system and it needs to be converted to hexadecimal). Read supported Baudrates.
Page 84
CameraLink Line Scan Camera User Manual ·...
Need help?
Do you have a question about the CameraLink and is the answer not in the manual?
Questions and answers