121 / 177
Copyright © 2018 - 2020 Toshiba Teli Corporation, All rights reserved.
https://www.toshiba-teli.co.jp/en/
DAA00195C
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
Gain
Write to ‘Value’ field of ‘Gain’ register.
// Gain = 6.0dB (Raw value = 60)
uint32_t uiGainRaw = 60;
// Set Gain Value
Cam_WriteReg(s_hCam, 0x20407C, 1, &uiGainRaw);
GainAuto
Write to ‘Control’ field of ‘Gain’ register.
// GainAuto = “
Continuous
”
uint32_t uiGainAuto = 2;
// Set GainAuto = “
Continuous
”
Cam_WriteReg(s_hCam, 0x204068, 1, &uiGainAuto);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum/Maximum Value
Gain
Ver.4.0.8 or earlier
Ver.4.1.0 or later
Minimum
Raw Value
0
0
Absolute (Float) Value
0.00 [dB]
0.00 [dB]
Maximum
Raw Value
240
360
Absolute (Float) Value
24.00 [dB]
36.00 [dB]
Initial Value
Raw Value
0
0
Absolute (Float) Value
0.00 [dB]
0.00 [dB]
Formula
Absolute Value [dB] = Raw Value / 10
● Note
- In GainAuto mode, current Gain will be reflected to Gain value register.
- Range of gain setting at GainAuto mode is 0 to +24dB.