77 / 172
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4289451A
GenICam function API
This API controls AcquisitionControl using GenICam.
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 ‘AcquisitionFrameRateControl’ by ‘Nd_GetNode’.
Set AcquisitionFrameRateControl 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(*)
NoSpecify
1
Manual
* 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.