IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Controls if the camera may only be used as a slave or can become a master.
Name |
PtpSlaveOnly |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Guru |
Values |
True False |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•True: The camera is only used as a slave.
•False: The camera can become a PTP master device.
Code example
C++
// Determine the current status of PtpSlaveOnly
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("PtpSlaveOnly")->Value();
// Set PtpSlaveOnly to true
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("PtpSlaveOnly")->SetValue(true);
C#
// Determine the current status of PtpSlaveOnly
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("PtpSlaveOnly").Value();
// Set PtpSlaveOnly to true
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("PtpSlaveOnly").SetValue(true);
Python
# Determine the current status of PtpSlaveOnly (bool)
value = nodeMapRemoteDevice.FindNode("PtpSlaveOnly").Value()
# Set PtpSlaveOnly to true (bool)
nodeMapRemoteDevice.FindNode("PtpSlaveOnly").SetValue(True)