43 / 160
Copyright © 2016-2018 TOSHIBA TELI CORPORATION, All Rights Reserved.
http://www.toshiba-teli.co.jp/en/index.htm
D4259344C
// 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.
Register access API
Control ImageFormat by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
ImageFormat
Write to ‘Value’ field of ‘ImageFormatSelector’ register.
// ImageFormat = Format2
uint32_t uiSelector;
uiSelector = 2;
Cam_WriteReg(s_hCam, 0x20203C, 1, &uiSelector);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
● Note
- Changing ‘ImageFormatSelector’ register value is invalid during image stream data output.