Please enable JavaScript to view this site.

IDS peak 2.15.0 / uEye+ firmware 3.54

Returns the number of times the selected event has occurred. The corresponding event is defined in PtpStatisticsSelector.

Name

PtpStatisticsValue[PtpStatisticsSelector]

Category

PtpControl

Interface

Integer

Access

Read

Unit

-

Visibility

Guru

Values

-

Standard

IDS

Availability uEye+

icon-gev

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()