Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

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

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

© 2024 IDS Imaging Development Systems GmbH