IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Returns the number of times the selected event has occurred. The corresponding event is defined in PtpStatisticsSelector.
Name |
PtpStatisticsValue[PtpStatisticsSelector] |
Category |
|
Interface |
Integer |
Access |
Read |
Unit |
- |
Visibility |
Guru |
Values |
- |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Code example
C++
// Before accessing PtpStatisticsValue, make sure PtpStatisticsSelector is set correctly
// Set PtpStatisticsSelector to "SynchronizationCounter"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PtpStatisticsSelector")->SetCurrentEntry("SynchronizationCounter");
// Determine the current PtpStatisticsValue
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("PtpStatisticsValue")->Value();
C#
// Before accessing PtpStatisticsValue, make sure PtpStatisticsSelector is set correctly
// Set PtpStatisticsSelector to "SynchronizationCounter"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PtpStatisticsSelector").SetCurrentEntry("SynchronizationCounter");
// Determine the current PtpStatisticsValue
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("PtpStatisticsValue").Value();
Python
# Before accessing PtpStatisticsValue, make sure PtpStatisticsSelector is set correctly
# Set PtpStatisticsSelector to "SynchronizationCounter" (str)
nodeMapRemoteDevice.FindNode("PtpStatisticsSelector").SetCurrentEntry("SynchronizationCounter")
# Determine the current PtpStatisticsValue (int)
value = nodeMapRemoteDevice.FindNode("PtpStatisticsValue").Value()