IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Defines which binning engine is controlled by the BinningHorizontal and BinningVertical features.
Name |
BinningSelector |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
Sensor Region0 uEye |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
|
Values description
•Sensor: Selected features control the sensor binning. This feature is only supported by uEye+ cameras (GV and U3 models).
•Region0: Selected features control region 0 binning (FPGA binning). The sensor speed does not increase with Region0 binning. This feature is only supported by uEye+ cameras (GV and U3 models).
•uEye: Selected features control the uEye binning. The binning method depends on the respective uEye camera. This feature is only supported by uEye cameras (UI models).
Code example
C++
// Determine the current entry of BinningSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("BinningSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of BinningSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("BinningSelector")->Entries();
std::vector<std::shared_ptr<peak::core::nodes::EnumerationEntryNode>> availableEntries;
for(const auto & entry : allEntries)
{
if ((entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotAvailable)
&& (entry->AccessStatus()!=peak::core::nodes::NodeAccessStatus::NotImplemented))
{
availableEntries.emplace_back(entry);
}
}
// Set BinningSelector to "Region0"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("BinningSelector")->SetCurrentEntry("Region0");
C#
// Determine the current entry of BinningSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("BinningSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of BinningSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("BinningSelector").Entries();
List<string> availableEntries = new List<string>();
for(int i = 0; i < allEntries.Count(); ++i)
{
if ((allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotAvailable)
&& (allEntries[i].AccessStatus() != peak.core.nodes.NodeAccessStatus.NotImplemented))
{
availableEntries.Add(allEntries[i].SymbolicValue());
}
}
// Set BinningSelector to "Region0"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("BinningSelector").SetCurrentEntry("Region0");
Python
# Determine the current entry of BinningSelector (str)
value = nodeMapRemoteDevice.FindNode("BinningSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of BinningSelector
allEntries = nodeMapRemoteDevice.FindNode("BinningSelector").Entries()
availableEntries = []
for entry in allEntries:
if (entry.AccessStatus() != ids_peak.NodeAccessStatus_NotAvailable
and entry.AccessStatus() != ids_peak.NodeAccessStatus_NotImplemented):
availableEntries.append(entry.SymbolicValue())
# Set BinningSelector to "Region0" (str)
nodeMapRemoteDevice.FindNode("BinningSelector").SetCurrentEntry("Region0")