71 / 160
Copyright © 2016-2018 TOSHIBA TELI CORPORATION, All Rights Reserved.
http://www.toshiba-teli.co.jp/en/index.htm
D4259344C
GenICam function API
Control AcquisitionControl using GenICam API.
1. Set the number of frames to transfer in MultiFrame/ImageBuffer mode. (optional)
Get ‘IInteger’ interface handle of ‘AcquisitionFrameCount’ by ‘Nd_GetNode’.
Set AcquisitionFrameCount with IInteger node functions.
(e.g. ‘
Nd_GetIntMin
’, ‘
Nd_GetIntMax
’, ‘
Nd_GetIntValue
’, ‘
Nd_SetIntValue
’)
*If you want to capture image stream continuously, it’s not necessary to set an AcquisitionFrameCount.
2. Select an ‘AcquisitionFrameRate’ setting priority. (optional)
Get ‘IEnumeration’ interface handle of ‘AcquisitionFrameRateEnable’ by ‘Nd_GetNode’.
Set AcquisitionFrameRateEnable with IEnumeration node functions.
(e.g. ‘
Nd_GetEnumIntValue
’, ‘
Nd_SetEnumIntValue
’, ‘
Nd_GetEnumStrValue
’, ‘
Nd_SetEnumStrValue
’)
Integer value and string value of Enumeration are as follows.
Integer
String
0 (*)
False
1
True
* initial factory setting
3. Set frame rate of image stream. (optional)
Get ‘IFloat’ interface handle of ‘AcquisitionFrameRate’ or ‘AcquisitionFrameInterval’ by
‘Nd_GetNode’.
Set AcquisitionFrameRate or AcquisitionFrameInterval with IFloat node functions.
‘AquisitionFrameInterval’ is a reciprocal of ‘AcquisitionFrameRate’.
(e.g. ‘
Nd_GetFloatMin
’, ‘
Nd_GetFloatMax
’, ‘
Nd_GetFloatValue
’, ‘
Nd_SetFloatValue
’)
4. Capture image stream.
TeliCamAPI provides streaming functions including command handling and buffer handling to
capture image stream simply.
Please refer to [Camera streaming functions] in [TeliCamAPI Library manual]
and [GrabStreamSimple] sample code in your TeliCamSDK install folder.
Register access API
Control AcquisitionControl by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
1. Set the number of frames to transfer in MultiFrame/ImageBuffer mode. (optional)
Write to ‘Value’ field of ‘AcquisitionFrameCount’ register to control AcquisitionFrameCount.