Homepage  ꄲ  Case Studies  ꄲ  PCIe-1005 Analog Camera Trigger Function Test

PCIe-1005 Analog Camera Trigger Function Test

Created on:2026-11-30 10:12

PCIe-1005 Analog Camera Trigger Function Test

1.       PCIe-1005 Analog Camera Introduction

The PCIe-1005 4 Channel CoaXPress Camera Simulator is a high-performance development and testing tool designed specifically to emulate the operating behavior of CXP interface cameras. Without connecting a real physical camera, this device can fully reproduce the communication mechanisms, image-stream transmission, and control logic of a CXP camera within a vision system, thereby improving the efficiency and reliability of the image-acquisition workflow, driver development, application-software integration, and system-level verification.

This simulator strictly complies with the CoaXPress 1.1/2.1 protocol specifications, ensuring compatibility with mainstream frame grabbers and vision-software ecosystems. The device supports multiple built-in or external image-source input methods and allows flexible configuration of the output image's resolution, pixel format, and line/field timing parameters to meet the simulation needs of different imaging application scenarios.

In addition, the PCIe-1005 offers rich trigger-mode support and can accurately emulate the behavior of real industrial cameras in complex production-line environments. Users can adjust the simulator's parameters in real time through the accompanying configuration software or API, achieving high-fidelity, system-level simulation.

Board features:

  • Compatible with CXP 1.1/2.1, with a maximum per-channel bandwidth of up to 12.5 Gbps;
  • Supports simulation of any image format and image size;
  • Supports FPGA built-in image sources and software-based arbitrary image sources; images are read from folders and support common image formats such as raw, bmp and tiff, with the raw format recommended;
  • Supports cyclic image output, trigger output and continuous output;
  • Equipped with rich External I/O interfaces (such as RS-485, optocoupler-isolated input/output, LVDS and TTL), suitable for complex industrial environments and usable for generating trigger signals of various forms.

Board diagram

IMG_256
  • ①      26 Pin I/O: A 26-pin input/output (I/O) connector on the panel, providing external digital-signal input/output.
  • ②      LED×4: Four LED indicators.
  • ③      HDBNC 12.5Gbps ×4: Four CoaXPress HDBNC connectors, supporting the CXP-12 standard with a maximum single-channel transmission rate of 12.5 Gbps.
  • ④      External I/O: External I/O expansion connector, used to connect additional trigger signals, encoders, user-defined control lines, etc.
  • ⑤      PCIe Gen3 x8        motherboard connection slot: Uses a PCIe Gen3 x8 physical interface to meet high-speed data-transmission requirements.

2.       ImgGrab Software Download

Go to the Download Center on the official website of Chongqing Xingce Electronic Technology to install ImgGrab. Download URL: https://img-grab.com/jszc

IMG_256

After downloading, simply install it by following the on-screen prompts.

3.       Acquiring Images with ImgGrab

Use four HDBNC-to-HDBNC cables to connect the PCIe-1004 and the PCIe-1005, matching the cable numbers one to one in order, as shown in the figure below.

IMG_256

Open ImgGrab to display the interface shown below.

IMG_256

Click Settings at the top, select Camera Simulator Settings, and select PCIe-1005 to configure it as shown below.

IMG_256

For the data source, you can choose the simulated-camera test-image sample data package available on the official website of Chongqing Xingce Electronic Technology; the data package contains test images of various sizes and formats for the camera simulator to use.

IMG_256

In the local-image settings, select the data source; here a raw-type mono8 format test image is selected for the demonstration.

IMG_256

After selecting the camera, click the button shown below to connect or disconnect the camera (or double-click the camera to connect).

IMG_256

Once connected, click the acquisition button shown to start acquisition. (To make it easier to observe the camera simulator's image output and the frame grabber's acquisition, you can click the layout option at the top to select a four-panel view.)

IMG_256

Acquisition succeeded. (The left panel shows the images sent by the camera simulator; the right panel shows the images acquired by the frame grabber.)

IMG_256

4.       PCIe-1005 Trigger Function Test

4.1.       Software Trigger

Click PCIe-1005 in the device pane on the left, select TriggerControl in the property tree on the right, set Trigger Mode to On and Trigger Source to software_trigger.

IMG_256

Click acquisition; the camera enters the wait-for-trigger state, in which it does not output images automatically. Each time you click TriggerSoftware, the camera exposes once and outputs 1 frame, the image count increases by 1, and acquisition proceeds normally as shown below.

IMG_256

4.2.       CXP Trigger

Click PCIe-1005 in the device pane on the left, select TriggerControl in the property tree on the right, set Trigger Mode to On and Trigger Source to CXPTrigger.

IMG_256

Click the PCIe-1004 frame grabber, select CounterAndTimerControl in the property tree on the right, and configure the property parameters as shown below. The internal clock frequency of the PCIe-1004 is 125 MHz, i.e. 8 ns/tick; here TimerDuration and TimerDelay are each set to 106 ticks, giving a theoretical frame rate of 62.5 fps.

IMG_256

Then select TriggerControl and set Trigger Source to Timer0_Output.

IMG_256

Click acquisition; the frame rate is consistent with the theoretical frame rate and acquisition is normal.

IMG_256

4.3.       Digital I/O Trigger

Use a GPIO cable to connect the External I/O interfaces of the PCIe-1004 and the PCIe-1005, as shown below. For the wiring order, refer to the PCIe-1004 and PCIe-1005 user manuals on the official website of Chongqing Xingce Electronic Technology.

IMG_256

Click PCIe-1005 in the device pane on the left, select TriggerControl in the property tree on the right, set Trigger Mode to On and Trigger Source to LINE0; then select DigitalIOControl, set Line Mode to Input and Line Source to LINE0.

IMG_256
IMG_256

Click the PCIe-1004 frame grabber, select CounterAndTimerControl in the property tree on the right, and configure the property parameters as shown below. The internal clock frequency of the PCIe-1004 is 125 MHz, i.e. 8 ns/tick; here TimerDuration and TimerDelay are each set to 106 ticks, giving a theoretical frame rate of 62.5 fps.

IMG_256

Then select Digital I/O Control, set Line Mode to Output and Line Source to Timer0_Output.

IMG_256

Click acquisition; the frame rate is consistent with the theoretical frame rate and acquisition is normal.

IMG_256

4.4.       External Trigger

The external trigger source is connected to the External IO interface of the PCIe-1005 through a junction box and a GPIO cable, as shown below.

IMG_256

The external trigger source is a square wave with a frequency of 1 kHz, an amplitude of 3.3 V, and an offset of 1.65 V, as shown below.

IMG_256

Click PCIe-1005 in the device pane on the left, select TriggerControl in the property tree on the right, set Trigger Mode to On and Trigger Source to TTLIO_0; then select DigitalIOControl, set Line Selector to TTLIO_0 and Line Mode to Input.

IMG_256
IMG_256

Click acquisition; the frame rate is consistent with the trigger-source frequency and acquisition is normal.

IMG_256