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.
This feature is currently only available for the following models: •GV-77U5WP •GV-77Q5WP •GV-77S5WP |
Name |
DigitalShift[Digital Shift Selector] |
Category |
|
Interface |
Float |
Access |
Read/Write |
Unit |
|
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+ |
|
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)