71 / 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 TestPattern using dedicated API.
API name
Description
GetCamTestPattern
Get current TestPattern value
SetCamTestPattern
Set new TestPattern value
Please refer to [Controlling camera feature functions] in [TeliCamAPI Library manual] for more detail.
GenICam function API
Control TestPattern using GenICam API.
TestPattern
Select a test pattern.
Integer value and string value of Enumeration are as follows.
Integer
String
Function
0 (*)
Off (*)
Test pattern disable(Normal data output)
1
Black
All pixel = 0 LSB
2
White
All pixel = 255 @Mono8
3
GreyA
All pixel = 170 @Mono8
4
GreyB
All pixel = 85 @Mono8
5
GreyHorizontalRamp
Horizontal Ramp
6
GreyScale
Grey scale (B/W model only)
7
ColorBar
Color bars (Color model only)
8
GreyVerticalRamp
Vertical Ramp
* initial factory setting
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "TestPattern", & hNode);
// 1.Select a test pattern.
Nd_SetEnumStrValue(s_hCam, hNode, "GreyHorizontalRamp");
Please refer to [INode functions], [IEnumeration node functions] in [TeliCamAPI Library manual] for
more detail.