Meaning of start_addr[] in ACQUIRE_DEF_T structure

mvCAM3, mvCAM4, mvDELTA, mvGAMMA-G, mvSIGMA-SLC, mvSIGMA-SLG, mvSIGMA-SQ, mvTITAN-C16, mvTITAN-C8, mvTITAN-CL, mvTITAN-DIG, mvTITAN-G1, mvTITAN-RGB/G4, pcIMAGE-SC, pcIMAGE-SDIG, pcIMAGE-SG/SGVS, pcIMAGE-SRGB

The element start_addr[] defines where the image data is stored in the DMA buffer.
With interlaced signals start_addr[0] defines the startposition off the first field and start_addr[1] the position of the second field. With noninterlaced signals it is enough to define only start_addr[0].
The position is a relative offset to the beginning of the DMA buffer. The image data of the following image acquisition is stored right after this position. The offset is defined in Bytes.
The function mvGetRowAdr() considers the offset setting and returns with mvGetRowAdr(dev,0,0) the pointer to the beginning of the image which is located at this position and not to the beginning of the DMA buffer.
An other method to define this offset is the element ypos[] of the ACQUIRE_DEF_T structure. The following image is also stored at this offset position but mvGetRowAdr(dev,0,0) now returns the pointer to the beginning of the offset defined with start_addr[].
The usage of start_addr[] and ypos[] is useful with double and ring buffer methods to define where to store the single images. If it is not planned to use such a method nothing no offset must be set. The default settings point to the beginning of the DMA buffer.

Note:
If the bit 0x80000000 (represented by the constant: DISPLAY_ADDR_FLAG) the image data is stored in the graphics card"s memory and not in the DMA buffer. For using this the graphics card must support this method and the suitable color mode must be set.

Back