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.

Enables the Precision Time Protocol (PTP).

Name

PtpEnable

Category

PtpControl

Interface

Boolean

Access

Read/Write

Unit

-

Visibility

Expert

Values

True
False

Standard

SFNC

Availability uEye+

icon-gev

Availability uEye

-

Values description

True: Activates all PTP functionalities of the camera.

False: Deactivates all PTP functionalities of the camera.

hint_info

When enabling PTP, a slave-only camera changes its PtpStatus to "Listening". To ensure synchronised timestamps the image acquisition cannot be started while the camera is not in slave or master state.

The access of PtpEnable changes to read-only when Signal Multiplier is active (SignalMultiplierEnable = "True") and PTP is disabled (PtpEnable = "False").

Code example

C++

// Determine the current status of PtpEnable
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("PtpEnable")->Value();
// Set PtpEnable to false
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("PtpEnable")->SetValue(false);

C#

// Determine the current status of PtpEnable
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("PtpEnable").Value();
// Set PtpEnable to false
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("PtpEnable").SetValue(false);

Python

# Determine the current status of PtpEnable (bool)
value = nodeMapRemoteDevice.FindNode("PtpEnable").Value()
# Set PtpEnable to false (bool)
nodeMapRemoteDevice.FindNode("PtpEnable").SetValue(False)

© 2024 IDS Imaging Development Systems GmbH