Please enable JavaScript to view this site.

IDS peak 2.15.0 / uEye+ firmware 3.54

Controls the digital black level for the selected bit depth. The DigitalShift is an offset that applies to all pixel values. Changing the PixelFormat to a different bit depth, the value and range of DigitalShift will be adapted to the new format automatically.

hint_info

This feature is currently only available for the following models:

GV-77U5WP

GV-77Q5WP

GV-77S5WP

Name

DigitalShift[Digital Shift Selector]

Category

DigitalImageControl

Interface

Float

Access

Read/Write

Unit

DN

Visibility

Expert

Values

12-bit: 0…260, increment: 1

10-bit: 0…65, increment: 0.25

8-bit: 0…16.25, increment: 0.0625

Standard

IDS

Availability uEye+

icon-gev

Availability uEye

-

Values description

The default value is "0" for all pixel formats.

Code example

C++

// Before accessing DigitalShift, make sure PixelFormat is set correctly
// Set PixelFormat to "Mono8"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("PixelFormat")->SetCurrentEntry("Mono8");
// Determine the current DigitalShift
double value = nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("DigitalShift")->Value();
// Set DigitalShift to 1.0
nodeMapRemoteDevice->FindNode<peak::core::nodes::FloatNode>("DigitalShift")->SetValue(1.0);

C#

// Before accessing DigitalShift, make sure PixelFormat is set correctly
// Set PixelFormat to "Mono8"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("PixelFormat").SetCurrentEntry("Mono8");
// Determine the current DigitalShift
double value = nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("DigitalShift").Value();
// Set DigitalShift to 1.0
nodeMapRemoteDevice.FindNode<peak.core.nodes.FloatNode>("DigitalShift").SetValue(1.0);

Python

# Before accessing DigitalShift, make sure PixelFormat is set correctly
# Set PixelFormat to "Mono8" (str)
nodeMapRemoteDevice.FindNode("PixelFormat").SetCurrentEntry("Mono8")
# Determine the current DigitalShift (float)
value = nodeMapRemoteDevice.FindNode("DigitalShift").Value()
# Set DigitalShift to 1.0 (float)
nodeMapRemoteDevice.FindNode("DigitalShift").SetValue(1.0)