116 / 172
Copyright © 2019 Toshiba Teli Corpotration, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4289451A
GenICam function API
Control TimerControl using GenICam API.
TimerDelay/TimerDuration/TimerTriggerSource
1. Sets the delay of Timer0Active signal by ‘TimerDelay’.
2. Sets the duration of Timer0Active signal by ‘TimerDuration’.
3. Selects the source of Timer0Active pulse to start by ‘TimerTriggerSource’.
Integer value and string value of Enumeration are as follows.
Integer
String
Description
0
Off
DisablesTimer0Active signal.
32
Line0
Starts when Line0 is active.
104
FrameTrigger Starts with the reception of the Frame Start Trigger.
124
ExposureStart Starts with the reception of the Exposure Start
// GenICam node handle
CAM_NODE_HANDLE hDelay = NULL;
CAM_NODE_HANDLE hDuration = NULL;
CAM_NODE_HANDLE hSource = NULL;
// TimerDelay = 1000.0[us], TimerDuration = 2000.0[us]
float64_t dDelay = 1000.0;
float64_t dDuration = 2000.0;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "TimerDelay", &hDelay);
Nd_GetNode(s_hCam, "TimerDuration", &hDuration);
Nd_GetNode(s_hCam, "TimerTriggerSource", &hSource);
// 1.Sets the delay of Timer0Active signal.
Nd_SetFloatValue(s_hCam, hDelay, dDelay);
// 2.Sets the dulation of Timer0Active signal.
Nd_SetFloatValue(s_hCam, hDuration, dDuration);
// 3.Selects the source of Timer0Active pulse to start.
Nd_SetEnumStrValue(s_hCam, hSource, "ExposureStart");
Please refer to [INode functions], [IFloat node functions] and [IEnumeration node functions] in
[TeliCamAPI Library manual] for more detail.