148 / 172
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4289451A
● Control with TeliCamSDK
GenICam function API
Control FrameSynchronization using GenICam API.
FrameSynchronization
Select a frame synchronization method.
Integer value and string value of Enumeration are as follows.
Integer
String
Description
0
Off
Internal synchronization
1
Bus
Bus synchronization
// GenICam node handle
CAM_NODE_HANDLE hNode = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, “FrameSynchronization”, &hNode);
// Select a frame synchronization method
Nd_SetEnumStrValue(s_hCam, hNode, "Bus");
Please refer to [INode functions], [IEnumeration node functions] in [TeliCamAPI Library manual] for
more detail.
Register access API
Control FrameSynchronization by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
FrameSynchronization
Write to ‘Value’ field of ‘FrameSynchronization register.
// Select a frame synchronization method
uint32_t dat = 1;
Cam_WriteReg(s_hCam, 0x21F03C, 1, &dat); // Bus Sync mode
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.