Toshiba teli BU1207MG Instruction Manual page 148

Cmos camera
Table of Contents

Advertisement

● Control with TeliCamSDK
Camera feature API
Control ExposureTime using dedicated API.
GetCamChunkModeActive
SetCamChunkModeActive
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 © 2020 Toshiba Teli Corporation, All rights reserved.
API name
Get current statusof chunk data output mode
147 / 161
Description
Set chunk data output mode
http://www.toshiba-teli.co.jp/en/index.htm
D4279014C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bu seriesBu1207mcgBu1207mcf

Table of Contents