The Basler racer 2 r2L4096-42cc is a compact CoaXPress 2.0 (CXP-12) color line scan camera featuring the Gpixel GL3504 dual-line CMOS sensor at 4096 × 1 pixel resolution with a 3.5 µm pixel pitch, achieving a maximum line rate of 42.6 kHz. It supports global shutter and outputs 8, 10, or 12-bit pixel data over a single CXP-12 coax link (2.5–12.5 Gbps). Powered via Power over CoaXPress at 24 VDC (~3.6 W typical), the camera uses a C-mount lens interface and carries IP30 ingress protection. It complies with CE, UKCA, FCC, UL, GenICam, and CoaXPress 2.0 standards.
Compact for a colour line scan camera: a 29 × 29 mm cross-section, 85 g and a C-mount. The 4,096 px × 3.5 µm line is 14.3 mm long, which fits the roughly 16 mm image circle of a 1" C-mount lens, whereas the 57.3 mm lines of the r2L16384-120cm and r2L8192-80cc need M72 optics. Example at 0.1× magnification: 35 µm pixels over a 143 mm field, and 42,600 × 35 µm ≈ 1.5 m/s.
One CXP-12 connection carries the image and, as Power over CoaXPress at 24 VDC (about 3.6 W typical), the camera supply too, so a CoaXPress frame grabber with PoCXP is all the host needs. Bandwidth is not the constraint: even a colour pixel sent as three 12-bit components, 4,096 × 42,600 × 36 bit ≈ 6.3 Gbit/s, stays well inside one 12.5 Gbps link. The light matters more: colour filters absorb part of it, and a white LED line light with a gap in its spectrum weakens one colour channel.
Best for
Printed packaging, labels and decorated surfaces where the defect is a colour shift or a wrong ink; the 14.3 mm line at 0.1× gives a 143 mm field at 35 µm per pixel.
Compact stations and retrofits, where 85 g and a single coax cable for data and power suit small brackets and tight machine spaces.
Colour grading of small items on a conveyor, where a monochrome line camera cannot separate classes that differ only in hue.
Selection notes
Host: the frame grabber needs a CXP-12 input and must supply PoCXP at 24 VDC, because the camera is powered through the coax.
Colour costs light and needs broadband illumination; set white balance against a reference under production light. If the task is geometry, codes or contrast, a monochrome line camera is simpler and more sensitive.
3.5 µm pixels call for a lens resolving about 143 lp/mm (1 ÷ (2 × 0.0035 mm)). Lateral colour error shows as coloured fringes toward the ends of the line, so test on a high-contrast target.
Specifications: General
Camera type
Line Scan
Specifications: Sensor
Horizontal resolution
4096 px
Mono / color
Color
Sensor model
GL3504
Shutter
Global Shutter
Pixel size
3.5 µm
Specifications: Performance
Line rate
42.6 kHz
Specifications: Interface
Interface
CoaXPress CXP-12
Specifications: Optics
Mount
C-mount
Specifications: Environment
IP rating
IP30
Operating temperature
−10 to +50 °C
Specifications: Mechanical
Dimensions
48.9 x 29 x 29 mm
Weight
85 g
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
12 frame grabbers / interface cards are compatible with this camera.
Matched automatically by: card supports the camera interface (coaxpress) · card link speed is at least the camera link speed (cxp-6 / cxp-12, 1–10 gige) — this camera: CoaXPress CXP-12.
Get a first image quickly with the pylon Viewer, then move into the pylon SDK for your application. These cameras are GenICam/GenTL-compliant, so any compliant vision software can drive them as well.
Download and install the pylon Camera Software Suite for your OS from Basler. This provides the pylon Viewer, the GenTL transport-layer producers and the pylon SDK (C/C++/.NET/Python). On Windows the installer adds the needed drivers; on Linux follow the included setup notes for USB and network permissions.
2. Connect the camera and check the link
Cable the camera to its matching interface: GigE Vision to a GigE port (use a quality cable and, ideally, a dedicated NIC with jumbo frames enabled), USB3 Vision to a USB 3.x port with the supplied cable, or CoaXPress to the frame grabber. Provide power where required (PoE, USB bus power, or PoCXP). Open the pylon Viewer and confirm the camera appears in the device list; for GigE, make sure the camera and NIC are on the same subnet.
3. Grab a first image and set exposure, gain and pixel format
Select the camera in the pylon Viewer and start a continuous grab. Adjust exposure time and gain until the image is well exposed (avoid clipped highlights), set the pixel format (e.g. Mono8 or a Bayer/RGB format), and focus the lens. Use a test pattern if the lens or scene is not ready yet.
4. Configure triggering and acquisition
Decide between free-run and triggered acquisition. For synchronized capture, set the trigger source (software or a hardware line on the I/O connector), trigger mode and any debounce or exposure mode, then verify timing. Note the parameter names you change in the Viewer feature tree, as you will reuse them in code.
5. Move to the SDK or a GenICam-compliant library
Recreate your settings in code with the pylon SDK (C, C++, .NET or Python) to open the device, apply the same features and pull frames into your pipeline; pylon vTools and pylon AI can add processing blocks. Because the cameras are GenICam/GenTL standard, third-party vision libraries work too. Once the image stream is stable, you can route frames to a deep-learning inspection such as Rosepetal for automated defect detection.
Frequently asked questions
Yes, when the frame grabber supplies PoCXP: the CXP-12 link carries image data and 24 VDC power.
The line is 4,096 × 3.5 µm ≈ 14.3 mm, so a C-mount lens needs an image circle of at least that size, as a 1" format lens has, plus enough resolution for 3.5 µm pixels. A 2/3" lens (11 mm circle) falls short.