96 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
ExposureAuto
Selects an exposure time mode by
‘ExposureAuto’
Integer value and string value of Enumeration are as follows.
Integer
String
Description
0
DeviceSpecific
Operates NoSpecify mode.
1(*)
Off
Operates Manual mode.
2
Auto
Operates Auto mode.
* initial factory setting
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "ExposureAuto", &hNode);
// Set ExposureAuto = "Auto"
Nd_SetEnumStrValue(s_hCam, hNode, "Auto");
Please refer to [INode functions], [IFloat node functions] and [IEnumeration node functions] in
[TeliCamAPI Library manual] for more detail.
Register access API
Control Gain by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
ExposureTime
Write to
‘Value’ field of ‘ExposureTime’ register.
// ExposureTime = 1000us (Raw value = 60000)
uint32_t uiExposureTimeRaw = 60000;
// Set ExposureTime Value
Cam_WriteReg(s_hCam, 0x20403C, 1, &uiExposureTimeRaw);
ExposureAuto
Write to
‘Control’ field of ‘ExposureTime’ register to control ExposureAuto.
// ExposureAuto = "Auto"
uint32_t uiExposureAuto = 2;
// Set ExposureAuto = "Auto"
Cam_WriteReg(s_hCam, 0x204028, 1, &uiExposureAuto);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.