IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Sets the delay to apply at the reception of a TimerTriggerSource signal before starting the timer.
Name |
TimerDelay[TimerSelector] |
Category |
|
Interface |
Float |
Access |
Read/Write |
Unit |
µs |
Visibility |
Expert |
Values |
0 ... 16777215 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Code example
C++
// Before accessing TimerDelay, make sure TimerSelector is set correctly
// Set TimerSelector to "Timer0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("TimerSelector")->SetCurrentEntry("Timer0");
// Determine the current TimerDelay
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("TimerDelay")->Value();
// Set TimerDelay to 0.0 us
nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("TimerDelay")->SetValue(0.0);
C#
// Before accessing TimerDelay, make sure TimerSelector is set correctly
// Set TimerSelector to "Timer0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("TimerSelector").SetCurrentEntry("Timer0");
// Determine the current TimerDelay
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("TimerDelay").Value();
// Set TimerDelay to 0.0 us
nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("TimerDelay").SetValue(0.0);
Python
# Before accessing TimerDelay, make sure TimerSelector is set correctly
# Set TimerSelector to "Timer0" (str)
nodeMapRemoteDevice.FindNode("TimerSelector").SetCurrentEntry("Timer0")
# Determine the current TimerDelay (float)
value = nodeMapRemoteDevice.FindNode("TimerDelay").Value()
# Set TimerDelay to 0.0 us (float)
nodeMapRemoteDevice.FindNode("TimerDelay").SetValue(0.0)