150 / 172
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4289451A
● Control with TeliCamSDK
GenICam function API
Control LED indicator luminance using GenICam API.
LEDIndicatorLuminance
Use ‘IFloat’ interface to control LED indicator luminance.
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// luminance = 50[%]
// actual value (4/7)*100 = 57.14[%]
float64_t dLuminance = 50.0;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "LEDIndicatorLuminance", &hNode);
// Set LED indicator luminance Value
Nd_SetFloatValue(s_hCam, hNode, dLuminance);
Please refer to [INode functions], [IFloat node functions] in [TeliCamAPI Library manual] for more detail.
Register access API
Control LED indicator luminance by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
LEDIndicatorLuminance
Write to ‘Value’ field of ‘LEDIndicatorLuminance’ register.
// luminance = 50[%] (Raw value = 4)
// actual value (4/7)*100 = 57.14[%]
uint32_t uiLuminanceRaw = 4;
// Set LED indicator luminance Value
Cam_WriteReg(s_hCam, 0x21F11C, 1, &uiLuminanceRaw);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum/Maximum Value
LEDIndicatorLuminance
Raw Value
Absolute (Float) Value
Minimum
0
0.00 [%]
Maximum
7
100.00 [%]
Initial Value
7
100.00 [%]
Formula
Absolute Value [%] = Raw Value / 7