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 |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
True |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•True: Activates all PTP functionalities of the camera.
•False: Deactivates all PTP functionalities of the camera.
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)