IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Reads the value of the selected counter at the time of its reset by the CounterResetSource or by the CounterReset command. CounterValueAtReset represents the last counter value latched before resetting the counter.
Name |
CounterValueAtReset[CounterSelector] |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
≥ 0 |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Code example
C++
// Before accessing CounterValueAtReset, make sure CounterSelector is set correctly
// Set CounterSelector to "Counter0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("CounterSelector")->SetCurrentEntry("Counter0");
// Determine the current CounterValueAtReset
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("CounterValueAtReset")->Value();
C#
// Before accessing CounterValueAtReset, make sure CounterSelector is set correctly
// Set CounterSelector to "Counter0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("CounterSelector").SetCurrentEntry("Counter0");
// Determine the current CounterValueAtReset
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("CounterValueAtReset").Value();
Python
# Before accessing CounterValueAtReset, make sure CounterSelector is set correctly
# Set CounterSelector to "Counter0" (str)
nodeMapRemoteDevice.FindNode("CounterSelector").SetCurrentEntry("Counter0")
# Determine the current CounterValueAtReset (int)
value = nodeMapRemoteDevice.FindNode("CounterValueAtReset").Value()