Toshiba teli DDU Series Instruction Manual page 159

Cmos camera
Table of Contents

Advertisement

● Control with TeliCamSDK
Camera feature API
Control ExposureTime using dedicated API.
GetCamChunkModeActive
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control Chunk using GenICam API.
 Chunk
1. Close image stream.
2. Sets the activation of Chunk feature by 'ChunkModeActive'.
3. Sets the activation of Chunk data by 'ChunkSelector' and 'ChunkEnable'.
Most of the Chunk data has been fixed to output.
4. Sets the user string to 'ChunkUserAreaTable'. (optional)
5. Open image stream.
6. Capture image stream.
TeliCamAPI provides streaming functions including command handling and buffer handling to
capture image stream simply.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual]
and [GrabStreamSimple] sample code in your TeliCamSDK install folder.
7. Extract Chunk data using GenICam API.
7-1. Allocate memory by 'Chunk_AttachedBuffer' .
7-2. Read Chunk data.
// GenICam node handle
CAM_NODE_HANDLE hMode = NULL;
CAM_NODE_HANDLE hSelector = NULL;
CAM_NODE_HANDLE hEnable = NULL;
CAM_NODE_HANDLE hFrameID = NULL;
CAM_NODE_HANDLE hExposureTime = NULL;
CAM_NODE_HANDLE hUserAreaTable = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "ChunkModeActive", &hMode);
Nd_GetNode(s_hCam, "ChunkSelector", &hSelector);
Nd_GetNode(s_hCam, "ChunkEnable", &hEnable);
Nd_GetNode(s_hCam, "ChunkFrameID", & hFrameID);
Nd_GetNode(s_hCam, "ChunkExposureTime", &hExposureTime);
Nd_GetNode(s_hCam, "ChunkUserAreaTable", &hUserAreaTable);
// 2.Activate ChunkModeActive
Nd_SetBoolValue(s_hCam, hMode, true);
//3.Enable ChunkSelector
Nd_SetEnumStrValue(s_hCam, hSelector, "ExposureTime");
Nd_SetBoolValue(s_hCam, hEnable, true);
Nd_SetEnumStrValue(s_hCam, hSelector, " UserArea");
Nd_SetBoolValue(s_hCam, hEnable, true);
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
API name
SetCamChunkModeActive
Description
Get current statusof chunk data output mode
Set chunk data output mode
158 / 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