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.

FocusStepper controls the steper value of the focus, e. g. ObjectSensorDistance or FocalPower. 0 is the closest focus.

uEye+ XC USB 3: Small values mean that the lens focuses at close range, while great values mean that the lens focuses towards infinity.

uEye+ LE USB 3.1 AF Rev. 1.2: The value "0" means that the lens is not focused. Small values mean that the lens focuses towards infinity, while great values mean that the lens focuses at close range.

Fig. :  Objekt-Sensor-Distanz

Fig. :  Objekt-Sensor-Distanz

Name

FocusStepper[OpticControllerSelector]

Category

OpticControl

Interface

Integer

Access

Read/Write

Unit

-

Visibility

Expert

Values

uEye+ XC USB 3: 0 … 255

uEye+ LE USB 3.1 AF Rev. 1.2: 0 … 1023

Schrittweite: 1

Standard

SFNC

Availability uEye+

icon-gev icon-u3v

Availability uEye

-

Note that FocusStepper is read-only, if FocusAuto is set to "Once" or "Continuous". FocusStepper is writeable, if FocusAuto is set to "Off".

Code example

C++

// Before accessing FocusStepper, make sure OpticControllerSelector is set correctly
// Set OpticControllerSelector to "OpticController0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("OpticControllerSelector")->SetCurrentEntry("OpticController0");
// Determine the current FocusStepper
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("FocusStepper")->Value();
// Set FocusSTepper to 100
nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("FocusStepper")->SetValue(100);

C#

// Before accessing FocusStepper, make sure OpticControllerSelector is set correctly
// Set OpticControllerSelector to "OpticController0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("OpticControllerSelector").SetCurrentEntry("OpticController0");
// Determine the current FocusStepper
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("FocusStepper").Value();
// Set FocusStepper to 100
nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("FocusStepper").SetValue(100);

Python

# Before accessing FocusStepper, make sure OpticControllerSelector is set correctly
# Set OpticControllerSelector to "OpticController0" (str)
nodeMapRemoteDevice.FindNode("OpticControllerSelector").SetCurrentEntry("OpticController0")
# Determine the current FocusStepper (int)
value = nodeMapRemoteDevice.FindNode("FocusStepper").Value()
# Set FocusStepper to 100 (int)
nodeMapRemoteDevice.FindNode("FocusStepper").SetValue(100)

© 2024 IDS Imaging Development Systems GmbH