96 / 177
Copyright © 2018 - 2020 Toshiba Teli Corporation, All rights reserved.
https://www.toshiba-teli.co.jp/en/
DAA00195C
● Control with TeliCamSDK
Camera feature API
Control ExposureTime using dedicated API.
API name
Description
GetCamExposureTimeMinMax
Get minimum and maximum value
GetCamExposureTime
Get current ExposureTime value
SetCamExposureTime
Set new ExposureTime value
GetCamExposureTimeControl
Get current ExposureTime mode
SetCamExposureTimeControl
Set new ExposureTime mode
GetCamShortExposureMode
Get current ShortExposureMode
SetCamShortExposureMode
Set new ShortExposureMode
ExposureTimeControl parameter
Description
CAM_EXPOSURE_TIME_CONTROL_NO_SPECIFY
NoSpecify
CAM_EXPOSURE_TIME_CONTROL_MANUAL
Manual
CAM_EXPOSURE_TIME_CONTROL_AUT
Auto
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control ExposureTime using GenICam API.
ExposureTime
Sets an exposure time by ‘ExposureTime’
// GenICam node handle
CAM_NODE_HANDLE hMode = NULL;
CAM_NODE_HANDLE hSelector = NULL;
CAM_NODE_HANDLE hSource = NULL;
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// ExposureTime = 1000us
float64_t dExposureTime = 1000.0;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "ExposureTime", &hNode);
// Set ExposureTime Value
Nd_SetFloatValue(s_hCam, hNode, dExposureTime);