Basic Acquisition Examples for Camera Link Cameras for marathon Frame Grabbers

You can find Camera Link scan examples for marathon (mE5-MA-VCL) platforms in the following sections. In and in examples for area and line scan cameras are described.

Camera Link Area Scan Cameras

The basic acquisition for area scan cameras is very easy. You simply need to select a suitable camera operator. Connect the camera operator to an ImageBuffer and DmaToPC operator. Any processing logic can be placed in between, preferably behind the buffer. In the following basic examples for Camera Link configuration mode base, medium and full are presented.

Grayscale Camera Link Base Area

Simply connect the three operators and parameterize them to meet your requirements. If you are using a bit depth no equal to eight or 16, you should consider a change of the output bit depth to one of these formats. In tutorial 'Applet Parameterization' explanations on bit depth modifications can be found.

Basic Acquisition for Grayscale Camera Link Area Scan Cameras in Base Configuration Mode on marathon VCL

Figure 211. Basic Acquisition for Grayscale Camera Link Area Scan Cameras in Base Configuration Mode on marathon VCL


You can find the examples "BaseAreaGray8.va", "DualBaseAreaGray8.va" and "BaseAreaGray12.va" for 8 bit and 12 bit under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Area. The example "DualBaseAreaGray8.va" is a dual process design. Please read for information purpose under Device Resources the concept of shared memory on the microEnable 5 marathon platforms. For more information about the Trigger box in "BaseAreaGray8.va" and how to trigger Camera Link area scan cameras see 'Trigger'.

RGB Camera Link Base Area

Please find the examples "BaseAreaRGB24.va" and "DualBaseAreaRGB24.va" for RGB 24 bit for acquisition with a camera in Camera Link base configuration under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Area. The example "DualBaseAreaRGB24.va" is a dual process design. Please read for information purpose under Device Resources the concept of shared memory on the microEnable 5 marathon platforms. For more information on how to trigger your Camera Link camera see 'Trigger'.

Basic Acquisition for RGB Camera Link Area Scan Cameras in Base Configuration Mode on marathon VCL

Figure 212. Basic Acquisition for RGB Camera Link Area Scan Cameras in Base Configuration Mode on marathon VCL


Grayscale Camera Link Medium Area

The use of medium cameras is similar to the use of cameras in Camera Link base configuration mode. The camera medium configuration camera operator allows a higher bandwidth. You find the example designs "MediumAreaGray8.va" and "MediumAreaGray12.va" for 8 bit and 12 bit for the medium configuration of a Camera Link grayscale camera under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Area.

Basic Acquisition for Grayscale Camera Link Area Scan Cameras in Medium Configuration Mode on marathon VCL

Figure 213. Basic Acquisition for Grayscale Camera Link Area Scan Cameras in Medium Configuration Mode on marathon VCL


RGB Camera Link Medium Area

Please find the example "MediumAreaRGB36.va" for 36 bit input bit depth for acquisition with a camera in Camera Link medium configuration under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Area.

Basic Acquisition for RGB Camera Link Area Scan Cameras in Base Configuration Mode on marathon VCL

Figure 214. Basic Acquisition for RGB Camera Link Area Scan Cameras in Base Configuration Mode on marathon VCL


Camera Link Full Area

For the marathon frame grabber the usage of an area scan camera in full configuration mode is simple. The following figure shows the usage. Ensure to set the VALT_IMAGE2D image protocol in the link properties. You can find the examples "FullAreaGray8.va" and "FullAreaGray10.va" for 8 and 10 bit pixel depth under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Area.

Basic Acquisition Design for marathon VCL Frame Grabber for Camera Link Area Scan Cameras in Full Configuration Mode

Figure 215. Basic Acquisition Design for marathon VCL Frame Grabber for Camera Link Area Scan Cameras in Full Configuration Mode


Camera Link Line Scan Cameras

The acquisition for line scan cameras always requires the cut of the camera lines into images of a specific height. In detail, line scan cameras transfer line by line to the frame grabber. The transfer of data from the frame grabber to the PC is required to be send in packages i.e. frames. Therefore, the lines from line scan cameras have to be assembled into an image of a specific height. There exist numerous possibilities to specify the height. One simple possibility is to accumulate a specific number of lines to form an image, or the image height is determined by other dynamic sources such as external image trigger gate signals. The following example converts the line data from camera to 2D image data in SplitImage. Ensure to set the image protocol output of the camera operator to VALT_LINE1D. The examples are for grayscale cameras for Camera Link base and full configuration mode. Please adapt the example design for RGB cameras and Camera Link medium configuration equivalently.

Grayscale Camera Link Base Line Scan Cameras

The examples "BaseLineGray8.va", "DualBaseLineGray8.va" and "BaseLineGray12.va" for 8 bit and 12 bit pixel depth are basic acquisition designs for greyscale line cameras in Camera Link base configuration mode. The design "DualBaseLineGray8.va" is a dual process design. Please read for information purpose under Device Resources the concept of shared memory on the microEnable 5 marathon platforms. You can find the examples under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Line.

Basic Acquisition Design for marathon Frame Grabber for Grayscale Camera Link Line Scan Cameras in Base Configuration Mode

Figure 216. Basic Acquisition Design for marathon Frame Grabber for Grayscale Camera Link Line Scan Cameras in Base Configuration Mode


For the marathon frame grabbers we use TrgBoxLine. Ensure to set the image protocol output of the camera operator to VALT_LINE1D.

RGB Camera Link Base Line Scan Cameras

You find the examples "BaseLineRGB24.va" and "DualBaseLineRGB24.va" for 24 bit pixel depth (8 bits per color component) for acquisition with RGB line cameras in Camera Link base configuration mode under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Line. They are equivalent to the grayscale line scan acquisition design (see section ). Please read in section Device Resources the concept of shared memory on the microEnable 5 marathon platforms. This information is highly relevant for multiple process designs (e.g. "DualBaseLineRGB24.va") or designs which use multiple DRAM elements.

Basic Acquisition Design for marathon Frame Grabber for RGB Camera Link Line Scan Cameras in Base Configuration Mode

Figure 217. Basic Acquisition Design for marathon Frame Grabber for RGB Camera Link Line Scan Cameras in Base Configuration Mode


Grayscale Camera Link Medium Line Scan Cameras

The examples "MediumLineGray8.va" and "MediumLineGray12.va" for 8 bit and 12 bit pixel depth are basic acquisition designs for greyscale line cameras in Camera Link medium configuration mode. They are equivalent to the designs for base configuration but allow a higher data rate. You can find the examples under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Line.

Basic Acquisition Design for marathon Frame Grabber for Grayscale Camera Link Line Scan Cameras in Base Configuration Mode

Figure 218. Basic Acquisition Design for marathon Frame Grabber for Grayscale Camera Link Line Scan Cameras in Base Configuration Mode


RGB Camera Link Medium Line Scan Cameras

You find the example "MediumLineRGB36.va" for 36 bit pixel depth (12 bits per color component) for acquisition with RGB line scan cameras in Camera Link medium configuration mode under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Line. It is equivalent to the grayscale line scan acquisition designs (see section ).

Basic Acquisition Design for marathon Frame Grabber for RGB Camera Link Line Scan Cameras in Base Configuration Mode

Figure 219. Basic Acquisition Design for marathon Frame Grabber for RGB Camera Link Line Scan Cameras in Base Configuration Mode


Grayscale Camera Link Full Line Scan Cameras

You can find the Camera Link full line scan acquisition design examples "FullLineGray8.va" and "FullLineGray10.va" for 8 bit and 10 bit pixel depth under \examples\Acquisition\BasicAcquisition\mE5-MA-VCL\Line\FullLineGray8.va. If you want to perform RGB image acquisition instead of grayscale, simply replace the operator "FullGrayCamera" by the operator "FullRgbCamera".

Basic Acquisition for marathon Frame Grabber for Camera Link Line Scan Cameras in Full Configuration Mode

Figure 220. Basic Acquisition for marathon Frame Grabber for Camera Link Line Scan Cameras in Full Configuration Mode