IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Defines whether the sub-region corresponds to the ROI or is only a part of the ROI.
Name |
SubRegionFollowSource[SubRegionSelector] |
Category |
|
Interface |
Boolean |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
True False |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•True: The sub-region covers the region selected in SubRegionSourceSelector.
•False: The sub-region can be limited to a ROI relative to the region selected in SubRegionSourceSelector.
Code example
C++
// Before accessing SubRegionFollowSource, make sure SubRegionSelector is set correctly
// Set SubRegionSelector to "AutoFeatureBrightnessAuto"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("SubRegionSelector")->SetCurrentEntry("AutoFeatureBrightnessAuto");
// Determine the current status of SubRegionFollowSource
bool value = nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("SubRegionFollowSource")->Value();
// Set SubRegionFollowSource to true
nodeMapRemoteDevice->FindNode<peak::core::nodes::BooleanNode>("SubRegionFollowSource")->SetValue(true);
C#
// Before accessing SubRegionFollowSource, make sure SubRegionSelector is set correctly
// Set SubRegionSelector to "AutoFeatureBrightnessAuto"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("SubRegionSelector").SetCurrentEntry("AutoFeatureBrightnessAuto");
// Determine the current status of SubRegionFollowSource
bool value = nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("SubRegionFollowSource").Value();
// Set SubRegionFollowSource to true
nodeMapRemoteDevice.FindNode<peak.core.nodes.BooleanNode>("SubRegionFollowSource").SetValue(true);
Python
# Before accessing SubRegionFollowSource, make sure SubRegionSelector is set correctly
# Set SubRegionSelector to "AutoFeatureBrightnessAuto" (str)
nodeMapRemoteDevice.FindNode("SubRegionSelector").SetCurrentEntry("AutoFeatureBrightnessAuto")
# Determine the current status of SubRegionFollowSource (bool)
value = nodeMapRemoteDevice.FindNode("SubRegionFollowSource").Value()
# Set SubRegionFollowSource to true (bool)
nodeMapRemoteDevice.FindNode("SubRegionFollowSource").SetValue(True)