IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Selects which chunk to enable or control.
Name |
ChunkSelector |
Category |
|
Interface |
Enumeration |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
OffsetX OffsetY Width Height PixelFormat Timestamp LineStatusAll CounterValue ExposureTime Gain SequencerSetActive ExposureTriggerTimestamp PtpStatus BrightnessAutoStatus BalanceWhiteAutoStatus |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
Values description
•OffsetX: Selects OffsetX as chunk.
•OffsetY: Selects OffsetY as chunk.
•Width: Selects Width as chunk.
•Height: Selects Height as chunk.
•PixelFormat: Selects PixelFormat as chunk.
•Timestamp: Selects the timestamp as chunk. The timestamp represents the time of the FrameStart internal event.
•LineStatusAll: Selects LineStatusAll as chunk.
•CounterValue: Selects CounterValue as chunk.
•ExposureTime: Selects the ExposureTime as chunk.
•Gain: Selects Gain as chunk.
•SequencerSetActive: Selects the SequencerSetActive as chunk.
•ExposureTriggerTimestamp: Selects the exposure trigger timestamp as chunk.
•PtpStatus: Selects PtpStatus as chunk.
•BrightnessAutoStatus: Selects BrightnessAutoStatus as chunk.
•BalanceWhiteAutoStatus: Selects BalanceWhiteAutoStatus as chunk.
Code example
C++
// Determine the current entry of ChunkSelector
std::string value = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkSelector")->CurrentEntry()->SymbolicValue();
// Get a list of all available entries of ChunkSelector
auto allEntries = nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkSelector")->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 ChunkSelector to "ExposureTriggerTimestamp"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("ChunkSelector")->SetCurrentEntry("ExposureTriggerTimestamp");
C#
// Determine the current entry of ChunkSelector
string value = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkSelector").CurrentEntry().SymbolicValue();
// Get a list of all available entries of ChunkSelector
allEntries = nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkSelector").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 ChunkSelector to "ExposureTriggerTimestamp"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("ChunkSelector").SetCurrentEntry("ExposureTriggerTimestamp");
Python
# Determine the current entry of ChunkSelector (str)
value = nodeMapRemoteDevice.FindNode("ChunkSelector").CurrentEntry().SymbolicValue()
# Get a list of all available entries of ChunkSelector
allEntries = nodeMapRemoteDevice.FindNode("ChunkSelector").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 ChunkSelector to "ExposureTriggerTimestamp" (str)
nodeMapRemoteDevice.FindNode("ChunkSelector").SetCurrentEntry("ExposureTriggerTimestamp")