Please enable JavaScript to view this site.

IDS peak 26.06. / uEye+ firmware 3.94

Controls if the camera may only be used as a slave or can become a master.

Name

PtpSlaveOnly

Category

PtpControl

Interface

Boolean

Access

Read/Write

Unit

-

Visibility

Guru

Values

True

False

Standard

IDS

Availability uEye+

icon-gev

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<IDSImaging.Peak.API.Core.Nodes.BooleanNode>("PtpSlaveOnly").Value();
// Set PtpSlaveOnly to true
nodeMapRemoteDevice.FindNode<IDSImaging.Peak.API.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)