Toshiba teli DDU Series Instruction Manual page 161

Cmos camera
Table of Contents

Advertisement

7. Extract Chunk data using GenICam API.
// 2.Activate ChunkModeActive
int32_t active = 1;
Cam_WriteReg(s_hCam, 0x21D030,1, &active);
// 3.Enable Chunk
int32_t cat4 = 5;
Cam_WriteReg(s_hCam, 0x21D0F0,1, &cat4);
// 5.6.Open and capture image
Strm_ReadCurrentImage(hStrm, pvPayloadBuf, &uiPyldSize, &sImageInfo);
// 7-1. Attach Buffer
Chunk_AttachBuffer(s_hStrm, pvPayloadBuf, PyldSize)
// 7-2.Get FrameID of Chunk data.
int64_t fid= 0;
Nd_GetIntValue(s_hCam, hFID, &fid);
// 7-2.Get Exposure Time of Chunk data.
float64_t exptime = 0;
Nd_GetFloatValue(s_hCam, hExposureTime, &exptime);
// 7-2.Get User Area data of Chunk data.
char userarea[256];
uint32_t uiSize = 256;
Nd_GetStrValue(s_hCam, hUserAreaTable, &userarea, &uiSize);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
160 / 172
D4289451A
http://www.toshiba-teli.co.jp/en/

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ddu1207m seriesDdu1207mgDdu1207mcgDdu1207mcf

Table of Contents