149 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
// GenICam node handle
CAM_NODE_HANDLE hSelector = NULL;
CAM_NODE_HANDLE hSave = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, “UserSetSelector”, &hSelector);
Nd_GetNode(s_hCam, “UserSetSave”, &hSave);
// 1.Select a channel of user setting by
‘UserSetSelector’.
uint64_t dat = 1; // UserSet1
Nd_SetEnumIntValue(s_hCam, hSelector, dat);
// 2. Execute UserSetSave
Nd_CmdExecute(s_hCam, hSave);
bool8_t bDone;
while(1) {
Nd_GetCmdIsDone(s_hCam, hSave, &bDone);
if(bDone == true)
break;
Sleep(0);
}
UserSetDefault
Select a channel of user setting when camera powers up by
‘UserSetDefault’.
Integer value and string value of Enumeration are as follows.
Integer
String
Description
0
Default
Initial factory setting.
1~15
UserSet1~15
Memory channel 1 to 15 for user setting.
// GenICam node handle
CAM_NODE_HANDLE hSelector = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, “UserSetDefault”, &hSelector);
// 1.Select a channel of user setting when camera powers up by
‘UserSetDefault’.
uint64_t dat = 1; // UserSet1
Nd_SetEnumIntValue(s_hCam, hSelector, dat);
Please refer to [INode functions], [IEnumeration node functions] and [ICommand node functions] in
[TeliCamAPI Library manual] for more detail.