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