40 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
● Control with TeliCamSDK
Camera feature API
Control ImageFormat using dedicated API.
API name
Description
GetCamImageFormatSelector
Get current ImageFormatSelector value
SetCamImageFormatSelector
Set new ImageFormatSelector value
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control ImageFormat using GenICam API.
ImageFormat
Select an image format by
‘ImageFormatSelector’.
Integer value and string value of Enumeration are as follows.
Integer
String
0(*)
Format0
1
Format1
2
Format2
* initial factory setting
// GenICam node handle
CAM_NODE_HANDLE hSelector = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "ImageFormatSelector", &hSelector);
// ImageFormat = Format2
Nd_SetEnumStrValue(s_hCam, hSelector, "Format2");
Please refer to [INode functions], [IEnumeration node functions] in [TeliCamAPI Library manual] for
more detail.